Negative Fractional Exponents
Usage : r = subfactorial(n) calculates the subfactorial of a non -negative integer (n) using the inclusion-exclusion principle. The subfactorial can be written as, !n = n! sum( (-1)^k / k! ), for k = 0 to n !n : subfactorial(n) n! : factorial(n) = 1*2*3*...*nRemark : This function is limited by...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Subfactorial Download |
function [i,i_] = fgridmin(y)% Search an N-dimensional array y for points that may be proximate to a global minimum% of the interpolated array; return the proximate points' N-D subscripts (i) in y. Also% optionally return the subscripts (i_) for discrete local minima in y.%% syntax:% i =...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): fgridmin.m Download |
[psi gopt] = dfdesign_w(phi, w, d);DFDESIGN_W computes the H-infinity optimal inverse filter of a given filter phi(z).The resulting filter psi(z) minimizes the H-infinity norm of the error systemE_w(z) = [z^(-d) - psi(z)phi(z)]w(z).If an error occurs, use "dfdesign_w_lmi.m".[INPUT]phi: target...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): H-infinity sub-optimal causal IIR inverse filter Download |
This function does the decomposition of a separable nD kernel intoits 1D components, such that a convolution with each of thesecomponents yields the same result as a convolution with the full nDkernel, at a drastic reduction in computational cost.SYNTAX:======= [K1,KN,ERR] =...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Kernel decomposition Download |
Converts normally distributed z-statistic to one- or two-tailed p-valueby integrating the standard normal pdf. If no "tails" value is specified, z2p computes the two-tailed value by default. The output p is the same size as z, which can be a scalar, vector, or matrix. Inputs:z: normally...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): z2p Download |
A polynomial is a mathematical expression involving a sum of powers in one or more variables multiplied by coefficients. A general multivariate polynomial is captured with the syntaxp = sum( c_i * prod( x_j^p_ij ) ) + kwhere the summation is over i, the product over j, and c_i is the set of...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 40.96 KB | Download (43): Symbolic polynomials Download |
This submission contains the basic functions that are necessary for using the matrix approach to discretization of fractional differential equations, and demos. The method is described in the following articles:[1] I. Podlubny, "Matrix approach to discrete fractional calculus", Fractional...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 737.28 KB | Download (45): Matrix approach to discretization of ODEs and PDEs of arbitrary real order Download |
This is a MATLAB-implementation of ROCK4 (Abdulle & Medovikov)for the numerical solution of a (mildly) stiff system of first order differential equations ODEs y'=f(t,y).ROCK4 is based on a family of second order explicit Runge-Kutta methods with nearly optimal stability domain on the negative...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 112.64 KB | Download (43): ROCK4 Download |
15th July, 2005 : Poly_POWER.m is now corrected !So, for most reasonable cases of Multiple Roots including Multiple Real Roots, this Programme should now work.For eg, Poly_POWER works successfully for :{ x^6 + (-12+18j)*x^5 + (-75-180j)*x^4 + (920+180j)*x^3 + (-1785+1800j)*x^2 + (-732-3582j )*x +...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 92.16 KB | Download (43): GCD of Polynomials and Polynomials raised to some Power including Fractional Power Download |
allan_overlap.m calculates the overlapping Allan deviation (ADEV) of a time domain signal. It is intended for stability analysis of frequency data, although the analysis can be applied to other types of data. Fractional frequency or phase data sets with sample rate or time stamp information are...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): allan_overlap Download |
This m-function returns the negative hypergeometric probability density function with parameters M, N and A at the values in X. Note: The density function is zero unless M, N and A are integers.If a lot consists of M acceptable items and N defective ones. Suppose that items are drawn at random...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): nhygepdf Download |
1 we express a number as a linear combination of powers of 102 for example1980=1*10^3+9*10^2+8*10^1+0*10^0we get [1 9 8 1]apply divisibility rule by 7remaining digits-2(last digit)k=11 9 8 -2(1)=196k=219 - 2(6)=7k=30-2(7)=-14 which is divisible by 7stop we get a negative number
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Divisibility rule by 7 Download |
Cauchy cdf, pdf, inverse cdf, parameter fit, and random generator.Implementation package of the Cauchy distribution.cauchycdf: Cauchy cumulative distribution function (cdf).cauchyfit: Parameter estimation for Cauchy data.cauchyinv: Inverse of the Cauchy cumulative distribution function...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): cauchy Download |
Simulate and visualize three models for aggregated telecommunications traffic with long-range dependence: superposition of renewal processes, infinite source Poisson (M/G/Infinity) model and integrated sum of on-off processes. The simulations illustrate known limit results for the models.Under...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 40.96 KB | Download (44): Aggregated Teletraffic Models with Long-range Dependence Download |
Calculates the M fractional trimmed mean (truncated mean) of the values in X. Excluding the highest and lowest PERCENT/2 (%) of the data. It is an advanced trimming method. Given a sample of n ordered observations x_(1)
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): fractrimmean Download |
Compute the equation of time with accuracy on the order of seconds. This routine can handle multiple millenniums.Function Call With Time String:>> EQtime = EquationOfTime('2000/01/01 00:00:00');Function Call With Julian Date:>> EQtime = EquationOfTime(2451544.5);Input List:UTCjd (Coordinated...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): Equation of Time Download |
Two functions are provided for fitting data using the Mittag-Leffler function.In MLFFIT1.M, just the Mittag-Leffler function in one parameter is used. In MLFFIT2, the Mittag-Leffler function in two parameters multiplied by a power function is used.Two sample scripts are provided for the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 358.4 KB | Download (41): Fitting data using the Mittag-Leffler function Download |
X = POWERM_PADE(A,P) computes the P'th power X of the matrix A, for arbitrary real P and A with no nonpositive real eigenvalues, by the Schur-Pade algorithm. [X,NSQ,M] = POWERM_PADE(A, P) returns the number NSQ of matrix square roots computed and the degree M of the Pade approximant used.If A is...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Arbitrary real power of a matrix by Schur-Pade algorithm Download |
[Jaccard,Dice,rfp,rfn]=sevaluate(m,o)gets label matrix for one tissue in segmented and ground truthand returns the similarity indicesm is a tissue in gold trutho is the same tissue in segmented imagerfp false pasitive ratiorfn false negative ratio
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): segmentation evaluatation Download |
For vectors, WMEAN(X,W) is the weighted mean value of the elements in X using non-negative weights W. For matrices, WMEAN(X,W) is a row vector containing the weighted mean value of each column. For N-D arrays, WMEAN(X,W) is the weighted mean value of the elements along the first non-singleton...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): wmean Download |