Plotting multiple outputs with varying inputs in same graph
Ältere Kommentare anzeigen
I am trying to plot for multiple values of b on the same graph without for loop, any way to do this?
Code:
m1 = 10; m2 = 350; kw = 5e5; ks = 1e4; b = 2000; s = tf('s');
transfer = (((kw*b)/(m1*m2))*(s+ks/b))/(s^4 + (b/m1 + b/m2)*s^3 + (ks/m1 + ks/m2 + kw/m1)*s^2 + (kw*b/(m1*m2))*s+ (kw*ks)/(m1*m2));
step(transfer);
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Creating, Deleting, and Querying Graphics Objects 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!



