View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Bloch Equation Vector Diagram Simulation Toolbox

  • evolution(Spins,Sim)Spin Evolution Function
  • pulse(Spins,Sim)Pulse Function
  • 3pulse.mThis simulation depicts a 3-pulse sequence with a typical array of spins
  • DEERsimulation.mThis simulation shows the dependence of the postions of the spins that feel the
  • ethanol.mThis simulation depicts a typical 1H NMR experiment on ethanol
  • hahnecho-video.mThis script shows the method for creating an animation from your simulation
  • hahnecho.mThis simulation shows a Hahn Echo for a typical bandwidth in an EPR experiment
  • hahnechosimple.mThis imulation shows a simple Hahn Echo
  • T1-demo.mThis simulation shows the effect of T1 following a pi pulse
  • T2-demo.mThis simulation shows the effect of T2 following a pi/2 pulse
  • View all files
5.0 | 1 rating Rate this file 15 Downloads (last 30 days) File Size: 184 KB File ID: #34873 Version: 1.1
image thumbnail

Bloch Equation Vector Diagram Simulation Toolbox



01 Feb 2012 (Updated )

Two functions that carry out pulses and evolution time periods for an array of spins.

| Watch this File

File Information

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.

Required Products MATLAB
MATLAB release MATLAB 7.12 (R2011a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
07 Nov 2012 Yi Sui

Yi Sui (view profile)

07 Nov 2012 1.1

grammatical changes to the description

Contact us