Clear Filters
Clear Filters

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

49 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)

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!