Bode Plot and Corner Frequency
Show older comments
I am trying to figure out how to get the corner frequency to show up on my bode plot or in the command window in matlab but everything i have tried doesn't work or gives me inf. is there any easy way to get the corner frequency (breakpoint) to show on the figure or the command window? here is what i have so far for my code:
w = logspace(-2,4,500);
num1 = [1 1];
den1 = [1];
num2 = [1 2 1];
den2 = [1];
sys1 = tf(num1,den1)
figure(1)
bode(sys1,w)
grid on
hold on
sys2 = tf(num2, den2)
figure(1)
bode(sys2, w, 'r')
grid on
3 Comments
Is your question how to calculate the corner frequencies or how to add markers to the plot to indicate those values? If you're stuck on the graphics end, include your calculations of the corner frequencies in your question, even if they are returning inf values. It will give us a starting point to guide you the rest of the way.
Have you seen this answer?
Star Strider
on 17 Nov 2022
@Adam Danz — Thank you for posting that reference!
Ethan Johnston
on 17 Nov 2022
Accepted Answer
More Answers (0)
Categories
Find more on Time and Frequency Domain Analysis 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!
