summaryrefslogtreecommitdiff
path: root/2.3-1/tests/unit_tests/test_filtsinc/scilabcode/filt_sinctest.sci
blob: ab674b6789fa6b18623fa93d33a3ae1aa1f1f05e (plain)
1
2
3
4
5
6
7
8
9
10
//This is the demo for filt_sinc function
//This function gives the samples of the sinc fuction
function filt_sinctest()
    ni=int(10);  //This is the number of samples
    fc=2;        //This is the cut-off freq. of the assosciated low pass filter
    sd=filt_sinc(ni,fc);
    disp(sd);
endfunction
//output
//