This function converts m X n matrix to a one dimensional time series
Upload date : 2015-04-23 09:54:05 MD5 : 390b650c2fbed48afdeb31ee2b29a6bc SHA1 : c56b5cf1df199ffc0638613970819e733c5b63b5 Downloads : 1325
a = a.'; a(:).' // does the same. Example: -->a = fix(rand(5,3)*10) a = 5. 9. 2. 4. 0. 1. 2. 4. 7. 6. 2. 2. 4. 4. 1. -->array2ts(a) ans = 5. 9. 2. 4. 0. 1. 2. 4. 7. 6. 2. 2. 4. 4. 1. -->a = a.'; a(:).' ans = 5. 9. 2. 4. 0. 1. 2. 4. 7. 6. 2. 2. 4. 4. 1.
Thank you for sharing knowledge. I would welcome such suggestions in my 1 dimensional to M X N conversion code also.