source:
issm/trunk/src/m/miscellaneous/normcdf_issm.m@
15396
| Last change on this file since 15396 was 15396, checked in by , 12 years ago | |
|---|---|
| File size: 158 bytes | |
| Line | |
|---|---|
| 1 | % |
| 2 | % wrapper for normcdf to avoid using the matlab statistics toolbox. |
| 3 | % |
| 4 | function [p]=normcdf_issm(x,mu,sigma) |
| 5 | |
| 6 | p=(1.+erf((x-mu)/(sigma*sqrt(2.))))/2.; |
| 7 | |
| 8 | end |
Note:
See TracBrowser
for help on using the repository browser.
![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)