SZ = size(p)
SZ = size(p,1)
SZ = size(p, n)
SZ = size(p) returns
the vector [length(p), 1].
SZ = size(p,1) returns
the length of p.
SZ = size(p, n) returns 1 for n
size(p) returns length(p) for m and 1 for k.
Number of the dimension at which size of p is
Vector of the form [length(p), 1].
Length of p.
Length of second dimension of p. k is
Create a mappoint vector and get its size.
coast = load('coast');
p = mappoint(coast.lat, coast.long);
The second dimension is always 1.
Was this topic helpful?