Hi there, Ive currently got this code and what I am wanting to do is tak the maximum possible value of Tresult, doenst matter what loop it is in? I am jsut wonbdering if anyone can help
if true for j=j1:j2; for l=l1:l2; Cr1=[x_start y_start+(l*(y2/Res)) x/Res y2/Res]; Cr = imcrop(YourData, Cr1); Tresult(:,j)=mean(Cr).'; end
end end
Best Answer