please help "Output argument ‹variable› (and maybe others) not assigned during call to ‹function›". I have attached the required files.
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!