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 geopoint vector and find its size.
coast = load('coast');
p = geopoint(coast.lat, coast.long);
The second dimension is always 1.
Was this topic helpful?