Create non-uniform vector with spacing as function of another vector
Afficher commentaires plus anciens
Hi all,
I am working on a problem which comprises trajectory discretization. However, I would need this discretization to be non uniform, with different spacing between each discretization point.
Let's say I have a vector with the radius of curvature for this trajectory. I would like my new vector to have higher density of points where the radius is smaller and less density where the radius is bigger.
Is there any simple way to implement something like this?
Regards,
Gonçalo
3 commentaires
James Tursa
le 26 Juin 2020
Is the radius of curvature (or whatever) described as a function, or is it a vector of values?
Gonçalo Torres
le 26 Juin 2020
Modifié(e) : Gonçalo Torres
le 26 Juin 2020
Francesco Giuseppe Augello
le 15 Juin 2021
Modifié(e) : Francesco Giuseppe Augello
le 15 Juin 2021
Hi, did you manage to solve the problem? I encountered in the same issue. My discretization variable is a vector too.
Réponses (0)
Catégories
En savoir plus sur Programming dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!