please help "Output argument ‹variable› (and maybe others) not assigned during call to ‹function›". I have attached the required files.
Afficher commentaires plus anciens
here is the function which is showing error %
function [fr,f_i,f_l,f_a]=find_freqs (H,F)
k=1;
u=1;
f_i=zeros(length(H),1);
for i = 1+u:length(H)-u
if H(i+u)<H(i)
if H(i-u)<H(i)
fr(k)=F(i);
f_i(i)=max(H);
f_l(k)=i;
f_a(k)=H(i);
k=k+1;
end
end
end
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!