complex number
Show older comments
if I have the absolute and the angle of a complex number, How i get the number in form of real and imaginary parts ?
Answers (2)
Grzegorz Knor
on 13 Nov 2011
Z = R.*exp(1i*theta)
where:
R = abs(Z)% magnitude
theta = angle(Z) % angle
Nick Sharma
on 12 Oct 2018
Edited: Nick Sharma
on 12 Oct 2018
1 vote
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
Categories
Find more on MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!