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