complex number

17 visualizzazioni (ultimi 30 giorni)
Mohamed Salah
Mohamed Salah il 13 Nov 2011
Modificato: Nick Sharma il 12 Ott 2018
if I have the absolute and the angle of a complex number, How i get the number in form of real and imaginary parts ?

Risposte (2)

Grzegorz Knor
Grzegorz Knor il 13 Nov 2011
Z = R.*exp(1i*theta)
where:
R = abs(Z)% magnitude
theta = angle(Z) % angle

Nick Sharma
Nick Sharma il 12 Ott 2018
Modificato: Nick Sharma il 12 Ott 2018
Hello !!
Lets say r is the amplitude θ is the angle .
Thus the complex number formed shall be = rcosθ+rsinθi .
Real Part = r*cosθ ,
Imaginary Part = r*sinθ
Here i = iota ( complex number imaginary part operator)
I hope it will help future readers
Nick

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by