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!
