开发者

simplified _resample_ algorithm in matlab

开发者 https://www.devze.com 2023-03-18 03:48 出处:网络
I am generating a variable size rows of samples from a DSP algo开发者_JAVA百科rithm. I mean each of the row contains random number of elements(Well, depending on the input).

I am generating a variable size rows of samples from a DSP algo开发者_JAVA百科rithm. I mean each of the row contains random number of elements(Well, depending on the input).

I would like to resize into a specific number of samples per row.

Ex: column count in each row: 15 24 41 09 27 Say I would like to make it 30 element in a row.

Each of the row is a digitized curve samples. I'm interested in making it contain equisized sample elements.


I think you need to resample your row values, the idea is roughly like this:

  1. interpolate each row to a continuous curve
  2. quantize each curve to a fixed number of values (30)

Obviously, for row with >30 values, you will lose some information.

0

精彩评论

暂无评论...
验证码 换一张
取 消