Recent content by arronslacey

  1. A

    Defining the current vector in the biot savart law?

    HI Tim, thanks for you reply. I see that you only use the current on the actual wire. I'll try to explain a bit further. I am doing this in matlab, so each variable in the equation is in the form of a matrix. I have a picture of a circle which I am trying to super impose a magnetic field on. So...
  2. A

    Defining the current vector in the biot savart law?

    I am trying to use the biot savart law to calculate the magnetic field of a given object. I have got to the stage where I have calculated I*dl and R/R^2 separately (doing this in matlab. The problem is where I come to the cross product. If I have a uniform current, the values of the current...
  3. A

    MATLAB Matlab: help with biot savart law

    sorry i'll have a go - only R(c,r) calculates what I want. it calculates the distance one pixel to all others and stores into an array. O(c,r) is supposed to be the current direction, ie taking the gradient vectors Ix(c,r) and Iy(c,r) and rotating them by 90 degrees. When I quiver plot...
  4. A

    MATLAB Matlab: help with biot savart law

    I am struggling with getting to grips with vectors in MATLAB i'll admit. but here's what i need to do: 1. read in an image 2. compute image gradient vectors [Ix,Iy], and then magnitude sqrt(Ix.^2+Iy.^2) = If(c,r) 3. compute the edge orientation of the image by rotating the gradient vectors 90...
  5. A

    MATLAB Matlab: help with biot savart law

    by the way, here is the reference paper http://www.cs.swan.ac.uk/~csjason/papers/xxmm-pami2008.pdf
  6. A

    MATLAB How can I improve my MATLAB program for the Biot Savart Law?

    by the way, here is the reference paper http://www.cs.swan.ac.uk/~csjason/papers/xxmm-pami2008.pdf
  7. A

    MATLAB How can I improve my MATLAB program for the Biot Savart Law?

    Hi, if anyone good with MATLAB and knows biot savart law then i hope you can help. I have the following program: clear all Img = imread('littlecircle.png'); Img = Img(:,:,1); Img = double(Img); w = size(Img,1); % width size h = size(Img,2); % height...
  8. A

    MATLAB Matlab: help with biot savart law

    Hi, if anyone good with MATLAB and knows biot savart law then i hope you can help. I have the following program: clear all Img = imread('littlecircle.png'); Img = Img(:,:,1); Img = double(Img); w = size(Img,1); % width size h = size(Img,2); % height...
Back
Top