ローパスフィルタでフィルタリングするスクリプトをmatlab coderでCコードに変換(生成)する方法
15 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
フィルタデザイナよりエクスポートしたローパスフィルタ(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);
--------------------------------------
0 Commenti
Risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!