How to read matrix into a variable increment?
12 views (last 30 days)
David Sanchez on 29 May 2013
Your question is not clear. Do you mean something like this?
Where B contains the data in A order from minimum value to maximum.
If you want to write that column in incremental form, such as
1 3 5 7 9 11 13 15 17 19
You need the first and last term and the increment between each value, supposed to be constant, otherwise you can't do as you want. You can not write in incremental notation an array like
c = [1 3 4 8 17 19 23 58]
since the increment between any two consecutive terms is different from any other