diff options
Diffstat (limited to 'demos/Brijesh_Demos/test_sind.sci')
-rw-r--r-- | demos/Brijesh_Demos/test_sind.sci | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/demos/Brijesh_Demos/test_sind.sci b/demos/Brijesh_Demos/test_sind.sci new file mode 100644 index 0000000..7f39166 --- /dev/null +++ b/demos/Brijesh_Demos/test_sind.sci @@ -0,0 +1,10 @@ +function test_sind + disp('Datatype: Double'); + i1 = [0 30 45; 60 80 120] ; + o1 = sind(i1); + disp(o1); + disp('Datatype: float'); + i2 = float([0 30 45; 60 80 120]); + o2 = sind(i2); + disp(o2); +endfunction |