diff options
author | Abhinav Dronamraju | 2017-07-20 21:48:58 +0530 |
---|---|---|
committer | Abhinav Dronamraju | 2017-07-20 21:48:58 +0530 |
commit | a5d7599fd743ed83186f48905b827af8587f6b9a (patch) | |
tree | 352ad1216ffa6a31537766ba94295e9c551bbcdf /demos/Abhinav_Demos/Row.sci | |
parent | 35ff505ddd9b1f269f2b6bfb4e7ed8e4ee20bf41 (diff) | |
parent | 29388094e30cae9f11ba82360c1d9bc03b229d10 (diff) | |
download | scilab2c-a5d7599fd743ed83186f48905b827af8587f6b9a.tar.gz scilab2c-a5d7599fd743ed83186f48905b827af8587f6b9a.tar.bz2 scilab2c-a5d7599fd743ed83186f48905b827af8587f6b9a.zip |
Added demos and merged FOSSEE master
Diffstat (limited to 'demos/Abhinav_Demos/Row.sci')
-rw-r--r-- | demos/Abhinav_Demos/Row.sci | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/demos/Abhinav_Demos/Row.sci b/demos/Abhinav_Demos/Row.sci new file mode 100644 index 00000000..264b174a --- /dev/null +++ b/demos/Abhinav_Demos/Row.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 Row() + a=[1,2,3,4; 5,6,7,8; 98,162,6587,0] + disp( isrow(a)) + disp('') + b= float(a) + disp(isrow(b)) + c= [1,2,34,5] + d= uint16(c) + disp(isrow(d)) + disp('') + f= [1;2;3;4] + disp(isrow(f)) + disp('') + u= uint16(c) + disp(isrow(u)) + disp('') + g= [%i*1; 7] + disp(isrow(g)) + disp('') +endfunction |