How to plot the curve?
1 回表示 (過去 30 日間)
古いコメントを表示
採用された回答
Adam
2019 年 8 月 8 日
編集済み: Adam
2019 年 8 月 8 日
R = B ./ ( 1 + k'/2 );
figure; plot( R )
or
R = bsxfun( @rdivide, B, ( 1 + k'/2 ) );
for earlier versions of Matlab that don't support implicit expansion
2 件のコメント
Adam
2019 年 8 月 9 日
plot( k, R )
doc plot
gives details of different ways to parameterise plots.
If you just do
plot( R )
then it just uses indices along the x axis (i,e. 1 to 31 in your case). If you give it both an x and a y then it will plot both.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!