problem with creating loop

marcin.wozniczka Gazeta.pl marcin.wozniczka at gazeta.pl
Thu Aug 12 21:58:53 CEST 2010


Hello,
I have small problem with my program/function in Scilab. I want to loop
function - the loop must be repeated until all datas will be use. For
example I have matrix 'a'
a = [1 10 20
       2 20 30
       3 30 40
       1 20 10
       3 40 40
       2 20 10]
and I'm taking all lines which have in the first column the same number,
take average of this and put to the other matrix. I created function which
can do all this thing but I don't have any idea how to make a reapeted loop
from this.

Can you help me?

-- 
Marcin Woźniczka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20100812/8b98bb99/attachment.htm>


More information about the users mailing list