finding the coordinate where imaginary value is zero in nyquist plot

4 views (last 30 days)
Here I have plotted a nyquist plot and I want to find the coordinate where imaginary value is zero but I cant find it because it is very small. Is there any way I can find it specifically the coordinate where imaginary value is zero. I even zoomed it and pin-pointed but the imaginary value wont go to zero but very small values.
thank you for ur time

Answers (1)

Paul
Paul on 30 Nov 2023
The doc page for nyquist shows how to use it to return the real (Re) and imaginary (Im) parts along with the frequency vector (w). That latter two can be used to determine value of w at the zero crossings of Im for w > 0 (not sure if you count w == 0 as a crossing), and that value of w can be used to determine Re. Functions like fsolve and interp1 might be helpful.
Or, you can think about how those crossing points relate to gain or phase margins. Matlab has functions that can compute those as well.

Products


Release

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!