[Master Index] [Index for /tools/hpmatlab/toolbox/signal]

interp

(/tools/hpmatlab/toolbox/signal/interp.m)


Function Synopsis

[odata,b] = interp(idata,r,l,alpha)

Help text

INTERP	Resample data at a higher rate using lowpass interpolation.
	Y = INTERP(X,R) resamples the sequence in vector X at R times
	the original sample rate.  The resulting resampled vector Y is
	R times longer, LENGTH(Y) = R*LENGTH(X).

	A symmetric filter, B, allows the original data to pass through
	unchanged and interpolates between so that the mean square error
	between them and their ideal values is minimized.
	Y = INTERP(X,R,L,ALPHA) allows specification of arguments
	L and ALPHA which otherwise default to 4 and .5 respectively.
	2*L is the number of original sample values used to perform the
	interpolation.  Ideally L should be less than or equal to 10.
	The length of B is 2*L*R+1. The signal is assumed to be band
	limited with cutoff frequency 0 < ALPHA <= 1.0. 
	[Y,B] = INTERP(X,R,L,ALPHA) returns the coefficients of the
	interpolation filter B.  See also DECIMATE.

Cross-Reference Information

This function calls

Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON