for i=1:length(As1) [vq]=dd(Vs1,As1(i)); As = vq.*(Us(j).^2)./(16.*(pi.^2).*msksi.*fs1(j)); res1=As1(i)-As; if abs(res1)<0.01 As1(i)=As; Us(j)=Vs.*fs(j); break end
MATLAB: How can put the values inside tolerances
forfor loopgriddataifif loopresidualtolerance
Best Answer