MATLAB script to generate gradient and radiofrequency waveforms for a segmented 2D HS1 pulse
This is a simple MATLAB script to generate the gradient and RF pulse waveforms necessary to implement a segmented 2D HS1 pulse. It is designed to work for user specified gradient slew rates and temporal resolutions. It does NOT rescale the pulses to achieve the same flip angle. In MATLAB, type "help pulsegen2DHS1" for an explanation of how to use this script.