Réponse acceptée

Adam
Adam le 13 Fév 2015
Modifié(e) : Adam le 13 Fév 2015
10:-5:5
assuming you are talking more generically. This example is rather degenerate and can be replaced by:
[10 5]
but if you have more numbers:
maxVal:-inc:minVal
will create a decreasing vector.

Catégories

En savoir plus sur Characters and Strings dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by