Here out_I signal is Gaussain filtered.
out_I_up=upsample(out_I,5000); xx=300*fir1(100,1/5000); % order N=100, cutoff frequency=1/300 out_i=filter(xx, 1, out_I_up);
Can't i replace it with??
out_i=resample(out_I,3000,1);
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!