Exponential form, polar form, Cartesian form for complex numbers question.

This is the question I have and I have no idea how to write the code!
Convert the complex number 8-7j into exponential and polar form. [2 marks]
I know already
syms a a=8-7j [theta, r]cart2pol(8, 7)
for the polar for but thats it
Find all five values of the following expression, giving your answers in Cartesian form: (-2+5j)^(1/5) [6 marks]
Any ideas?

Answers (1)

Among others, see the Complex Numbers core MATLAB and the Symbolic Math Toolbox Complex Numbers documentation.

4 Comments

But how can I write in the script to display the complex number in exp form and polar form?
If I remember correctly:
Polar form:
p = @(z) [abs(z) angle(z)]; % Polar (Phasor) Form , ‘z’ Complex
Exponential form:
e = exp(z);
Your textbooks and lectures haven’t discussed this?
Do a DuckDuckGo search on ‘Euler Identities’ for details.
My lecturer told us to teach our selves how to use it, and complete the assignment! Thanks for the help, it had me stumped!

Sign in to comment.

Categories

Find more on Programming in Help Center and File Exchange

Products

Asked:

on 24 Mar 2015

Commented:

on 25 Mar 2015

Community Treasure Hunt

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

Start Hunting!