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...
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...
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...
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...
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...
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...