how to normalize two discrete time series signal to same time duration???

i have two signals of length say t1 for 15 sec and t2 for 17 sec of respective amplitude vectors a1 and a2...
now how to normalize two signals for either 13 or 16 or 18 secs i.e of same length??
which command to use??
thanks in advance..

Answers (1)

Use interp1. Or create a fit using fit or polyfit. But beware the difference between interpolation and extrapolation.

Asked:

on 22 Nov 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!