简体   繁体   English

Matlab将幅度和角度变为复数

[英]Matlab make magnitude and angle into complex number

I have a variable that is holding the magnitude of a complex number and a seperate variable that is holdingthe angle of the complex number. 我有一个变量,它保持一个复数的大小和一个保持复数角度的单独变量。 Is there a way I can add the two together to form a polar complex number? 有没有办法可以将两者结合起来形成一个极性复数? or even a way I can make them a rectangular complex number? 甚至一种方法,我可以使他们成为一个矩形的复数?

将极坐标中的复数转换为笛卡尔坐标的适当函数将是pol2cart

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM