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

9 vues (au cours des 30 derniers jours)
CMdC
CMdC le 21 Jan 2021
Commenté : CMdC le 21 Jan 2021
How Create a vector given size(N) and the value of the max element(M)?

Réponse acceptée

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

Plus de réponses (0)

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by