82 Practical MATLAB® Applications for Engineers
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
0
2
4
0
2
4
0
2
4
spline
stairs
f(t)
sinc-reconst
× 10 −^4
× 10 −^4
× 10 −^4
× 10 −^3
× 10 −^3
× 10 −^3
time (sec)
Reconstruction of f(t)
Amplitude
Amplitude
Amplitude
FIGURE 1.68
Reconstruction plots for f(t) of Example 1.16.
8 7 6 5 4 3 2 1
1 1.5 2 2.5
0
0 0.5 3 3.5 4 4.5 5
time (sec) ×^10 −^3
× 10 −^5 error(t) = abs [f(t) -Reconstruction (Sums(sinc))]
magnitude
FIGURE 1.69
Reconstruction plot error for f(t) of Example 1.16.