I'm doing a model in matlab and for some reason the following logical statement will not produce what it is meant to produce.
The structure is the following:
if staement (
hope you got the point.
the trouble is that it prints all of the values of AB to the screen( for all the i's)-including AB=1.
what's wrong with it? I can't figure it out.
Any help would be most appreciated.