MRSignalsSeqs
MRSignalsSeqs copied to clipboard
msinc function in exampleB1_17 not included
Hi Professor, the msinc function used to put RF pulse in central part in exampleB1_17.m seems to be not included
You can find it from a tool box https://leoliuf.github.io/MRiLab/ The actual content is the following:
%
% Returns a hamming windowed sinc of length n, with m sinc-cycles,
% which means a time-bandwidth of 4*m
%
% written by John Pauly, 1992
% (c) Board of Trustees, Leland Stanford Junior University
function ms = msinc(n,m)
x = [-n/2:(n-1)/2]/(n/2);
snc = sin(m*2*pi*x+0.00001)./(m*2*pi*x+0.00001);
ms = snc.*(0.54+0.46*cos(pi*x));
ms = ms*4*m/(n);