Previous Up Next

7.4.3  Writing a complex number z in rectangular form

The evalc command will ensure that a complex number is in rectangular form.

Example

evalc(sqrt(2)*exp(i*pi/4))
     
1+i           

Previous Up Next