Hi, i got one vector that is 120 rows whilst the other is 60. How can i plot them in the same figure?

 採用された回答

Sara
Sara 2014 年 12 月 24 日

1 投票

with hold on.
figure
plot(x1)
hold on
plot(x2)

2 件のコメント

AA
AA 2014 年 12 月 24 日
What do u mean with hold on ?
Sara
Sara 2014 年 12 月 24 日
It means that matlab keeps plotting on the same figure. Have you tried the script with your vector instead of x1 and x2?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

タグ

質問済み:

AA
2014 年 12 月 24 日

コメント済み:

2014 年 12 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by