Description:
Bloch simulator.
[mx,my,mz] = bloch(b1,gr,tp,t1,t2,df,dp,mode,mx,my,mz)
Bloch simulation of rotations due to B1, gradient and
off-resonance, including relaxation effects. At each time
point, the rotation matrix and decay matrix are calculated.
Simulation can simulate the steady-state if the sequence
is applied repeatedly, or the magnetization starting at m0.
INPUT:
b1 = (Mx1) RF pulse in G. Can be complex.
gr = (Mx1,2,or 3) 1,2 or 3-dimensional gradient in G/cm.
tp = (Mx1) time duration of each b1 and gr point, in seconds,
or 1x1 time step if constant for all points
To Search:
File list (Check if you may need any files):
bloch.m