Problem with giving time varying coefficients through input port in discrete FIR filter block in Simulink?
Afficher commentaires plus anciens
I am trying to implement a time varying filter with the coefficients varying in every 1/128sec. Hence, I chose the input port option in the discrete FIR filter block. I have 71 coeff at a time to input. And for 9331 times that is my matrix is 9331x71. The errors shown are as follows:
Matrix inputs are not supported on the coefficient (Num) port of 'simulink_1/Discrete FIR Filter'.
Error in port widths or dimensions. Output port 1 of 'simulink_1/MATLAB Function2' is a [9331x71] matrix.
Please help as I want to send one row at a time and I have already set 13128 as the sample time but the error seems to show that the whole matrix is being sent?
1 commentaire
Navan Ruthramoorthy
le 8 Juil 2013
What kind of source block are you using to get your matrix data into the model? If you use "Signal From Workspace" block with this matrix as input, you should be able to get 71 element row vector at each time step.
Réponses (0)
Catégories
En savoir plus sur DSP System Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!