summaryrefslogtreecommitdiff
path: root/2.3-1/demos/Abhinav_Demos/column.sci
diff options
context:
space:
mode:
authorAbhinav Dronamraju2017-07-27 18:16:59 +0530
committerAbhinav Dronamraju2017-07-27 18:16:59 +0530
commitcd41972eb98c3c69f74d6788e76e7789a846e53a (patch)
tree0b9901799df41b2571a24f96f733257b56b57f1c /2.3-1/demos/Abhinav_Demos/column.sci
parentbcbe9d1aae596e2a3e1669d0308bfa9003365972 (diff)
downloadScilab2C-cd41972eb98c3c69f74d6788e76e7789a846e53a.tar.gz
Scilab2C-cd41972eb98c3c69f74d6788e76e7789a846e53a.tar.bz2
Scilab2C-cd41972eb98c3c69f74d6788e76e7789a846e53a.zip
Nan Median Added
Diffstat (limited to '2.3-1/demos/Abhinav_Demos/column.sci')
-rw-r--r--2.3-1/demos/Abhinav_Demos/column.sci26
1 files changed, 26 insertions, 0 deletions
diff --git a/2.3-1/demos/Abhinav_Demos/column.sci b/2.3-1/demos/Abhinav_Demos/column.sci
new file mode 100644
index 00000000..82209876
--- /dev/null
+++ b/2.3-1/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