Field between two wires

Hello,
I am trying to model the electric fields and gradients between two wires. I have two lines (wires) on a plane. and would like to model something like this:
But I would like to try modelling it own my own. It would be helpful if anyone could point me to materials or examples that can help me model field lines and gradients between the two wires.

Answers (1)

Star Strider
Star Strider on 11 Aug 2014

1 vote

Three functions (that the code in the FEX submission uses) that would help are: contour, gradient, and quiver. The documentation for those contains examples on what they do and how to use them.

Asked:

on 11 Aug 2014

Answered:

on 11 Aug 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!