filter, decay, delayed versions
1 view (last 30 days)
Show older comments
Hello everyone,
I need advice on a simple query.
I need a FIR filter which has decay time specified by me.
The filter coefficients will decay either exponentially or any profile I want.
The filter will basically add delayed versions of my signal which is randn(1,1000).
How can I do this in matlab?
Cheers
P
0 Comments
Answers (1)
Jan
on 11 Sep 2012
Perhaps something like this:
B = [1,3,2,4,5,6,4,3]; % Or "any profile you want"
B = B / sum(B); % For example
A = 1;
x = rand(1, 1000);
y = filter(B, A, x);
See Also
Categories
Find more on Digital Filter Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!