Divide vector of coordinates into even intervals.
Afficher commentaires plus anciens
Hi!
I have a long vector of longitude and latitude coordinates representing one bus route. Though the distance between each following pair of coordinates is different through the vector. I want to generate new longitude-latitude coordinates so that I have lots of intervals with same length.
Réponse acceptée
Plus de réponses (1)
KSSV
le 22 Fév 2018
1 vote
You need to have a look on interpolation......Read about interp1.
2 commentaires
Hampus Alfredsson
le 22 Fév 2018
Stephen23
le 22 Fév 2018
@Hampus Alfredsson: interpolation works with negative values just as well as it does positive ones. Please make a new comment and upload your code by clicking the paperclip button.
Catégories
En savoir plus sur Coordinate Reference Systems dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!