Wavelet and hdl coder
12 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commento
Risposte (1)
Yuebin Zhou
il 23 Mag 2017
You can check the documentation of wavedec and waverec and see if you passed in the right arguments.
0 Commenti
Vedere anche
Categorie
Scopri di più su HDL Code Generation in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!