[scilab-Users] Help with Matrices and Stack Size

Samuel Gougeon Samuel.Gougeon at univ-lemans.fr
Mon Jan 25 15:52:48 CET 2010


Hello Celso,

----- Message d'origine -----
De : Celso Co
Date : 24/01/2010 16:58:
> Dear Samuel
>
> You may try the following:
>
>
> clear;
>
> sheets=readxls('test.xls')  //  test.xls is in the directory path
>
> s1=sheets(1)
>
> tday=s1(:,1)
>
> cls=s1(:,$)
>
> //mydata=[tday,cls]
>
> mydata=list(tday,cls)    // list is used instead of matrix variable
>
> Regards,
> celso
Yes, the %l_c_l means that Sean tried to concatenate (c operator) 2 
lists (l_ & _l)  with
brackets, that is not (yet: see 
http://bugzilla.scilab.org/show_bug.cgi?id=5608 ) supported.
However, i am not sure that keeping his data as lists (or even list of 
lists) makes sorting
them easier.
This is why i proposed to read them as matrices, instead of lists that 
handling is not
fully supported (e.g. gsort() applies to a matrix, not to a list).

Regards
Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20100125/659e5e95/attachment.htm>


More information about the users mailing list