summaryrefslogtreecommitdiff
path: root/demos/Brijesh_Demos/test_besselj.sci
diff options
context:
space:
mode:
Diffstat (limited to 'demos/Brijesh_Demos/test_besselj.sci')
-rw-r--r--demos/Brijesh_Demos/test_besselj.sci12
1 files changed, 12 insertions, 0 deletions
diff --git a/demos/Brijesh_Demos/test_besselj.sci b/demos/Brijesh_Demos/test_besselj.sci
new file mode 100644
index 0000000..a9b92ed
--- /dev/null
+++ b/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