Signal Processing Toolbox | Help Desk |
sinc
Sinc or sin(
y = sinc(x)
sinc
computes the sinc function of an input vector or array, where the sinc function is y = sinc(x)
returns an array y
the same size as x
, whose elements are the sinc
function of the elements of x
.
The space of functions bandlimited in the frequency band t = (1:10)'; % a column vector of time samples x = randn(size(t)); % a column vector of data % ts is times at which to interpolate data ts = linspace(-5,15,600)'; y = sinc(ts(:,ones(size(t))) - t(:,ones(size(ts)))')*
x; plot(t,x,'o',ts,y)
![]()
Cosine of vector/matrix elements (see MATLAB Function Reference). |
|
Sine of vector/matrix elements (see MATLAB Function Reference). |
|