Posts

Showing posts with the label complex number

complex number in MatLab -- MatLab

 complex number in MatLab -- MatLab properties i imagery unit it is equivalent to sqrt(-1). j same as i imagery unit it is equivalent to sqrt(-1). method complex create a complex number. syntax (1)z=complex(a,b); is equivalent to z=a+b*i; (2)z=complex(x); will return x+0*i; where x is a real number. [NOTE] In this case, isreal(z) will return false  because z is a complex number not a real number; (3)z=complex(x) will return identical of x where x is a complex number.