2D Progressive Vector Diagram

버전 1.1.0.0 (1.71 KB) 작성자: Isaac Mancero Mosquera
Sequential Vector plot. Vector components x, y are required. User can define the initial position.
다운로드 수: 1.7K
업데이트 2011/6/13

라이선스 보기

Script originally intended for use in oceanography/fluid dynamics. Use:
>> ipdv(X,Y) % (0,0) default initial position
or
>> ipdv(X,Y,Xo,Yo) % (Xo,Yo) initial position
2D vector components (X,Y) are used to plot the vectors one after another, i.e., next vector starting at the end of the previous one (via Matlab's quiver.m ).
This function handles NANs (Not-A-Number) by putting Zeros in their place, thus allowing the Matlab cumsum.m function to compute the progressive positions (Matlab function cumsum.m doesn't skip Nans). NaNs produce discontinuities in the graphic.

인용 양식

Isaac Mancero Mosquera (2026). 2D Progressive Vector Diagram (https://kr.mathworks.com/matlabcentral/fileexchange/25940-2d-progressive-vector-diagram), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R14SP3
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Vector Fields에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
1.1.0.0

June 2011: I've modified the help inside the routine, and also put an explanation inside the graphic here.

1.0.0.0