Fixed-Point Toolbox Tutorial (Japanese) demo files

by

 

"Fixed-Point Toolbox Tutorial (Japanese)" demo files. 「Fixed-Point Toolbox チュートリアル」の例題ファイルです。

run_myfilter_fi.m
% myfiltervZʕ\pXNvgiŒ菬_j
% fiIuWFNgpmyfilteřvZs

% ͐MtB^WfiIuWFNg쐬
% numerictypeݒ	F LA꒷16rbgA15rbgiX[v2^-15j
% fimathݒ		F AL[^ɍ킹ݒ
u_fi   = fi(u, true, 16, 15, F);
num_fi = fi(num, true, 16, 15, F);
den_fi = fi(den, true, 16, 15, F);

% myfilteřvZiŒ菬_j
[y_fi, acc_fi]= myfilter_fi(num_fi, den_fi, u_fi, Ty, Tacc, true);

% vZʂ̃vbg
plot_myfilter(f, u, H, y_dbl, y_fi)

Contact us