From 14fc3be8d95da244daa1fa12d519ceee8fb97eae Mon Sep 17 00:00:00 2001 From: Brijeshcr Date: Tue, 8 Aug 2017 18:55:55 +0530 Subject: Added Sind and Tand --- demos/Brijesh_Demos/test_tand.sci | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 demos/Brijesh_Demos/test_tand.sci (limited to 'demos/Brijesh_Demos/test_tand.sci') 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 -- cgit