change magnitude and phase angle to vector
3 views (last 30 days)
Show older comments
If Voltage Magitude = [1;2;3;4;5] and Phase angle is [ 0; -22; -0.5; -2; -4] (degrees)
How can I get V vector using MatLab code?
0 Comments
Accepted Answer
Star Strider
on 23 Jun 2021
Try this —
Mag = [1;2;3;4;5]; % V
Phase = [ 0; -22; -0.5; -2; -4]; % Degrees
Complex_Voltage = Mag.*(cosd(Phase) + 1j*sind(Phase))
.
0 Comments
More Answers (0)
See Also
Categories
Find more on Sensors and Transducers 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!