How Create a vector given size(N) and the value of the max element(M)?
41 views (last 30 days)
Show older comments
How Create a vector given size(N) and the value of the max element(M)?
0 Comments
Accepted Answer
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)
See Also
Categories
Find more on Multidimensional Arrays in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!