I have a matrix n x 1 called X , in which I want to move it up or down along vertical axis when I plot it vs time , in a way to make the mean value = 0 if it's not so I created a true false parameter as :
than can be
and then in the code I do :
if useMean == 'True'
if meanX <0
elseif useMean == 'False'
but I noticed the code only can perform when useMean == 'True' , not the 'False' !
this way my rest of the parameters can not be calculated