Mathematical analysis

Calculate the probability of a run or streak of k consecutive successes in n bernoulli trials. in matlab

The following Matlab project contains the source code and Matlab examples used for calculate the probability of a run or streak of k consecutive successes in n bernoulli trials. . % RESULT = PROBOFSTREAK(N, K, P) % Function to calculate the probability of getting a run or streak of K % consecutive successes in N Bernoulli trials with probability P.

Truncated multivariate normal in matlab

The following Matlab project contains the source code and Matlab examples used for truncated multivariate normal.    X = rmvnrnd(MU,SIG,N,A,B) returns in N-by-P matrix X a    random sample drawn from the P-dimensional multivariate normal    distribution with mean MU and covariance SIG truncated to a    region bounded by the hyperplanes defined by the inequalities Ax<=B.

Solves the wave dispersion relation using the newton-raphson method including currents in matlab

The following Matlab project contains the source code and Matlab examples used for solves the wave dispersion relation using the newton-raphson method including currents . Solves the wave dispersion relation   sig^2 = g*wk*tanh(wk*h)  where   g = gravity [L/T^2]   h = water depth [L]   sig = Relative angular frequency [rad/T]   sig = wa - wk*cos(wd)*u - wk*cos(wd)*v = wa - wk*uk [rad/T]   uk = cos(wd)*u + sin(wd)*v [L/T]   u = current velocity in x direction [L/T]   v = current velocity in y direction [L/T]  The Newton-Raphson Method is given by

Alternative algorithm for computing the cdf of the noncentral student's t-distribution in matlab

The following Matlab project contains the source code and Matlab examples used for alternative algorithm for computing the cdf of the noncentral student's t-distribution . P = NCTCDFVW(X,NU,NCP,TAIL) returns the cummulative distribution function (CDF) of the noncentral T distribution with NU degrees of freedom and the non-centrality parameter NCP, at the values X.

Huygens fresnel integral approximation, free form apertures and rough surfaces in matlab

The following Matlab project contains the source code and Matlab examples used for huygens fresnel integral approximation, free form apertures and rough surfaces. A Matlab toolbox to simulate light propagation for monochromatic coherent light through free-form apertures and off rough/free-form surfaces by means of a numerical approximation of the Huygens-Fresnel integral.

Fresnel integral wrapper function in matlab

The following Matlab project contains the source code and Matlab examples used for fresnel integral wrapper function. This function computes the fresnel integral of scalar/vector x using global adaptive quadrature method. x is the upper bound of Fresnel integral tor is the absolute tolerance default tor = 1e-6                     Disi A--Apr,9th,2013                     adis@mit.edu

Pages

Subscribe to RSS - Mathematical analysis
Error | freesourcecode.net

Error

The website encountered an unexpected error. Please try again later.