Extract data between 2 point over a 2d matrix.
3 次查看(过去 30 天)
显示 更早的评论
Hello!
Im trying to extract the batrymetry data between 2 coordinate points (a and b). I found the cordinates position of my LON and Lat values, and NOW I need to find the way to extrac a line of data between those 2 points, I will apreciate any suggestions, Thanks.
LAT 3121x1681
LON 3121x1681
depth 3121x1681
pcolor(LON,LAT,depth);
0 个评论
采纳的回答
Walter Roberson
2022-10-17
improfile() or interp2() (which is what improfile uses)
You do have a potential issue if you are using a nonlinear coordinate space over a region large enough for the nonlinearity to be important. You would have to be careful about which space you are interpolating in.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Price and Analyze Financial Instruments 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!