measure the magnetic field

5 visualizzazioni (ultimi 30 giorni)
Ram W
Ram W il 16 Mag 2019
Risposto: ABDUR RAHMAN il 22 Giu 2022
Hi everyone,
I am new with Matlab, I'm tring to measure the magnatic field in a prototype of gradient coil by using biosvat law, the problem is I need arcs instead of streight line in the attached image and I don't know how can I generate these arcs via matlab.
I used this code to simulate the wires pattern.
Looking forward for your help.
thanks in advanced.
% Source points (where there is a current source)
Gamma1 = [0.03,0,0; % x,y,z [m,m,m]
0.19,0,0;
0.19,0.32,0;
0.03,0.32,0;
0.03,0,0
0.03,0,0.25
0.19,0,0.25;
0.19,0.32,0.25;
0.03,0.32,0.25;
0.03,0,0.25];
I1 = 2; % filament current [A]
dGamma1 = 1e-3; % filament max discretization step [m]
[BSmag] = BSmag_add_filament(BSmag,Gamma1,I1,dGamma1);
Gamma2 = [0.41,0,0; % x,y,z [m,m,m] ( 1 and 3 2dam b3d w 2 w 4 nfs alshe)
0.25,0,0;
0.25,0.32,0;
0.41,0.32,0;
0.41,0,0
0.41,0,0.25
0.25,0,0.25;
0.25,0.32,0.25;
0.41,0.32,0.25;
0.41,0,0.25];
I2 = 2; % filament current [A]
dGamma2 = 1e-3; % filament max discretization step [m]
[BSmag] = BSmag_add_filament(BSmag,Gamma2,I2,dGamma2);

Risposte (2)

son nguyen xuan
son nguyen xuan il 23 Ago 2019
hi i'm doing the same thing as you. it's about simulating gradient coil in mri. can i ask you some quenstion?
kind regards

ABDUR RAHMAN
ABDUR RAHMAN il 22 Giu 2022
% Source points (where there is a current source)
Gamma1 = [0.03,0,0; % x,y,z [m,m,m]
0.19,0,0;
0.19,0.32,0;
0.03,0.32,0;
0.03,0,0
0.03,0,0.25
0.19,0,0.25;
0.19,0.32,0.25;
0.03,0.32,0.25;
0.03,0,0.25];
I1 = 2; % filament current [A]
dGamma1 = 1e-3; % filament max discretization step [m]
[BSmag] = BSmag_add_filament(BSmag,Gamma1,I1,dGamma1);
Gamma2 = [0.41,0,0; % x,y,z [m,m,m] ( 1 and 3 2dam b3d w 2 w 4 nfs alshe)
0.25,0,0;
0.25,0.32,0;
0.41,0.32,0;
0.41,0,0
0.41,0,0.25
0.25,0,0.25;
0.25,0.32,0.25;
0.41,0.32,0.25;
0.41,0,0.25];
I2 = 2; % filament current [A]
dGamma2 = 1e-3; % filament max discretization step [m]
[BSmag] = BSmag_add_filament(BSmag,Gamma2,I2,dGamma2);

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by