diff options
author | Abhinav Dronamraju | 2017-09-29 22:00:40 +0530 |
---|---|---|
committer | Abhinav Dronamraju | 2017-09-29 22:00:40 +0530 |
commit | 9bc7ad78e8d7d7acc4b9387aa592542832e80b31 (patch) | |
tree | 7fce060665a91de5e5adb12d02003351c3d1fdfc /demos/Abhinav_Demos/test_hank.sci | |
parent | 33755eb085a3ca8154cf83773b23fbb8aac4ba3e (diff) | |
parent | ac0045f12ad3d0938758e9742f4107a334e1afaa (diff) | |
download | scilab2c-9bc7ad78e8d7d7acc4b9387aa592542832e80b31.tar.gz scilab2c-9bc7ad78e8d7d7acc4b9387aa592542832e80b31.tar.bz2 scilab2c-9bc7ad78e8d7d7acc4b9387aa592542832e80b31.zip |
NEW FEATURES AND NEW FUNCTIONS
Diffstat (limited to 'demos/Abhinav_Demos/test_hank.sci')
-rw-r--r-- | demos/Abhinav_Demos/test_hank.sci | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/demos/Abhinav_Demos/test_hank.sci b/demos/Abhinav_Demos/test_hank.sci new file mode 100644 index 00000000..b55cbc81 --- /dev/null +++ b/demos/Abhinav_Demos/test_hank.sci @@ -0,0 +1,21 @@ +// 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_hank() + seq= [1 21 123 12;11 4 5 6] + final= hank(2,1,seq); + //disp(seq) + disp('') + disp(final) + disp('') + seq1= float([21 1231 1 12; 1231 12 21 2]) + a=float(2) + b=float(1) + final1 = hank(a,b, seq1) + disp('') + disp(final1) + disp('') + +endfunction |