Incorrect calculation between CRS coordinate transformation
Respuesta aceptada
Más respuestas (1)
0 votos
3 comentarios
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.
Categorías
Más información sobre Coordinate Reference Systems en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!