How to plot the vectors having different length

3 ビュー (過去 30 日間)
Rexy
Rexy 2018 年 3 月 23 日
コメント済み: Birdman 2018 年 3 月 23 日
hello, Error using semilogy/plot Vectors must be the same length. how do i plot with different length?

採用された回答

Birdman
Birdman 2018 年 3 月 23 日
Replace the line
semilogy(f,c_1)
with
semilogy(f(1:numel(c_1)),c_1)
  2 件のコメント
Rexy
Rexy 2018 年 3 月 23 日
thanks.
Birdman
Birdman 2018 年 3 月 23 日
You are welcome.

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

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by