Help with plotting a J vector field

edited April 2009 in Science & Tech
Hello,

I am working on an electromagnetics problem, where i need to plot a J vector field in Matlab. Basically i have a uniform, infinite, plane, and i have current flowing into it at one point and current flowing out of it at another. I need to plot the current density between the 2 points. I am not sure how to go about it, i was thinking of possible using a contour lines function. I then need to add boundaries to the deck.

Any help would be much appreciated, i can calculate J at any point on the deck using J=I/2*Pi* (unit vector/radial distanct from current in). but i am stuck.

Cheers for your time.

Ally

Comments

  • drasnordrasnor Starship Operator Hawthorne, CA Icrontian
    edited April 2009
    Is current density a scalar or a vector for the purposes of this problem? For scalar fields contour plots are good, for vectors you should use a quiver plot.

    -drasnor :fold:
Sign In or Register to comment.