<div dir="ltr"><div>Thanks! Understood much better to ask some experienced fellow than dig in the pile of hay.<br><br></div>Berms B.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 29, 2013 at 6:03 AM, Samuel Gougeon <span dir="ltr"><<a href="mailto:sgougeon@free.fr" target="_blank">sgougeon@free.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 28/01/2013 22:30, Berns Buenaobra a écrit :<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Samuel:<br>
<br>
I'd like to understand  the "$" inside the would mean from the script?<br>
</blockquote></div>
This is the size of the object along the related direction:<br>
<a href="http://help.scilab.org/docs/5.4.0/en_US/dollar.html" target="_blank">http://help.scilab.org/docs/5.<u></u>4.0/en_US/dollar.html</a><br>
<br>
after<br>
a = ones(7,3)<br>
a(:,$)     // is equivalent to a(:,3)<br>
a($-2,:)  // is equivalent to a(5,:)<br>
<br>
$ can be used for any type of object: lists, structures, cells,<br>
and obviously matrices and hypermatrices:<br>
<br>
L = list("Hello", %pi, (%z-1)^2)<br>
L($)  // returns the polynomial (%z-1)^2 = the last element of L<br>
// To append a element to L, just use(for instance)<br>
L($+1) = %T<br>
<br>
$ can also be seen as a measurement of the money that you save when<br>
using Scilab. But this is another undocumented story ;)<div class="HOEnZb"><div class="h5"><br>
<br>
Samuel<br>
______________________________<u></u>_________________<br>
users mailing list<br>
<a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/<u></u>mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>