summaryrefslogtreecommitdiff
path: root/2.3-1/demos/Brijesh_Demos/test_besseli.sci
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/demos/Brijesh_Demos/test_besseli.sci')
-rw-r--r--2.3-1/demos/Brijesh_Demos/test_besseli.sci12
1 files changed, 12 insertions, 0 deletions
diff --git a/2.3-1/demos/Brijesh_Demos/test_besseli.sci b/2.3-1/demos/Brijesh_Demos/test_besseli.sci
new file mode 100644
index 00000000..c08142fd
--- /dev/null
+++ b/2.3-1/demos/Brijesh_Demos/test_besseli.sci
@@ -0,0 +1,12 @@
+function test_besseli
+ disp('Datatype: Double');
+ i1 = [1 2 3 4 5];
+ i2 = [6 7 8 9 10];
+ o1 = besseli(i1,i2);
+ disp(o1);
+ disp('Datatype: float');
+ i3 = float([1 2 3 4 5]);
+ i4 = float([6 7 8 9 10]);
+ o2 = besseli(i3,i4);
+ disp(o2);
+endfunction