Bode Plot and Corner Frequency
Mostrar comentarios más antiguos
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 comentarios
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
el 17 de Nov. de 2022
@Adam Danz — Thank you for posting that reference!
Ethan Johnston
el 17 de Nov. de 2022
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Time and Frequency Domain Analysis en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

