plotting vectors vertically with matlab
7 ビュー (過去 30 日間)
古いコメントを表示
I've five vectors, that i want to show five vertical line in plot. How can i do? Please. Thank you all.
0 件のコメント
回答 (1 件)
KSSV
2018 年 6 月 27 日
Vec = rand(5,2) ;
N = size(Vec,1) ;
x = zeros(N,1) ;
y = 1:N ;
quiver(x,y,Vec(:,1),Vec(:,2),1)
2 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
