How to convert complex numbers into cartesian form?

11 views (last 30 days)
I need to convert this into cartesian form.
z4=real(5*exp(1i*2*pi*15*ty+0.9*pi));

Answers (1)

Walter Roberson
Walter Roberson on 3 Mar 2022
It is a real value. x will be that value and y will be 0.
If you let tyr be the real part of ty and tyi be the imaginary part then
5*exp(-(3*pi*(100*tyi - 3))/10)*cos(30*pi*tyr)

Products


Release

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!