how to calculate magnitude and phase angle of a complex number
Show older comments
for example -7+13i
how do i calculate and display the magnitude and phase angle of this
Accepted Answer
More Answers (2)
MALAV DALAL
on 5 May 2017
Edited: Walter Roberson
on 5 May 2017
z = 1.5+iw
ph = angle(z)
Dhanush
on 12 Sep 2024
0 votes
x = 1 + i*1;
Magnitude = abs(x);
Phase_radians = angle(x);
Phase_degrees = rad2deg(Phase_radians);
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!