Number of elements in geopoint vector
N = length(P)
N = length(P) returns
the number of elements contained in the geopoint vector, P.
The result is equivalent to size(P,1).
Length of the geopoint vector, P.
Create a geopoint vector and find its length.
coast = load('coast');
p = geopoint(coast.lat, coast.long);
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend you select United States from the following list:
See all countries