Dear Samuel,<br><br>Okay.  I see.<br><br>Regards,<br>celso<br><br><div class="gmail_quote">On Mon, Jan 25, 2010 at 10:52 PM, Samuel Gougeon <span dir="ltr"><<a href="mailto:Samuel.Gougeon@univ-lemans.fr">Samuel.Gougeon@univ-lemans.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


  

<div bgcolor="#ffffff" text="#000000">
Hello Celso,<br>
<br>
----- Message d'origine ----- <br>
De : Celso Co <br>
Date : 24/01/2010 16:58:
<div class="im"><blockquote type="cite">Dear Samuel<br>
  <br>
  <p style="margin: 0in 0in 0pt;" class="MsoNormal"><font face="Times New Roman">You may try the following:</font></p>
  <p style="margin: 0in 0in 0pt;" class="MsoNormal"><font face="Times New Roman"><br>
  </font></p>
  <p style="margin: 0in 0in 0pt;" class="MsoNormal"><font face="Times New Roman">clear;</font></p>
  <p style="margin: 0in 0in 0pt;" class="MsoNormal"><font face="Times New Roman">sheets=readxls('test.xls')  //  test.xls is in
the directory path<br>
  </font></p>
  <p style="margin: 0in 0in 0pt;" class="MsoNormal"><font face="Times New Roman">s1=sheets(1)</font></p>
  <p style="margin: 0in 0in 0pt;" class="MsoNormal"><font face="Times New Roman">tday=s1(:,1)</font></p>
  <p style="margin: 0in 0in 0pt;" class="MsoNormal"><font face="Times New Roman">cls=s1(:,$)</font></p>
  <p style="margin: 0in 0in 0pt;" class="MsoNormal"><font face="Times New Roman">//mydata=[tday,cls]</font></p>
mydata=list(tday,cls)    // list is used instead of matrix variable<br>
  <br>
Regards,<br>
celso<br>
</blockquote></div>
Yes, the %l_c_l means that Sean tried to concatenate (c operator) 2
lists (l_ & _l)  with<br>
brackets, that is not (yet: see
<a href="http://bugzilla.scilab.org/show_bug.cgi?id=5608" target="_blank">http://bugzilla.scilab.org/show_bug.cgi?id=5608</a> ) supported. <br>
However, i am not sure that keeping his data as lists (or even list of
lists) makes sorting <br>
them easier.<br>
This is why i proposed to read them as matrices, instead of lists that
handling is not <br>
fully supported (e.g. gsort() applies to a matrix, not to a list).<br>
<br>
Regards<br>
Samuel<br>
<br>
</div>

</blockquote></div><br><br clear="all"><br>-- <br>Eng'r Celso B. Co, PhD ECE<br>Assistant Professor<br>Dept. of Electronics, Computer, and Communication Engineering, <br>Loyola Schools of Science and Engineering, Ateneo De Manila<br>