diff options
author | Brijeshcr | 2017-08-18 16:34:37 +0530 |
---|---|---|
committer | Brijeshcr | 2017-08-18 16:34:37 +0530 |
commit | 3aa26bd48e9d42e4f97fcafee4c761f36ea766bc (patch) | |
tree | e14e5e271ae83f02dbd834b290660303dc2a59bf /demos/Abhinav_Demos/test_rank.sci | |
parent | a210606cd1e59d66c621b0444d6c14927c71b381 (diff) | |
parent | 5b728d8239b1a1f4467e2485d54c7ed7db1d4f11 (diff) | |
download | Scilab2C_fossee_old-3aa26bd48e9d42e4f97fcafee4c761f36ea766bc.tar.gz Scilab2C_fossee_old-3aa26bd48e9d42e4f97fcafee4c761f36ea766bc.tar.bz2 Scilab2C_fossee_old-3aa26bd48e9d42e4f97fcafee4c761f36ea766bc.zip |
Added Log2 and Scaling
Diffstat (limited to 'demos/Abhinav_Demos/test_rank.sci')
-rw-r--r-- | demos/Abhinav_Demos/test_rank.sci | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/demos/Abhinav_Demos/test_rank.sci b/demos/Abhinav_Demos/test_rank.sci new file mode 100644 index 0000000..95f4a7d --- /dev/null +++ b/demos/Abhinav_Demos/test_rank.sci @@ -0,0 +1,20 @@ +// 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_rank() + disp(" ** RANK ** ") + disp('Double') + A = [1,2,3,11;4,5,0.1,2.12;7,0,0,16.11] // Matrix - A + s = rank(A) // Calling Function Sequence + disp(s) + disp('') + + disp('Double Complex') + B= [%i*12, 12 , 12; 98*%i , 24*%i, 0; 12, %i*12, 0]; + t= rank(B) + disp(t) + disp('') + +endfunction |