[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Avoid loop
From: |
LucaLuca |
Subject: |
Avoid loop |
Date: |
Mon, 4 Feb 2019 00:34:16 -0600 (CST) |
hi,
look this piece of code :
for gg=rowss:roww
v1=E(gg,Col)>maxRel;
maxRel=max(E(gg,Col),maxRel);
minRel=!v1.*minRel+v1*9999999999999999999999;
minRel=min(E(gg,Col),minRel);
diff=maxRel-minRel;
rangeRel=max(diff,rangeRel);
endfor
it's possible to avoid loop? (i'm refer to : for gg=rowss:roww)
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html