diff options
author | Abhinav Dronamraju | 2017-07-27 18:16:59 +0530 |
---|---|---|
committer | Abhinav Dronamraju | 2017-07-27 18:16:59 +0530 |
commit | 9b3788e3f1b061bee62ad14c0bfbd7dfd64fbd01 (patch) | |
tree | 2facf6c7113b524e4dafda74d264de43c843ff74 /demos/Abhinav_Demos/column.sci | |
parent | 388b2e5e833667609f9ddca5f86f5859c8819399 (diff) | |
download | Scilab2C_fossee_old-9b3788e3f1b061bee62ad14c0bfbd7dfd64fbd01.tar.gz Scilab2C_fossee_old-9b3788e3f1b061bee62ad14c0bfbd7dfd64fbd01.tar.bz2 Scilab2C_fossee_old-9b3788e3f1b061bee62ad14c0bfbd7dfd64fbd01.zip |
Nan Median Added
Diffstat (limited to 'demos/Abhinav_Demos/column.sci')
-rw-r--r-- | demos/Abhinav_Demos/column.sci | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/demos/Abhinav_Demos/column.sci b/demos/Abhinav_Demos/column.sci new file mode 100644 index 0000000..8220987 --- /dev/null +++ b/demos/Abhinav_Demos/column.sci @@ -0,0 +1,26 @@ +// 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 column() + a=[1,2,3,4; 5,6,7,8; 98,162,6587,0] + disp( iscolumn(a)) + disp('') + b= float(a) + disp(iscolumn(b)) + c= [1,2,34,5] + d= uint16(c) + disp(iscolumn(d)) + disp('') + f= [1;2;3;4] + disp(iscolumn(f)) + disp('') + u= uint16(c) + disp(iscolumn(u)) + disp('') + g= [%i] + disp(iscolumn(g)) + disp('') + +endfunction |