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
2015년 1월 26일
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
카테고리
도움말 센터 및 File Exchange에서 Matched Filter and Ambiguity Function에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!