summaryrefslogtreecommitdiff
path: root/demos/Brijesh_Demos/test_tand.sci
diff options
context:
space:
mode:
authorAbhinav Dronamraju2017-09-29 22:00:40 +0530
committerAbhinav Dronamraju2017-09-29 22:00:40 +0530
commit9bc7ad78e8d7d7acc4b9387aa592542832e80b31 (patch)
tree7fce060665a91de5e5adb12d02003351c3d1fdfc /demos/Brijesh_Demos/test_tand.sci
parent33755eb085a3ca8154cf83773b23fbb8aac4ba3e (diff)
parentac0045f12ad3d0938758e9742f4107a334e1afaa (diff)
downloadscilab2c-9bc7ad78e8d7d7acc4b9387aa592542832e80b31.tar.gz
scilab2c-9bc7ad78e8d7d7acc4b9387aa592542832e80b31.tar.bz2
scilab2c-9bc7ad78e8d7d7acc4b9387aa592542832e80b31.zip
NEW FEATURES AND NEW FUNCTIONS
Diffstat (limited to 'demos/Brijesh_Demos/test_tand.sci')
-rw-r--r--demos/Brijesh_Demos/test_tand.sci10
1 files changed, 10 insertions, 0 deletions
diff --git a/demos/Brijesh_Demos/test_tand.sci b/demos/Brijesh_Demos/test_tand.sci
new file mode 100644
index 00000000..3143a88a
--- /dev/null
+++ b/demos/Brijesh_Demos/test_tand.sci
@@ -0,0 +1,10 @@
+function test_tand
+ disp('Datatype: Double');
+ i1 = [0 30 45; 60 80 120] ;
+ o1 = tand(i1);
+ disp(o1);
+ disp('Datatype: float');
+ i2 = float([0 30 45; 60 80 120]);
+ o2 = tand(i2);
+ disp(o2);
+endfunction