summaryrefslogtreecommitdiff
path: root/2.3-1/demos/Brijesh_Demos/test_besselj.sci
diff options
context:
space:
mode:
authorAbhinav Dronamraju2017-09-11 17:02:19 +0530
committerAbhinav Dronamraju2017-09-11 17:02:19 +0530
commit7625c1062fcbd0869855307ab05738361da93374 (patch)
tree6be6cc972d1723c833486863926fbdf1af4585d9 /2.3-1/demos/Brijesh_Demos/test_besselj.sci
parentcdf09d98161ad898e0832abe8116a22191c85ad5 (diff)
parentc78dab5c12c6c09574e93667fd04d015e429abf9 (diff)
downloadScilab2C-7625c1062fcbd0869855307ab05738361da93374.tar.gz
Scilab2C-7625c1062fcbd0869855307ab05738361da93374.tar.bz2
Scilab2C-7625c1062fcbd0869855307ab05738361da93374.zip
merge
Merge branch 'master' of https://github.com/FOSSEE/Scilab2C
Diffstat (limited to '2.3-1/demos/Brijesh_Demos/test_besselj.sci')
-rw-r--r--2.3-1/demos/Brijesh_Demos/test_besselj.sci12
1 files changed, 12 insertions, 0 deletions
diff --git a/2.3-1/demos/Brijesh_Demos/test_besselj.sci b/2.3-1/demos/Brijesh_Demos/test_besselj.sci
new file mode 100644
index 00000000..a9b92ed1
--- /dev/null
+++ b/2.3-1/demos/Brijesh_Demos/test_besselj.sci
@@ -0,0 +1,12 @@
+function test_besselj
+ disp('Datatype: Double');
+ i1 = [1 2 3 4 5];
+ i2 = [6 7 8 9 10];
+ o1 = besselj(i1,i2);
+ disp(o1);
+ disp('Datatype: float');
+ i3 = float([1 2 3 4 5]);
+ i4 = float([6 7 8 9 10]);
+ o2 = besselj(i3,i4);
+ disp(o2);
+endfunction