# Projecting latitudes longitudes to a projection [closed]

I am using this matlab package http://www2.ocgy.ubc.ca/~rich/map.html#examples to project the latitudes,longitudes of my data to a specific projection.

For this particular case I am using albers equal-area. Now when I do the projection, I am using the following code

m_proj('albers equal-area');
[x y] = m_ll2xy(longitude,latitudearray);


My question is when I specify the projection method, do I need to specify the geographical bounds. I mean do I need to pass the latitude, longitude bounds to the function m_proj

I have got the following results. I am not sure if these points are correct.

lat lon x y 24.590960444058823 -119.6310020520101 -0.0778982228028 -0.077898222802825

Can anyone provide some suggestions?

-
 Questions about Matlab are best asked on a Matlab user site. There is a stackexchange site for questions about projections (gis.stackexchange.com) but I doubt anyone there uses Matlab for this kind of work. (I now see this question was cross-posted on GIS, anyway.) – whuber♦ Jul 23 '12 at 14:37

## closed as off topic by whuber♦Jul 23 '12 at 14:37

Questions on Cross Validated are expected to relate to statistics within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.