summaryrefslogtreecommitdiff
path: root/demos/Abhinav_Demos/test_wiener.sci
diff options
context:
space:
mode:
authorAbhinav Dronamraju2017-09-11 17:31:44 +0530
committerAbhinav Dronamraju2017-09-11 17:31:44 +0530
commit12cd8c607d10b746e3b7fb973719c2317e8eef20 (patch)
tree39bcf12eb0abc766f584ba8de4c427af9f770e07 /demos/Abhinav_Demos/test_wiener.sci
parent273ef3e4f43d0ee0d495f5b1d923df3c17978798 (diff)
downloadScilab2C_fossee_old-12cd8c607d10b746e3b7fb973719c2317e8eef20.tar.gz
Scilab2C_fossee_old-12cd8c607d10b746e3b7fb973719c2317e8eef20.tar.bz2
Scilab2C_fossee_old-12cd8c607d10b746e3b7fb973719c2317e8eef20.zip
Added test files
Diffstat (limited to 'demos/Abhinav_Demos/test_wiener.sci')
-rw-r--r--demos/Abhinav_Demos/test_wiener.sci25
1 files changed, 25 insertions, 0 deletions
diff --git a/demos/Abhinav_Demos/test_wiener.sci b/demos/Abhinav_Demos/test_wiener.sci
new file mode 100644
index 0000000..780e957
--- /dev/null
+++ b/demos/Abhinav_Demos/test_wiener.sci
@@ -0,0 +1,25 @@
+// Test file for "Column" function for the data types double, float, double complex, string , uint16.
+// All the below statements are added to initialize variables in different data types
+//The function written doesn't work for string or character scalar as of now.
+
+
+function test_wiener()
+ disp(" ** WIENER ** ")
+ disp('Double')
+ y=[1 2 ; 3 4]
+ x0=[1 4; 3 6 ]
+ p0=[4 1 ; 27 8]
+ f=[22 0;1 3]
+ g= [10.1 2 ; 3 42]
+ h=[ 5 23 ;2 1]
+ q= [2 3 ; 12 3]
+ rr= [ 21 2 ; 100 91]
+ [xs,ps,xf,pf]= wiener(y,x0,p0,f,g,h,q,rr)
+ //disp(x1)
+ //disp(p1)
+ //disp(x)
+ //disp(p)
+
+
+
+endfunction