- #1
Kayne
- 24
- 0
Hi All,
I have been trying to solve a complex number equation for character impedance with MATLAB but it continues to tell me that "indexing must appear last on index addressing". I am new to MATLAB so I think that my code is wrong.
What I am using is
complex sqrt (R+jwL)(G+jwC)
The values for R,w,L,G,C I add in when putting it into matlab.
is complex the right word to be using here?
The equation that I am trying to solve is
[tex]y=sqrt(R+jwL)(G+jwC)[/tex]
I have been trying to solve a complex number equation for character impedance with MATLAB but it continues to tell me that "indexing must appear last on index addressing". I am new to MATLAB so I think that my code is wrong.
What I am using is
complex sqrt (R+jwL)(G+jwC)
The values for R,w,L,G,C I add in when putting it into matlab.
is complex the right word to be using here?
The equation that I am trying to solve is
[tex]y=sqrt(R+jwL)(G+jwC)[/tex]