Locating any point from a meshgrid

11 次查看(过去 30 天)
Hi,
I have a 161x161 double size Latitude matrix for a stereographic projection of north pole. If I contour plot it, it looks like this -
I have another 161x161 double size Longitude matrix for a stereographic projection of north pole. Its' contour looks like this -
Can anyone please tell me if I can merge these two matrix into one so that I essentially get a polar stereographic map. And therefore, I can locate the index of any given point, for example, [87.5°N, 92.62°W], or [81.25°N, 88.19°W] etc
Any feedback will be greatly appreciated.

回答(1 个)

Sulaymon Eshkabilov
If understood your question correctly, in this exercise, use hold on and find the intersection points of the two. There are a few function files on MATLAB central which can be employed in this case, e.g., https://www.mathworks.com/matlabcentral/fileexchange/11837-fast-and-robust-curve-intersections?s_tid=FX_rc3_behav
  1 个评论
Ashfaq Ahmed
Ashfaq Ahmed 2023-9-18
Dear Dr. Sulaymon,
Thank you for your comment. You have previously helped me a lot with my other questions too. I really appreacite it.
For this problem, I am actually not looking for any intersection points of two curves. What I am looking for can be simply explained this way -
I have a SST = 161x161x288 double size matrix of sea surface temperature. Here, 161x161 is the grid system, and 288 is the number of days. My target is to locate specific temperatures of everyday and the location coordinates are coming from the Position.mat file. Position.mat is a 288x2 double size and it is giving different location in everyday. Problem is, the grid system of SST is a stereographic grid combination of the Latitude and Longitude that I have attached.
My question is: How can I get the 288 locations from Position.mat in the SST matrix?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by