Bloch Equation Vector Diagram Simulation Toolbox

Two functions that carry out pulses and evolution time periods for an array of spins.
1.9K Downloads
Updated 7 Nov 2012

View License

This package includes two functions, evolution.m and and pulse.m. The former accepts two structures, one with a set of spins with an initial position in spherical coordinates, T1, T2 and a frequency offset from the rotating frame and two, a set of parameters dictating the simulation. These inputs allow the set of spins to evolve according to the Bloch equations with the output being a matrix of the final position of the spins. The latter function also accepts two structures, one with a matrix of spin positions and one with a pulse tip angle and B1 axis. Chaining these two functions together can simulate any pulse sequence. In addition, the package allows the user to save an animated GIF or AVI file of the simulation.

Cite As

Robert McCarrick (2024). Bloch Equation Vector Diagram Simulation Toolbox (https://www.mathworks.com/matlabcentral/fileexchange/34873-bloch-equation-vector-diagram-simulation-toolbox), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Audio I/O and Waveform Generation in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

grammatical changes to the description

1.0.0.0