% Bloch Equation Simulation, Excercise C-3d
% -----------------------------------------
% 

%
%	Modified C-3a to plot SNR efficiency.
%

% 	Ranges of TE and TR to use.

ETL = [1:30];
TE = 15;
TR = 3000;

T11 = 600;
T21 = 100;
T12 = 1000;
T22 = 150;

for k=1:length(ETL)
	S(k) = sum(abs(fsesignal(T11,T21,TE,TR,0,ETL(k))))/sqrt(ETL(k))/sqrt(TR);
end;

plot(ETL,S);
grid on;
xlabel('Echo-Train Length');
ylabel('SNR efficiency');
title('SNR efficiency vs ETL');


