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!
