![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/447658/image.jpeg)
2d matrix column plot
1 回表示 (過去 30 日間)
古いコメントを表示
Hi, I'm new to matlab so my question may sound almost stupid.
If I want to select two cloumn from a matrix and plot it on xy plane, how can i do it?
0 件のコメント
回答 (1 件)
Setsuna Yuuki.
2020 年 12 月 6 日
You can make a plot with comand plot():
x(:,1) = 0:pi/100:2*pi;
x(:,2) = sin(x);
plot(x(:,1),x(:,2))
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/447658/image.jpeg)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Formatting and Annotation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!