how to shade between two discrete time step responses?
4 ビュー (過去 30 日間)
古いコメントを表示
採用された回答
Birdman
2018 年 1 月 23 日
T=0.01;
z=tf('z',T)
s1=tf([1 3 8],[6 9 4.9 0.8]);
s2=tf([2 4 10],[6 9.5 5 0.85],T);
t=0:0.01:3;
[y1,t] = step(s1,t);
[y2,t] = step(s2,t);
fill([t.' fliplr(t.')],[y2.' fliplr(y1.')],'r')
with the above code, you get the plot in attached figure. Hope this helps.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!