summaryrefslogtreecommitdiff
path: root/demos/Brijesh_Demos/test_range.sci
diff options
context:
space:
mode:
Diffstat (limited to 'demos/Brijesh_Demos/test_range.sci')
-rw-r--r--demos/Brijesh_Demos/test_range.sci8
1 files changed, 8 insertions, 0 deletions
diff --git a/demos/Brijesh_Demos/test_range.sci b/demos/Brijesh_Demos/test_range.sci
new file mode 100644
index 0000000..beca7a1
--- /dev/null
+++ b/demos/Brijesh_Demos/test_range.sci
@@ -0,0 +1,8 @@
+function test_range
+ disp('Datatype: Double');
+ i1 = [1 2 3; 4 5 6; 7 8 9];
+ i2 = 4;
+ [o1, o2] = range(i1, i2);
+ disp(o1);
+ disp(o2);
+endfunction