42.528 resultados
Extend the error function to the complex plane.
. ERFZ enhances ERF to evaluate the error function of complex numbers too. If called with real numbers, it is identical to ERF and equally fast. ERFZ can replace ERF if no error message is required when
C++ MEX plugins to compute error functions (erf, erfc, erfi, erfcx, Faddeeva, ...) of complex args
| [similar to G. P. M. Poppe and C. M. J. Wijers, "More efficient computation of the complex error function," ACM Trans. Math. Soft. 16 (1), pp. 38–46 (1990)], and a completely different algorithm for smaller
The function file fadf.m computes the Voigt/complex error function with high accuracy
This program file computes the complex error function, also known as the Faddeeva function. The algorithmic implementation utilizes the approximations based on the Fourier expansion [1, 2] and the
complex erf function
This file is similar to the built-in MATLAB erf function, but accepts complex arguments. An included application example uses erf_ to compute the Fresnel integral functions and plot a Cornu spiral
This program file is presented for highly accurate approximation of the Voigt/complex error function with small imaginary argument y ≤ 0.1.
[Kxy,Lxy]=cedawSeu(x,y).This program file computes the complex error function with small imaginary argument 0≤y≤ 0.1. In the real and imaginary parts this program provides average accuracy exceeding
Function computes the complex scaled complementary error function.
Matlab provides the function erfcx which computes a scaled error function. However, the input argument must be real. This function computes the values of the Fadeeva function for complex inputs. Note
A function file to compute the complex error function with high-accuracy.
This function file computes the complex error function (also known as the Faddeeva function) by using a new method of sampling based on incomplete cosine expansion of the sinc function [1, 2
The program deconvolutes IR spectra of mordenites
maximum intensity of 1, defined width and position- complexErrorFunction.m and complexErrorFunction.m calculate comples error function and Voigt profile as kindly provided by Dr. F. Schreier. See doi
The function solves a problem of complex root of a complex user-defined function.
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; of a complex variable x = complex
Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units).
function errorbar_tick(h,w,xtype)ERRORBAR_TICK Adjust the width of errorbarsERRORBAR_TICK(H) adjust the width of error bars with handle H. Error bars width is given as a ratio of X axis lenght
Routines for creating color representations of complex functions (phase plots)
The ZIP-file provides several routines for creating color representations of complex (in particular analytic and meromorphic) functions. Basically the argument (phase) of the function is encoded by a
Compute the error function for complex inputs.
Compute the erf or error function for complex inputs. Valid over the entire complex plane.
Calculate Jacobian using complex step differentiation
Complex step differentiation (CSD) has many advantages in efferency and accuracy over finite difference approaches (central, forward and backward). This code demonstrates how the Jacobian matrix of a
Program-shell that accelerates computation of the Voigt and complex error functions for the HITRAN applications.
This function file computes the Voigt and complex error functions (also known as the Faddeeva function) in a rapid algorithm by vectorized interpolation. The program is particularly efficient for
atan2() or arctan2() function that is compatible with complex-step derivative operations.
The function atan2(Y,X) [or arctan2(Y,X)] is the four quadrant arctangent of the elements of X and Y such that -pi <= atan2(Y,X) <= pi.MATLAB atan2() reports an error when inputs are complex
This is a very simple extension of MatLab's bar function to add error bars.
Creates an attractive shaded error region rather than discrete bars.
shadedErrorBar shadedErrorBar is a MATLAB function that creates a continuous shaded error region around a line rather than discrete bars.The error region can either be specified explicitly or
Suite of tools to compute minimal bounding circles, rectangles, triangles, spheres, incircles, etc.
I've written quite a few separate tools to generate a minimal bounding object of some ilk. So if you have a set of points in the plane, and wish to generate the minimal bounding...- rectangle
Measures the differences between 2 images, and measurement of image quality.
main executing reference usage: usage_errorMeasurementsOfImages.m-----------------------------------------------------------------------------The objective is to measure the differences between 2
MATLAB translation (via f2matlab) of the original FORTRAN of "Computation of Special Functions."
functions.angular spheroidal wave functionsradial spheroidal wave functionserror function.Fresnel Integrals.modified Fresnel integrals.complex zeros of the error function.complex zeros of the Fresnel Integrals.cosine
Toolbox for generating uniform sampling patterns and decompositions of a unit sphere
, andmedical imaging (e.g., HARDI). The purpose of this submission is to provide Matlab users with a set of functions forgenerating uniform sampling patterns and decompositions of a unit sphere.Summary of Main
Find java objects contained within a specified java container or Matlab GUI handle
Find all java objects contained within a java container or Matlab GUI handle. If no output parameter is specified, then an interactive GUI window will be displayed with a tree-view of all container
Bessel function of complex order and argument
As so many people have asked me the C++ code for calculating besel functions of complex order and complex arguemnt, I now submit them to benifit more people ...
This function can be used directly for inverse laplace transform of transfer functins
is a transfer function class and gt is the time domain equivalent of G
Routines and user interface to depict and explore complex functions using color representations
The submission provides routines for visual exploration of complex (in particular analytic and meromorphic) functions. Basically the function values are color-coded and displayed as images either
List all partitions of an integer
The money changing problem is a simple one to state. For example, how many different ways can one form change of a dollar (100 cents) by using only coins of denomination [1 5 10 25 50] ? (The answer
Numerical extrapolation of a limit (with an error estimate) from only function values
LIMEST will find the limit of a general function (specified only for evaluation) at a given point. You might think of limest like quad, but for limits.While to me this seems to appear more often as a
Calculates s.e.m., ignoring NaN values
s.e.m. = std(vector_data)/sqrt(length(vector_data));Given a vector_data, calculates the standard deviation and length of vector_data without taking NaNs into account.
Plot an error ellipse depicting confidence interval given a covariance matrix.
returns a graphics handle% of the ellipse that was drawn.%% ERROR_ELLIPSE(C33) - Given a 3x3 covariance matrix, plot the% associated error ellipsoid, at the origin, as well as its projections
A general-purpose error-handling function with an ability to register automatic cleanup actions
handleError is a general-purpose error-handling function. The user can register cleanup actions that will automatically be activated in case of error. If an error occurred and handleError is called
The toolbox allows to simulate and tune parameters of closed-loop systems with a fractional-variable-order digital PID (FVOPID) controller.
implementation if necessary.In the future versions of the toolbox the controller blocks implemented as C-MEX S-functions will be added to improve the performance of calculation of FVOPIDs for long simulations or
Calculate Hessian using complex step differentiation
Hessian is the second order derivative of a scalar function. It is relatively difficult using finite difference to get accurate Hessian due to the approximation error if the differentiation step is
This is a robust complex mode indicator function, which can be used to identify Eigen values. A simple example is provided.
COMPLEX MODE INDICATOR FUNCTION (SINGULAR VALUE DECOMPOSITION)CMIF is defined as the Eigen values solved from the normal matrix, which is formed from frequency response function (FRF) matrix. CMIF
A solution to the problem of Matlab consuming an enormous amount of time to recover from an "Undefined function or variable" error.
becomes unavailable, an undefined variable or function (often caused by a typo) may cause an unbearable delay in the error message to appear [1,2,3]. To alleviate this problem, this function produces a GUI
Finds the root(s) of a function of one variable, including complex roots, using Newton's method.
NEWTZERO(f,xr,n,tol) finds roots of function f near guess xr with n iterations to tolerance tol. May find more than one root, even if guess is way off. NEWTZERO often works to find complex roots
Imaginary error function (could be complex) using matlab's incomplete gamma function gammainc
Imaginary error function, as it is defined in Mathematica erfi(z)==erf(iz)/i (z could be complex) using the incomplete gamma function in matlab: gammainc
Fast Sum with error compensation
XSum - SUM with error compensationThe accuracy of the sum of floating point numbers is limited by the truncation error. E.g. SUM([1e16, 1, -1e16]) replies 0 instead of 1 and the error of SUM(RANDN(N
Evaluates Jacobi elliptic functions of complex phase.
ELLIPJI Jacobi elliptic functions of complex phase u.[Sni,Cni,Dni] = ELLIPJ(U,M) returns the values of the Jacobi elliptic functions SNI, CNI and DNI evaluated for corresponding elements of argument
Calculates slope and intercept for linear regression of data with errors in X and Y.
Calculates slope and intercept for linear regression of data with errors in X and Y. The errors can be specified as varying point to point, as can the correlation of the errors in X and Y.The
Read .xyz files and make gridded datasets.
columnated data from a .xyz file into a gridded dataset that can be viewed with surf, pcolor, or imagesc. Note: this function does not interpolate! It simply reshapes the z values from a column of z data and
Much faster than 'imwrite' and supports complex number images.
'; options.message = true; options.append = false; options.overwrite = false; options.big = false;res : Return value. It is 0 when the function is finished with no error. If an error is
Collection of Special Functions programs.
A collection of special function programs valid in the entire complex plane. Includes Gamma, loggamma, psi, polygamma, error, zeta, and others.Editor's Note: Please note that these files have the
Applying error diffusion algorithm to any image.
This function is an implementation of the standard error diffusion algorithm using Floyd and Steinberg's weights.
Code for Robust PCA
Matlab code for all variants of robust PCA and SPCP
Polygamma function arbitrary order valid in the entire complex plane.
Polygamma function of arbitrary order valid in the entire complex plane. This is a generalization of the Psi (or digamma) function. Useful for summing infinite series.
Check uniqueness of function names
UniqueFuncNames - Check uniqueness of function namesIf you install a large 3rd party toolbox, the file names may interfere with other installed toolboxes. This simple funtion compares the names of
num2strexact does exact conversion of number to string based on IEEE floating point bit pattern
num2strexact is a self-building C-mex function that converts a double or single input to the exact decimal string. The conversion is done with hundreds of digits of precision to maintain the exact
Error bar plot with filled area curves.
This function plots the mean and standard deviation of a set of data filling the space between the positive and negative mean error using a semi-transparent background, completely customizable
Calculation of real values of the Lambert W function
Toolbox already contains Maple's implementation of the W function. The Maple version accepts complex arguments, and gives results for complex branches of W.Syntax:[w,nerror] = wapr(x,nb,l,m);wherew = output
This exercise computes the frequency response of a p-tube model of a human vocal tract.
This MATLAB exercise computes and plots the impulse response and the log magnitude spectrum (along with the locations of the formants) for a uniform length p-tube model of the vocal tract by
This exercise utilizes four programs to train a Bayesian classifier and classify frames of signals.
delay, 4. first predictor coefficient of p = 12 pole LPC analysis, 5. normalized log prediction error of p = 12 LPC analysis
Plots nice error bars as the default. Can also top group plots with error bars.
(x,y,'k','linewidth',2); hold on;errorb(x,y,e) group plot:values=abs(rand(2,3))+1; errors=rand(2,3)/1.5+0;errorb(values,errors,'top');% motivation for the functionIt is possible to plot nice error bars on top of a bar
Compute real, reactive, apparent, power factor and phase angle of a voltage-current pair
Compute real, reactive, apparent, power factor and phase angle (deg) of a voltage-current pair at fundamental Frequency based on the following equations.Real Power = mean(V*I)Reactive Power =
Complex zeros of a function of z=x+i*y are computed using graphics and Muller's method.
plane muller.m - a function based on Muller's method employing quadratic interpolation and deflation to computeone or several roots of a general complex valued functionerfs.m - Error
Adds multi-file functionality to functions handling only single files.
FILEFUN is created in the same spirit as e.g. CELLFUN, in that it repeatedly calls the same function FUN with different arguments, in this case filenames. It will then collect the output(s) of the
Numerical derivative of an analytically supplied function, also gradient, Jacobian & Hessian
The DERIVESTsuite provides a fully adaptive numerical differentiation tool for both scalar and vector valued functions. Tools for derivatives (up to 4th order) of a scalar function are provided, as
Numerical computation with functions
Old version of Chebfun. To download latest version see www.chebfun.org, www.github.com/chebfun, or the Matlab File Exchange www.mathworks.com/matlabcentral/fileexchange.
S = FIELDFUN(FUN,S1,...,SN) passes field values in structures S1,...,SN to function FUN and returns the result in scalar struct S.
fieldfun: Apply a function to the matching fields of structures SummaryS = fieldfun(fun,S1,...,SN) passes the values for each field in structures S1,...,SN to function fun and returns the result in
Computes the First Bivariate Appel Hypergeometric Function
Evaluate the bivariate Appel hypergeometric function of the first kind using a simple real integral.
Compute a very accurate Gamma function over the entire complex plane.
A very accurate complex Gamma function valid over the entire complex plane. This function is more accurate than MATLAB's own real only Gamma function.