ローパスフィルタでフィルタリングするスクリプトをmatlab coderでCコードに変換(生成)する方法
Afficher commentaires plus anciens
フィルタデザイナよりエクスポートしたローパスフィルタ(Hd)を
フィルタ関数を使ってフィルタリングするスクリプトを実行し
思った通りの結果が得られたのでCコードに変換するためmatlab coderを
使って変換を行おうとしていますが方法、手順がわかりません。
推奨される方法、手順を教えていただけないでしょうか。
もしくは記載されている資料を教えていただけないでしょうか。
--------------------------------------
>> Fs = 2882;
>> t = linspace(0,1,Fs);
>> y2 = filter(Hd,x);
>> plot(t,x,t,y2);
>> t = linspace(1,2882,Fs);
>> plot(t,x,t,y2);
--------------------------------------
Réponses (0)
Catégories
En savoir plus sur MATLAB Coder 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!