Hi, after many tries i still not understand why the second if statement inside the for loop isn't working. The picture shows the result of a simulation which should match with the result of my matlab code.
MATLAB: Is the (second) if statement in the for loop not working
for loopif statement
Best Answer