How can I make this graph with the "for" command?
1 view (last 30 days)
Show older comments
Hi everyone. Can someone help ? How can I make this graph with the "for" command in the picture? (This question will be delete)
2 Comments
Accepted Answer
DGM
on 22 Nov 2022
Good gravy it's been forever since I did any of this. Here's a start.
ze = [0 0.2 0.4 0.5 1 1.5];
for k = 1:numel(ze)
% 1/(s^2 + 2*ze*S + 1)
sys = tf(1,[1 2*ze(k) 1]);
stepplot(sys,25)
hold on
end
Needs legend, etc.
More Answers (0)
See Also
Categories
Find more on Legend 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!