I have an array called amplitude with an N*1 matrix, N is a positive and integer number
This is my code:
if sum(A<0)~=0 || (A~=isreal(A)) error('Amplitude must be real and postive elements'); end
it doesn't seem to work, could use help?
array matrixlab codepositivereal
if sum(A<0)~=0 || (A~=isreal(A)) error('Amplitude must be real and postive elements'); end
Best Answer