Perform ideal bandlimited interpolation of a random signal sampled at integer spacings.
Assume that the signal to interpolate, x, is 0 outside of the given time interval and has been sampled at the Nyquist frequency. Reset the random number generator for reproducibility.
rng default
t = 1:10;
x = randn(size(t))';
ts = linspace(-5,15,600);
[Ts,T] = ndgrid(ts,t);
y = sinc(Ts - T)*x;
plot(t,x,'o',ts,y)
xlabel Time, ylabel Signal
legend('Sampled','Interpolated','Location','SouthWest')
legend boxoff
Input array, specified as a real-valued or complex-valued scalar, vector,
matrix, or N-D array. When x is
nonscalar, sinc is an element-wise operation.
Data Types: single | double Complex Number Support: Yes
This analytic expression corresponds to the continuous inverse Fourier transform
of a rectangular pulse of width 2π and height 1:
The space of functions bandlimited in the frequency range is spanned by the countably infinite set of sinc functions shifted
by integers. Thus, you can reconstruct any such bandlimited function
g(t) from its samples at integer
spacings:
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.