plot vectors head to tail from dataset file

Dear all
I have large dataset X1, Y1, X2, Y2 in txt file.
Where:
X1, Y1 is tail of vector
X2, Y2 is head of vector
How cand i plot all my vector data in a graph by matlab?

답변 (1개)

KSSV
KSSV 2022년 3월 10일

0 개 추천

REad about quiver.
May be you should check with:
quiver(X1,Y1,X2-X1,Y2-Y1)

카테고리

도움말 센터File Exchange에서 Vector Fields에 대해 자세히 알아보기

질문:

2022년 3월 10일

답변:

2022년 3월 10일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by