Matched filter in function matlab simulink

I'm trying to implement a matched filter from an input u and an output y using the matlab function block in Simulink.
In the website it says that I can use this commands
H = phased.MatchedFilter creates a matched filter System object™, H. The object performs matched filtering on the input data.
H = phased.MatchedFilter(Name,Value) creates a matched filter object, H, with each specified property Name set to the specified Value. You can specify additional name-value pair arguments in any order as (Name1,Value1,...,NameN,ValueN).
How could I do that?
Thanks in advance

답변 (1개)

Honglei Chen
Honglei Chen 2015년 1월 26일

0 개 추천

Here is an example:
x = ones(10,1);
mf = phased.MatchedFilter('CoefficientsSource','Input port');
y = step(mf,x,conj(flipud(x)))
If you have R2014b, you don't have to go through this, you can directly use the matched filter block in the Phased Array System Toolbox library
Just set Source of Coefficients to Input port and hook the flipped coefficients to the coefficient port.
HTH

카테고리

질문:

2015년 1월 24일

답변:

2015년 1월 26일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by