How to split a range of numbers with uniform intervals between the values

18 ビュー (過去 30 日間)
Paris M.
Paris M. 2021 年 3 月 17 日
回答済み: KSSV 2021 年 3 月 17 日
Hello.
I would like to know the code associated with splitting a range of numbers with uniform intervals between the values. For instance, my range is 0.1s - 1.5s. I need to consider 10 values of time witin this range while considering uniform intervals between these 10 values.
Thank you very much!

採用された回答

KSSV
KSSV 2021 年 3 月 17 日
t = linspace(0.1,1.5,10)
t = 1×10
0.1000 0.2556 0.4111 0.5667 0.7222 0.8778 1.0333 1.1889 1.3444 1.5000

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by