Matched filter in function matlab simulink
Mostra commenti meno recenti
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
Risposte (1)
Honglei Chen
il 26 Gen 2015
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
Categorie
Scopri di più su Matched Filter and Ambiguity Function in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!