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

6 ビュー (過去 30 日間)
Gonçalo Torres
Gonçalo Torres 2020 年 6 月 26 日
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 Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by