Forums

Oversampling for discrete time input

Started by Richard_K October 18, 2006
Hi,

May I know how to perform oversampling for discrete time input in MATLAB?

Thanks
"Richard_K" <ngyh80@hotmail.com> writes:

> Hi, > > May I know how to perform oversampling for discrete time input in MATLAB?
Hi Richard, Check out interp(). Another good group for Matlab questions is comp.soft-sys.matlab. -- % Randy Yates % "Remember the good old 1980's, when %% Fuquay-Varina, NC % things were so uncomplicated?" %%% 919-577-9882 % 'Ticket To The Moon' %%%% <yates@ieee.org> % *Time*, Electric Light Orchestra http://home.earthlink.net/~yatescr
you can also using upsample(x, N)...

"chaselweng" <jianjiaweng@gmail.com> writes:

> you can also using upsample(x, N)...
upsample() zero-pads, interp() interpolates the zero-padded. Usually when one requires oversampling, they want the spurious images removed, i.e., they want to use interp(). -- % Randy Yates % "Rollin' and riding and slippin' and %% Fuquay-Varina, NC % sliding, it's magic." %%% 919-577-9882 % %%%% <yates@ieee.org> % 'Living' Thing', *A New World Record*, ELO http://home.earthlink.net/~yatescr
Dear all,

Thanks a lot for your help.

>"chaselweng" <jianjiaweng@gmail.com> writes: > >> you can also using upsample(x, N)... > >upsample() zero-pads, interp() interpolates the zero-padded. Usually >when one requires oversampling, they want the spurious images removed, >i.e., they want to use interp(). >-- >% Randy Yates % "Rollin' and riding and slippin' and >%% Fuquay-Varina, NC % sliding, it's magic." >%%% 919-577-9882 % >%%%% <yates@ieee.org> % 'Living' Thing', *A New World Record*,
ELO
>http://home.earthlink.net/~yatescr >