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

1 view (last 30 days)
Dear Representative. What vector will generate command - fliplr(5:5:10)? Sincerely, Mike.

Accepted Answer

Adam
Adam on 13 Feb 2015
Edited: Adam on 13 Feb 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.

More Answers (1)

Mikhail Olferiev
Mikhail Olferiev on 13 Feb 2015
Thank you.

Categories

Find more on Structures in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!