How to design analog filter in Simulink which can be used for C code generation?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Tushar Mahalle
il 5 Gen 2019
Risposto: Sachin Meena
il 8 Gen 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.![21.JPG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/200205/21.jpeg)
![21.JPG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/200205/21.jpeg)
0 Commenti
Risposta accettata
Sachin Meena
il 8 Gen 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 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!