Create non-uniform vector with spacing as function of another vector

조회 수: 6 (최근 30일)
Gonçalo Torres
Gonçalo Torres 2020년 6월 26일
편집: Francesco Giuseppe Augello 2021년 6월 15일
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
Gonçalo Torres
Gonçalo Torres 2020년 6월 26일
편집: Gonçalo Torres 2020년 6월 26일
The radius of curvature would be an existing vector.
Francesco Giuseppe Augello
Francesco Giuseppe Augello 2021년 6월 15일
편집: Francesco Giuseppe Augello 2021년 6월 15일
Hi, did you manage to solve the problem? I encountered in the same issue. My discretization variable is a vector too.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by