Tau Gamma Phi Hazing
Generate a Gamma random variable "Statistical Distributions", Evans, Hastings, Peacock, 2nd Edition, Wiley, 1993, p.75-81INPUTS: (N,M) = size of array of random variables to generate b = scale parameter > 0 c = shape parameter > 0 probability density function (pdf) p(x) = (x/b)^(c-1) * exp(-x/b)...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): rand_gamma Download |
after downloadingto run program, enter damping(r,R,h,l,m)m=mass of bobh=height to which bob is thrownl=damping factor(i.e gamma=(l/2m))r=length of pendulmr=radius of bobenter ur values...for programm..enjoy...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (50): damped simle pendulum Download |
The program is an ordinary m-filethe matrix g(*,*) can be used to punch in the metric values in terms of symbolic variables x1,x2,x3,x4(co-ordinate axes)The program first computes the Affine connection(Christoffel symbols) stored in Gamma matricesThese are then used to construct and solvegeodesic...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (48): Geodesic solver Download |
There are two issues with the Pearson type IV distribution: (I) the complex gamma function entering the normalization constant in the probability density function (pdf) and (II) the complex Gauss hypergeometric function entering the cumulative distribution function (cdf). For the complex gamma...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): In sample Value at Risk and backtesting with the Pearson type IV distribution Download |
Program "rand_log_concave.m" generates random numbers from an arbitrary log-concave generalized pdf (i.e., a pdf known up to its normalization constant). The log of the pdf must be concave. In particular, the program can be used to generate random numbers efficiently from truncated log-concave...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): Random number generation from an arbitrary log-concave generalized pdf Download |
Features:[1] real-valued spherical harmonicsusing real coefficients[2] support flexible band intervals(l=0:dl:L) including both full bandSH (dl=1) and even order only SH (dl=2)[3] evaluate both function valuesf(theta,phi) and the derivativesof f w.r.t theta and phi. Can be usedfor finding peaks...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): Real-Valued Spherical Harmonics Download |
Graphs a 3 dimensional logarithmic of a function named F(Theta,Phi), theta the elevation angle and phi the rotational angle. Converts to Cartesian coordinates and plots a surface plot with color pattern radiating from the origin.Due my massive use of the community to generate this first time use...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (50): 3D spherical equation plot Download |
Intent: Ensures a class only has one instance and provide a global point of access to it [1].Motivation: It's important for some classes to have exactly one instance. For example, it can be desirable to have only a single instance of a GUI. With a MATLABdlT« GUIDE built GUI, the driver or main...
Platforms: Matlab
License: Freeware | Size: 40.96 KB | Download (47): Design Pattern: Singleton (Creational) Download |
A useful tool built to help the user gain an intuitive feel for option pricing and the greeks.Allows the user to create a portfolio of options (and thus straddles, strangles, butterflies and anything else you fancy can be easily created using the GUI).Once this is done, the user can plot the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (46): PlotMeTheGreeks 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 |
LAPLACEOFPARETO evaluates the Laplace-Stietljes transform (LST) of the Paretodistribution with parameters a and b. Specifically, this function evaluatesthe LST E[exp(-sX)] of a random variable $X$ which has Pareto distribution$F(x)=1-frac{b^a}{(b+x)^a}$, where s>0, a>0, b>0. The formula used...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Evaluation of the Laplace transform of the Pareto distribution Download |
In mathematics, the multiplication theorem is a certain type of identity obeyed by many special functions related to the gamma function. For the explicit case of the gamma function, the identity is a product of values; thus the name. The various relations all stem from the same underlying...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): gaussmult Download |
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) = int(0..t)[1/(tau^3 - 2*tau - 5) d_tau] for t=0..3[I, t] = cumquad(@(tau) 1./(tau.^3-2*tau-5), 0, 3);This function is almost identical to the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): cumquad Download |
The package LiScEig calculates a finit number of numerical eigenvalues and eigenfunctions of regular Sturm-Liouville problems using the Chebyshev-tau method.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 163.84 KB | Download (42): LiScEi Download |
ToleranceFactor computes the exact tolerance factor k for the two-sided (optionally also for the one-sided) p-content and gamma-confidence tolerance interval TI = [Xmean - k * S, Xmean + k * S],where Xmean = mean(X), S = std(X), X = [X_1,...,X_n] is a random sample from the distribution...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): ToleranceFactor Download |
For vectors, REMOVEOUTLIERS(datain) removes the elements in datain that are considered outliers as defined by the Thompson Tau method. This applies to any data vector greater than three elements in length, with no upper limit (other than that of the machine running the script). Additionally, the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Remove Outliers Download |
Implements Carnegie-Mellon STATLIB/Applied Statistics AS-99 for fitting Johnson curve pdfs and developed by:Hill, I.D., R. Hill, and R.L. Holder, 1976. Algorithm AS 99: Fitting Johnson Curves by Moments, Applied Statistics, Vol. 25, No. 2,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (51): Johnson curve fitting Download |
Package PhotonAttenuation2 provides set of functions for modeling of photons (x-ray, gamma-ray, etc.), passing through different materials. The tools are based on attenuation and energy absorption coefficients of photons in various materials. The tables of absorption coefficients were copied from...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 184.32 KB | Download (43): PhotonAttenuation 2 Download |
Matlab doesn't provide the values of n! when n>170, but this code can evaluate the logarithm of of n! with absolute accuracy of 1e-12 or better, and relative accuracy of 1e-15 or better. The following codes employ Stirling's integration formula of Gamma function.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Log Factorial of Large Positive Numbers Download |
Y = EXPSMOOTH( X, FS, TAU )Given input sequence X (column vector), sampled at FS Hertz, returns exponentially smoothed output sequence Y. Time constant (in milliseconds) for the exponential smoother is specified in TAU. If X is a matrix, then smoothing of column vectors of X is performed and...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Exponential Smoother Download |