summaryrefslogtreecommitdiff
path: root/demos/Brijesh_Demos/test_erfc.sci
diff options
context:
space:
mode:
authorBrijeshcr2017-07-27 18:29:25 +0530
committerBrijeshcr2017-07-27 18:29:25 +0530
commit4bd28238003609980b66edbd25dae9239a237843 (patch)
tree49c5f6b3e0bbf1d5ad8f4b432fbb2de5e9e77ffe /demos/Brijesh_Demos/test_erfc.sci
parent07d9e48f562ecdfc20192c0af6cb06a413caf30e (diff)
downloadscilab2c-4bd28238003609980b66edbd25dae9239a237843.tar.gz
scilab2c-4bd28238003609980b66edbd25dae9239a237843.tar.bz2
scilab2c-4bd28238003609980b66edbd25dae9239a237843.zip
Nanmin and Nanmean added
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 00000000..ac50e150
--- /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