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