ragnarius
ragnarius

Reputation: 5813

Max-filter in matlab?

I like to find the envelope of an audio signal using matlab, i.e. the red signal in the picture. I have implemented a max-filter but the implementation is very slow. Does matlab have a built in max-filter or some other function that can calculate the envelope? (I have found a median filter but no max-filter)

max-filter applied to an audio signal

Upvotes: 1

Views: 2448

Answers (1)

Herr von Wurst
Herr von Wurst

Reputation: 2621

There is no built-in max filter, but there are user generated functions at the MATLAB File Exchange. For example:

http://www.mathworks.com/matlabcentral/fileexchange/24902-envelope

Upvotes: 3

Related Questions