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

Status
Not open for further replies.

shegmite

Member level 1
Joined
Apr 8, 2012
Messages
33
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Visit site
Activity points
1,496
how to input 2 by 2 16 digits complex matrices in matlab

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
 

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

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
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…