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

47 views (last 30 days)
How Create a vector given size(N) and the value of the max element(M)?

Accepted Answer

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

More Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!