complex number

2 次查看(过去 30 天)
Mohamed Salah
Mohamed Salah 2011-11-13
编辑: Nick Sharma 2018-10-12
if I have the absolute and the angle of a complex number, How i get the number in form of real and imaginary parts ?

回答(2 个)

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

Nick Sharma
Nick Sharma 2018-10-12
编辑:Nick Sharma 2018-10-12
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

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by