Wavelet and hdl coder

3 ビュー (過去 30 日間)
TrilGiu
TrilGiu 2017 年 5 月 17 日
コメント済み: Aloka Perera 2019 年 8 月 21 日
Hi, I'm new to use the HDL coder.The val vector is sine with noise .My problem in fixed-point conversion :
function base=baseline(val)
n=10;
[e,f]=wavedec(val,n,'db6');
for i=1:f(1);e(i)=0;
end
base=waverec(e,f,'db6');
end
Error:
Expression must be numeric. Found it to be
embedded.fi {ufix5}
Possible error? Thank you
  1 件のコメント
Aloka Perera
Aloka Perera 2019 年 8 月 21 日
did you find a way to sort this out ?/

サインインしてコメントする。

回答 (1 件)

Yuebin Zhou
Yuebin Zhou 2017 年 5 月 23 日
You can check the documentation of wavedec and waverec and see if you passed in the right arguments.

カテゴリ

Help Center および File ExchangeFPGA, ASIC, and SoC Development についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by