Tried this, but not working. (still getting same values in column 3&4)
N = size(P,1);
for i = 1:1:N
if P(N,5) == 0
P(N,3) = P(N,1) + P(N,3);
end
end
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!