radiohead
Advanced Member level 1
- Joined
- May 13, 2004
- Messages
- 447
- Helped
- 66
- Reputation
- 128
- Reaction score
- 31
- Trophy points
- 1,308
- Location
- Heart of Europe
- Activity points
- 3,562
Hi,
I have some data in tow arrays, containing the data and timestamp. For example
data(1)=10
timestamp(1)=100
data(2)=11
timestamp(2)=110
et cetera
I want to filter the data using FIR/IIR implementations. For this two things need to be done
* Extend the data series, so for t=100...109 data=100
* Do the filtering
Is there an efficient way to do this processing in matlab directly on the first data, without the time-consuming step of generating the intermediary array (10,10,10,10,10,10,10,10,10,10,11,11,11,....)?
Thanks
I have some data in tow arrays, containing the data and timestamp. For example
data(1)=10
timestamp(1)=100
data(2)=11
timestamp(2)=110
et cetera
I want to filter the data using FIR/IIR implementations. For this two things need to be done
* Extend the data series, so for t=100...109 data=100
* Do the filtering
Is there an efficient way to do this processing in matlab directly on the first data, without the time-consuming step of generating the intermediary array (10,10,10,10,10,10,10,10,10,10,11,11,11,....)?
Thanks