I want to plot a bode in an existing axes but it appears in a new figure

1 visualizzazione (ultimi 30 giorni)
I want to plot a bode in an existing axes but it appears in a new figure

Risposte (1)

Mark Sherstan
Mark Sherstan il 13 Dic 2018
Without knowing your code I am taking a shot in the dark but did you use the hold on and hold off functions? Example is below.
H = tf([1 0.1 7.5],[1 0.12 9 0 0]);
G = tf([1 0.1],[1 9 0 0]);
figure(1)
hold on
bode(H)
bode(G)
hold off

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by