Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | ATOMS
File : Details
Login with GitLab

M X N array to One dimensional Time series conversion

This function converts m X n matrix to a one dimensional time series
(1325 downloads for this version - 1325 downloads for all versions)
Details
Version
1.0
Author
paawan sharma
Maintainer
paawan sharma
Category
License
Supported Scilab Version
5.3
Creation Date
April 23, 2015
Description
            This function converts m X n matrix to a one dimensional time series            
Files (1)
[344 bytes]
Miscellaneous file
	  This function converts m X n matrix to a one dimensional time series
News (0)
Comments (1)     Leave a comment 
Comment from Samuel Gougeon -- May 10, 2015, 12:31:18 AM    
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. 

 
Answer from paawan sharma -- January 12, 2016, 09:19:06 AM    
Thank you for sharing knowledge.
I would welcome such suggestions in my 1 dimensional to M X N conversion code also.
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.