I found this filter in a MatLab program:
F2=H2./G2;
for i=1:31 if G2(i,1)==0 F2(i,1)=0;
end
end
It says that if any element between 1 and 31 in G2 is 0 (or very small that it's practically 0) then any element in F2 should be 0 between 1 and 31. How can I write something similar in Mathematica?
Thank you in advance.