Вы находитесь на странице: 1из 3

1.

close all
clear all
clc
%Real part FID
t=0:0.01:1.5;
FID=(cos(t.*2*pi).*exp(-t./0.3))+cos(t.*4*pi).*exp(-t./0.8);
subplot(2,1,1)
plot(t,FID)
grid on
title('Real part FID')
xlabel('Time (s)')
%Spectrum
w=-5:.01:3
S=(0.3./(1+4*(pi^2)*((w+1).^2)*(0.3^2)))+(0.8./
(1+4*(pi^2)*((w+2).^2)*(0.8^2)));
subplot(2,1,2)
plot(w,S)
grid on
title('Real Part Spectrum')
xlabel('Frecuency (Hz)')

In the FID plot we can observe the decay of the components over time, but
we cannot identify the action of the different components in the samples
decay. The difference of both components is better observed in the
Spectrum plot.
In the spectrum plot, we can see how the peak for the component (2) with
T2=0.8 s is narrower, in a frequency of -2 Hz, while the spectrum for (1),
which is closer to -1 Hz frequencies with T 2=0.3 s is wider, therefore shorter,

as the integral of the area underneath the curve represents the number of
protons in the sample.
2. b)
close all
clear all
clc
t=0:0.01:6;
Mz=1+(0.5-1).*exp(-t./1);
plot(t,Mz)
grid on
title('Longitudinal Relaxation: pulse=60, T1=1')
xlabel('Time (s)')

2. c)
clear all
close all
clc
t=0:0.01:0.3
Mz=1+(cos(0.349)-1).*exp(-t./1);
plot(t,Mz)
grid on
title('Longitudinal Relaxation: pulse=20, T1=1')
xlabel('Time (s)')

Вам также может понравиться