ローパスフィルタでフィルタリングするスクリプトをmatlab coderでCコードに変換(生成)する方法
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
フィルタデザイナよりエクスポートしたローパスフィルタ(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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu MATLAB Coder finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!