Normally Spaced Vector (like linspace or normal space)

9 ビュー (過去 30 日間)
unkown character
unkown character 2018 年 9 月 24 日
編集済み: Jan 2018 年 9 月 24 日
I want to create something like linspace but where it would be sample a normally distributed curve.
For example, 15 points between -20 and 20 that are normally distributed. IS there anything like this
  1 件のコメント
Jan
Jan 2018 年 9 月 24 日
What does "normally distributed" mean here?

サインインしてコメントする。

採用された回答

Jan
Jan 2018 年 9 月 24 日
編集済み: Jan 2018 年 9 月 24 日
The question is not clear yet. But a bold guess:
x = rand(1, 15) * 40 - 20;
Maybe you want sort the values.
Or do you want 13 random point only, while -20 and 20 are included in every case?

その他の回答 (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