<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Hello,<div>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'</div>
<div>a = [1 10 20</div><div> 2 20 30</div><div> 3 30 40</div><div> 1 20 10</div><div> 3 40 40<br clear="all"> 2 20 10]</div><div>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. </div>
<div><br></div><div>Can you help me?</div></span><br>-- <br>Marcin Wo¼niczka<br>