VECTORS2D Description of functions operating on plane vectors. A vector is defined by its two cartesian coordinates, put into a row vector of 2 elements: V = [vx vy]; Several vectors are stored in a matrix with two columns, one for the x-coordinate, one for the y-coordinate. VS = [vx1 vy1 ; vx2 vy2 ; vx3 vy3]; See also vectorNorm, vectorAngle, isPerpendicular, isParallel normalizeVector, transformVector, rotateVector
0001 function vectors2d 0002 %VECTORS2D Description of functions operating on plane vectors. 0003 % 0004 % A vector is defined by its two cartesian coordinates, put into a row 0005 % vector of 2 elements: 0006 % V = [vx vy]; 0007 % 0008 % Several vectors are stored in a matrix with two columns, one for the 0009 % x-coordinate, one for the y-coordinate. 0010 % VS = [vx1 vy1 ; vx2 vy2 ; vx3 vy3]; 0011 % 0012 % See also 0013 % vectorNorm, vectorAngle, isPerpendicular, isParallel 0014 % normalizeVector, transformVector, rotateVector 0015 % 0016 0017 % ------ 0018 % Author: David Legland 0019 % E-mail: david.legland@inrae.fr 0020 % Created: 2008-10-13, using Matlab 7.4.0.287 (R2007a) 0021 % Copyright 2008-2024 INRA - BIA PV Nantes - MIAJ Jouy-en-Josas 0022 0023 help('vectors2d');