diff options
author | Brijeshcr | 2017-08-08 18:55:55 +0530 |
---|---|---|
committer | Brijeshcr | 2017-08-08 18:55:55 +0530 |
commit | 60dc24077bf42ddf1b8973915350dfabdf5b040a (patch) | |
tree | 686fbd12c59335059a1c9cd5136428ba6e3f6126 /2.3-1/demos/Brijesh_Demos/test_sind.sci | |
parent | 3633223e4816948c61e107f4fb18eb193c0add27 (diff) | |
download | Scilab2C-60dc24077bf42ddf1b8973915350dfabdf5b040a.tar.gz Scilab2C-60dc24077bf42ddf1b8973915350dfabdf5b040a.tar.bz2 Scilab2C-60dc24077bf42ddf1b8973915350dfabdf5b040a.zip |
Added Sind and Tand
Diffstat (limited to '2.3-1/demos/Brijesh_Demos/test_sind.sci')
-rw-r--r-- | 2.3-1/demos/Brijesh_Demos/test_sind.sci | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/2.3-1/demos/Brijesh_Demos/test_sind.sci b/2.3-1/demos/Brijesh_Demos/test_sind.sci new file mode 100644 index 00000000..7f391663 --- /dev/null +++ b/2.3-1/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 |