No transition from 'Abort' to 'Ready' state in Igor
thunderstruck
function thresh2diam()
wave caspbp
variable i
for (i=1;dimsize(caspbp,0);i=i+1)
if (caspbp[i][1]<=180)
caspbp[i][1]=0.61
elseif (caspbp[i][1]<=333)
caspbp[i][1]=0.68
endif
endfor
end
wave caspbp
variable i
for (i=1;dimsize(caspbp,0);i=i+1)
if (caspbp[i][1]<=180)
caspbp[i][1]=0.61
elseif (caspbp[i][1]<=333)
caspbp[i][1]=0.68
endif
endfor
end
for (i=1;dimsize(caspbp,0);i=i+1)
does not impose a limit on the loop
you may have meant to write
for (i=1;i < dimsize(caspbp,0);i=i+1)
September 14, 2012 at 06:57 am - Permalink
Thanks! Yes the intention was to impose a limit, my eyes must be tired!
September 14, 2012 at 07:22 am - Permalink