diff options
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); |