How Create a vector given size(N) and the value of the max element(M)?

72 ビュー (過去 30 日間)
CMdC
CMdC 2021 年 1 月 21 日
コメント済み: CMdC 2021 年 1 月 21 日
How Create a vector given size(N) and the value of the max element(M)?

採用された回答

Daniel Pollard
Daniel Pollard 2021 年 1 月 21 日
Are those the only conditions?
linspace(1, M, N)
has N values which range from 1 to M.

その他の回答 (0 件)

カテゴリ

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

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by