MATLAB: Making different signals equal in length

data mininglength

Hi, I am working with a set of data and i need all of them to be the same length. how can i do this?

Best Answer

It depends. As said already you can crop the longer ones, pad the shorter ones or apply an interpolation. For the latter there are linear, cubic, spline, bsline, trigonometric and more complicated interpolation methods.