微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 天线设计和射频技术 > how to input 2 by 2 16 digits complex matrices in matlab

how to input 2 by 2 16 digits complex matrices in matlab

时间:04-06 整理:3721RD 点击:
Please can anyone help with how i can input a 2 by 2 16 digit complex matrices in matlab for multiplication with another one i.e matrices like
0.138451095405929-0.230421317393041i - 0.0451985986689165+0.157626245839348i
0.0353675449261375+0.115682026931012i -0.00194567217559662-0.0291212122613417i
Thanks

you can enter the matrices normally..if u want to display entire decimal places use 'format long', then enter the matrix values

format long
>> a = [0.138451095405929-0.230421317393041i -0.0451985986689165+0.157626245839348i ]

a =

Column 1
0.138451095405929 - 0.230421317393041i

Column 2
-0.045198598668916 + 0.157626245839348i

format long
a=[1234,5678*i;9101,11213* i]

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top