MATLAB: A very simple question about a column vector creation
vector
I am an extra beginner MATLAB user. There is a 1:m command to create a 1 2 …. m row matrix. However, I couldn't find how to create a column vector as 12: 13-m. I mean (assume m=5):
12
11
10
9
8
Best Answer
If you want to decrement a vector, begin with the highest number and increment by anegative value to the desired end value. Here, the decrement value is-1:
Best Answer