musilj
Electrical
- Oct 8, 2006
- 16
hi all,
I need to work out the the voltage distribution in the dielectric material and TEM transmission line parameters.
The cross section has 0 V at the boundary AND unbalanced conductors at 10 V as illustrated on attachment. I need to write a matlab code that automatically sets up a matrix from the difference equations using Laplacian equation and solve for the nodal voltages using the format AV=B hence V=A\B. Apart from the initialised known node voltages, I am stuck on how to come up with a matlab matrix which would include the unknown node voltages, preallocation of the matrix fills the other nodes with zeros, hence gives false additions when i start scanning the meshes.
I do not intend to use SOR or iterative fdm, but rather set up a matrix and solve as pointed above.
i hope this make sense
thanks
musilj
I need to work out the the voltage distribution in the dielectric material and TEM transmission line parameters.
The cross section has 0 V at the boundary AND unbalanced conductors at 10 V as illustrated on attachment. I need to write a matlab code that automatically sets up a matrix from the difference equations using Laplacian equation and solve for the nodal voltages using the format AV=B hence V=A\B. Apart from the initialised known node voltages, I am stuck on how to come up with a matlab matrix which would include the unknown node voltages, preallocation of the matrix fills the other nodes with zeros, hence gives false additions when i start scanning the meshes.
I do not intend to use SOR or iterative fdm, but rather set up a matrix and solve as pointed above.
i hope this make sense
thanks
musilj