How to programatically get the point of intersection between the unit circle and root locus
11 views (last 30 days)
Show older comments
I know I can use rlocfind and roughly estimate the value of gain by picking the intersection on the plot but I was wondering if I could get the precise value for gain at the point where unit circle intersects with root locus.
0 Comments
Answers (1)
Matt J
on 25 Apr 2015
Edited: Matt J
on 25 Apr 2015
Since you have a good initial estimate (from the plot, as you mentioned), it would make sense to refine that estimate using fminsearch or fzero. I.e., write a function d(K) of the gain K that measures the difference between the modulus of the root and 1. Then find the root of d(K) with fzero or minimize abs(d(K)) with fminsearch.
1 Comment
Matt J
on 26 Apr 2015
Hasan Ghorbani commented:
Thanks Matt.
After posting the question, I realised that I can 'zoom in' my plot as much as I need before running rlocfind . That way I can get a quite good level of precision with my response. The only problem with this approach is that the cursor jumps between Real axis values due to high level of zoom. Is there any way I can chop the Real axis units to be finer values?
See Also
Categories
Find more on Classical Control Design in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!