How to design analog filter in Simulink which can be used for C code generation?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Tushar Mahalle
le 5 Jan 2019
Réponse apportée : Sachin Meena
le 8 Jan 2019
I want to simulate analog filter in Simulink and then generate C code out of it. I tried designing it usingnvarious filter design options but could not achieve it.
'Analog Filter Design' block cannot be used as it gives continuous output which cannot be used for code generation.
While filters designed using other options are not giving correct filtering action.
Desigred signal frequency to pass is 50 to 800 Hz. Cutoff frequency can be any between 800 to 1000.
Sampling frequency is 2000Hz.

0 commentaires
Réponse acceptée
Sachin Meena
le 8 Jan 2019
Go through the "Extended Capabilities" section in the following document. It explains how to generate code from "Analog Filter Design". I am asuming that you do not need production grade code.
0 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!