What vector will generate command - fliplr(5:5:10)?

Dear Representative. What vector will generate command - fliplr(5:5:10)? Sincerely, Mike.

 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 Matrices and Arrays 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