Incorrect calculation between CRS coordinate transformation
采纳的回答
更多回答(1 个)
0 个投票
3 个评论
Hi @Cristóbal,
I'm glad the solution worked well for you! However, I want to make sure credit goes where it's due - @Torsten deserves the primary recognition here. While I provided the theoretical explanation and initial code framework, @Torsten was the one who actually implemented, tested, and validated the solution with real data. His mathematical expertise and practical validation were crucial to making this work.
Regarding your question about using the script for multiple values - that error suggests you're trying to pass arrays/matrices where the function expects scalar values. The current function is designed for single coordinate pairs. To handle multiple points, you'd need to modify it to loop through the coordinates or vectorize the operations properly.
Thanks for acknowledging the collaborative effort - that's what makes these mathworks technical communities so valuable.
类别
在 帮助中心 和 File Exchange 中查找有关 Coordinate Reference Systems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!