在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
数组两种表示方法
复数数组
for m=1:2 for n=1:2 Am1(m,n)=abs(A(m,n)); Aa1(m,n)=angle(A(m,n))*180/pi; end end Am1,Aa1
>> test
Am1 =
5.0990 7.6158 6.3246 8.9443
Aa1 =
-78.6901 -66.8014 -71.5651 -63.4349
>> Am2=abs(A)
Am2 =
5.0990 7.6158 6.3246 8.9443
>> Aa2=angle(A)*180/pi
Aa2 =
-78.6901 -66.8014 -71.5651 -63.4349
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论