This function computes the Q function by integrating the Normal distribution.
It takes one paramter and calculates the right tail probablity.
x would have the value of .5
For an arbitrary Gaussian distribution with mean, mu, and variance, sigma^2, then the function is passed this form.
Ex. Say you have a distribution of G(3,4). mu = 3, and sigma = 2. You want to calculate the right tail probability that it will be greater than 3.5. The function call would look like
This is not the most efficient way of calculating this. I wrote this because I didn't have the proper toolbox. If you have the toolbox its just QFunc. Requirements:
· MATLAB Release: R13
Here we have an unknown function but we can have every value of function respect to every input. so there I used a fuzzy approximation method I to app...
Display Function Prototype
I sometimes forgot the input sequence of a function I've written a long time ago. This function displays the prototype of a function on the command li...
Lambert W Function
The Lambert W function, also called the omega function or "product log," is the function W(z) such that z = W(z)*exp(W(z)). That is, it solves z = w*e...
Find Injective Domains
Given a pair of vectors y and x, where y is a (well-defined) function of x, this function will return the subsets of y and x where y = f(x) is an inje...
FOURIER_BY_JUMP is a fourier analysis, especially made for sampled data, but it is not a DFT.The function assumes equidistant sampling and only one fu...
Sort Order Function
This is a simple function I wrote that comes in handy when I want to have href links on a page to sort a SQL query (in both ascending and decending or...
PHP library universal access to various database.Available databases:- mysqlAvailable functions:- function connect ($server='localhost', $username='te...
Rubik Cube Game
Rubik Cube Game - MATLAB toy.File list:ChangePointer.m - function for change of mouse pointerCongr.m - function for creation figure with congratulatio...
This function is an adaptation of Matlab's "quad" function to return the cumulative integration of an analytical function.e.g. compute integral:I(t) =...
Function Emulation Using __call__ 1.1
This script defines a simple but useful class that emulates a function to gracefully permit latent assignment. In other words, you can use the em...
The function finds a complex root of a complex function FUN by solving a system of two nonlinear real equations- real(FUN(x)) = 0;- imag(FUN(x)) = 0;o...
The purpose of the function is to "replace" create_function(). string $name ------ The name of the function. string $args ------ The arguments y...
Determining The Current Functions Name 1.3
This script defines the whoaminow() function that can be used inside a function to determine, at the time it is called, the name under which that...
C-mex File Example For 'float' Data Type
If you have a C function with arguments that are float or pointer to float (rather than double or pointer to double) you can call the function from MA...
Multivalued Function Interpolation
When interpolating a multivalued function (more than one y for each x), interp1 produces, at best, an error (if there are identical x data), and at wo...
Moebius Mu Function
The Moebius mu function is used in number theory and combinatorics. It was first introduced by August Ferdinand Moebius in 1831. The function is denot...
Function For Determination Of Age In Years
This free php function reliably calculates a persons age given their date of birth as input. To use, copy the function to your PHP page, pass in the d...
Mex Function Implementation Of Optimal Fir Wiener
In this mex function, C-subroutines to solve Yule-walker equation for an FIR Wiener filter solution are given as a mex function application example. T...
TOLPK finds all peaks raising above adjacent valeys from both sides by a given tolerance.The function will test differences between peaks and adjacent...