dear group member
working in matlab simulink, i want to save system response with the ability of editing such as line width, color, etc. of the resulting curve and adding some information such as legend, axes labels and so one, by the way the scope must have two curves as they are outputs come on through a multiplexer i have used the following code after saving the scope to workspase as an array
plot(out(:,1),out(:,2)); grid
the problem is it reads only the first curve the second never came out???? can u advice me
regards,

 채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 10월 8일

0 개 추천

plot(out(:,1))
hold on
Plot(out(:,2))
hold off

추가 답변 (0개)

태그

아직 태그를 입력하지 않았습니다.

질문:

2013년 10월 8일

답변:

2013년 10월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by