From 9a2e3e3174a9ff35ba9b739cec4a0b8c052a8dbe Mon Sep 17 00:00:00 2001 From: Brijeshcr Date: Thu, 20 Jul 2017 19:35:19 +0530 Subject: Added erfinv --- 2.3-1/demos/Brijesh_Demos/Test_Erfinv.sci | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 2.3-1/demos/Brijesh_Demos/Test_Erfinv.sci (limited to '2.3-1/demos/Brijesh_Demos') diff --git a/2.3-1/demos/Brijesh_Demos/Test_Erfinv.sci b/2.3-1/demos/Brijesh_Demos/Test_Erfinv.sci new file mode 100644 index 00000000..99a8683a --- /dev/null +++ b/2.3-1/demos/Brijesh_Demos/Test_Erfinv.sci @@ -0,0 +1,10 @@ +function Test_Erfinv + disp('Datatype: Double'); + i1 = [12 0.6 -2 -0.75]; + o1 = erfinv(i1); + disp(o1); + disp('Datatype: float'); + i2 = float([5 0.35 -1 -.97 -6]); + o2 = erf(i2); + disp(o2); +endfunction -- cgit