diff options
author | Sunil Shetye | 2019-05-16 12:18:48 +0530 |
---|---|---|
committer | Sunil Shetye | 2019-05-29 11:08:01 +0530 |
commit | 26b77d7593b5ee0792b6b556f5569ea4227c2b02 (patch) | |
tree | 8f92052234b01bf39b9c3a6e3cb12b3962d96b1b /tests/unit_tests/test301_cchirp/scilabcode | |
parent | 5a73e6bec4a12db7afae9de300e39256f754d8d3 (diff) | |
download | scilab2c-26b77d7593b5ee0792b6b556f5569ea4227c2b02.tar.gz scilab2c-26b77d7593b5ee0792b6b556f5569ea4227c2b02.tar.bz2 scilab2c-26b77d7593b5ee0792b6b556f5569ea4227c2b02.zip |
convert to unix format
Diffstat (limited to 'tests/unit_tests/test301_cchirp/scilabcode')
-rw-r--r-- | tests/unit_tests/test301_cchirp/scilabcode/mainfunction.sci | 4 | ||||
-rw-r--r-- | tests/unit_tests/test301_cchirp/scilabcode/myconvol.sci | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit_tests/test301_cchirp/scilabcode/mainfunction.sci b/tests/unit_tests/test301_cchirp/scilabcode/mainfunction.sci index 5719fc08..42dcd997 100644 --- a/tests/unit_tests/test301_cchirp/scilabcode/mainfunction.sci +++ b/tests/unit_tests/test301_cchirp/scilabcode/mainfunction.sci @@ -1,5 +1,5 @@ -//SCI2C: DEFAULT_PRECISION= DOUBLE
-function mainfunction()
+//SCI2C: DEFAULT_PRECISION= DOUBLE +function mainfunction() //---> MOREA: commentare meglio lo scopo di questa funzione //---> NUTRICATO: annotare anche le funzioni di plot facendole puntare a funzioni dummy che non fanno nulla. //---> NUTRICATO: la convoluzione e' stata stostituita con una custom in quanto non ancora implementata da INRIA. diff --git a/tests/unit_tests/test301_cchirp/scilabcode/myconvol.sci b/tests/unit_tests/test301_cchirp/scilabcode/myconvol.sci index 6640c372..51bc7ff7 100644 --- a/tests/unit_tests/test301_cchirp/scilabcode/myconvol.sci +++ b/tests/unit_tests/test301_cchirp/scilabcode/myconvol.sci @@ -4,8 +4,8 @@ //SCI2C: OUT(1).SZ(1)= '1' //SCI2C: OUT(1).SZ(2)= FA_SUB(FA_ADD(IN(1).SZ(2),IN(2).SZ(2)),'1') //SCI2C: DEFAULT_PRECISION= DOUBLE -
-function y = myconvol(h,x)
+ +function y = myconvol(h,x) hlen = length(h); xlen = length(x); //y = zeros(1,hlen+xlen-1); |