Matched filter in function matlab simulink
Mostrar comentarios más antiguos
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
Respuestas (1)
Honglei Chen
el 26 de En. de 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
Categorías
Más información sobre Matched Filter and Ambiguity Function en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!