How to color between two step responses
이전 댓글 표시
I tried so much to fill the area between two step responses using so many functions, but I did not find what I am looking for. Please show any command function
I attached a file Capture.PNG I want to plot same as the attached file.
댓글 수: 1
Jan
2018년 1월 23일
답변 (1개)
Sulaymon Eshkabilov
2019년 5월 19일
Simple solution is this:
Sys1 = tf([1 2], [1 1 300 250]);
Sys2 = tf([1 2], [1 5 300 250]);
t = 0:.01:50;
figure
step(Sys1, t, '-b'), hold on
step(Sys2, t, '-r'), grid on
legend('System 1', 'System 2', 'location', 'best')
카테고리
도움말 센터 및 File Exchange에서 Tuning Goals에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!