diff options
author | Ankitr19 | 2017-07-11 09:01:07 +0530 |
---|---|---|
committer | Ankitr19 | 2017-07-11 09:01:07 +0530 |
commit | e09999991b1417f0984a8324d92f1d477fc42a15 (patch) | |
tree | 004642df9aeb29cc63cb753745547fd32579151a /2.3-1/tests/unit_tests/test_filtsinc/scilabcode | |
parent | f55e3c1bd4f625f040030f398bb4501ae91d494e (diff) | |
download | Scilab2C-e09999991b1417f0984a8324d92f1d477fc42a15.tar.gz Scilab2C-e09999991b1417f0984a8324d92f1d477fc42a15.tar.bz2 Scilab2C-e09999991b1417f0984a8324d92f1d477fc42a15.zip |
New demos for signal processing functions
Diffstat (limited to '2.3-1/tests/unit_tests/test_filtsinc/scilabcode')
-rw-r--r-- | 2.3-1/tests/unit_tests/test_filtsinc/scilabcode/filt_sinctest.sci | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/2.3-1/tests/unit_tests/test_filtsinc/scilabcode/filt_sinctest.sci b/2.3-1/tests/unit_tests/test_filtsinc/scilabcode/filt_sinctest.sci new file mode 100644 index 00000000..ab674b67 --- /dev/null +++ b/2.3-1/tests/unit_tests/test_filtsinc/scilabcode/filt_sinctest.sci @@ -0,0 +1,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 +// |