how to plot on the same bode plot a manual function plot() with function bode()?
Mostrar comentarios más antiguos
I have a a transfer function that I plotted manually using Plot(w,abs(f1(w))) and I have another function that I used directly bode(f2(s)). I would like to plot them both in one bode plot?
the
bode()
hold on
plot()
gives errors
Respuesta aceptada
Más respuestas (1)
Rajiv Singh
el 10 de Jun. de 2020
0 votos
You could try:
G = frd(f1(w),w); % assuming f1(w) is a complex numeric vector
bode(G,f2)
Categorías
Más información sobre Filter 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!
