20 Practical MATLAB® Applications for Engineers
R.1.52 The family of time-shifted sinc functions are given by
sincn(t) = sin(t − n)/[(t − n)]
for n = 0, ±1, ±2, ..., ±∞ forms and orthonormal family, over the range −∞ ≤ t ≤ +∞,
and are referred to as the sinc family.
R.1.53 The fi rst fi ve members of the sinc family are given as follows:
sinc 0 (t) = sin(t)/[t]
sinc 1 (t) = sin(t − )/[(t − )]
sinc 2 (t) = sin(t − 2 )/[(t − 2 )]
sinc 3 (t) = sin(t − 3 )/[(t − 3 )]
sinc 4 (t) = sin(t − 4 )/[(t − 4 )]
The script fi le sinc_n, shown as follows, returns the plot of the fi rst four members of
the sinc family, over the range − 5 π ≤ t ≤ + 5 π, indicated in Figure 1.20.MATLAB Solution
% Script file: sinc _ n
t =-5*pi: 0.25:5*pi;
Sinc _ 0 = sin(t) ./ (pi*t);
Sinc _ 1 = sin(t- pi ) ./ (pi*(t-pi));
Sinc _ 2 = sin(t- 2*pi ) ./ (pi*(t-2*pi));
Sinc _ 3 = sin(t-3*pi ) ./ (pi*(t-3*pi));
plot(t,Sinc_0,’*:’,t,Sinc_1,’d-.’,t,Sinc_2,’h--’,t,Sinc_3,’s-’)
xlabel(‘time’)
ylabel(‘Amplitude’)
title(‘First four members of the sinc family’)
legend(‘sinc 0’,’sinc 1’,’sinc 2’,’sinc 3’)FIGURE 1.20
(See color insert following page 374.) Plots of the sinc family of R.1.53.
0.350.30.250.20.150.10.05−0.05−0.10Amplitude− 20 − 15 − 10 −50 5101520
timesinc 0
sinc 1
sinc 2
sinc 3First four members of the sinc family