not able to plot
3 ビュー (過去 30 日間)
古いコメントを表示
Lincy Elizebeth Jim
2015 年 6 月 24 日
編集済み: Azzi Abdelmalek
2015 年 6 月 24 日
Hi all I have m=0:2.5:12 which is time axis in seconds and p=0:0.2:1 which is probability
when i do plot(p,m) i get vectors must be of same length
kindly guide me
thanking in advance
lincy
0 件のコメント
採用された回答
Azzi Abdelmalek
2015 年 6 月 24 日
編集済み: Azzi Abdelmalek
2015 年 6 月 24 日
m and p should have the same number of element. To correct this
m=0:2.5:12.5
p=0:0.2:1
plot(m,p)
You can check the size of each vector
size(m)
size(p)
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!