plotting 2 vectors of different

2 ビュー (過去 30 日間)
AA
AA 2014 年 12 月 24 日
コメント済み: Sara 2014 年 12 月 24 日
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 日
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 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by