From 75558fc35bebe72c6db7e1b3b0c7ae214aa4fc8e Mon Sep 17 00:00:00 2001 From: Abhinav Dronamraju Date: Mon, 11 Sep 2017 17:31:44 +0530 Subject: Added test files --- 2.3-1/demos/Abhinav_Demos/test_faurre.sci | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 2.3-1/demos/Abhinav_Demos/test_faurre.sci (limited to '2.3-1/demos/Abhinav_Demos/test_faurre.sci') diff --git a/2.3-1/demos/Abhinav_Demos/test_faurre.sci b/2.3-1/demos/Abhinav_Demos/test_faurre.sci new file mode 100644 index 00000000..4c32354b --- /dev/null +++ b/2.3-1/demos/Abhinav_Demos/test_faurre.sci @@ -0,0 +1,22 @@ +// 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_faurre() + disp(" ** faurre ** ") + disp('Double') + n=3 + H= [ 2 1 1 ; 12 3 7; 5 1 2 ] + F=[ 0 2 21 ; 2 5.1 1; 5 6 1] + G=[ 1 2 21 ; 3 20 6; 5 6 7 ] + R0=[6 7 2; 51 1 2; 1 2 3] + [P R T]= faurre(n,H,F,G,R0) + disp(P) + disp('') + disp(R) + disp('') + disp(T) + disp('') + +endfunction -- cgit