In fi >= non-fi, or non-fi >= fi, the non-fi must be a constant
Mostra commenti meno recenti
Hello There,
I'm converting a Matlab (.m) file to fixed point
"Function call failed."
"In fi <= non-fi, or non-fi <= fi, the non-fi must be a constant."
Here is my code -----------------
x=amp*sin_vec(2*pi*f*t); % Sinusoid input singal (Hz)
jj=-(amp-Delta):Delta:(amp-Delta);
for j=1:jx
for k=1:1:km
if (x(k)>=jj(j)) % <---- error at this line
end
end
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Fixed-Point Designer in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!