bode magnitude producing different plots for the same transfer function
Ältere Kommentare anzeigen
I have transfer function and have manually extracted the magnitude and plotted it. When I used the bodemag function however, the plot looks very different. Im confused as to which one is correct and why they are coming out differently, as I havent applied any unit conversions. For my manual extraction, I have used the following and its produced the plot underneath.
[mag phase] = bode(tf);
Mag = transpose(squeeze(mag));

However, when I use the bodemag(tf) function, I get this:

I dont understand why these reuslts are so different or which one is correct and am looking for some claririfcation.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Classical Control Design finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!