Adapted from centroid computation in general where the centroid is the center of mass of a body, the spectral centroid is an measure for the brightness of a sound.
Use this code to simulate basic microstructure evolution. This is quite an old code. Will post the updated code in 2D and 3D shortly.
This version uses wrap boundary condition and the computation is a bit slower as against...
ssh-grid uses openssh, ruby, gtk to achieve grid computing across Internet with ssh keys. It distributes computation on direct nodes as well as nodes behind gateways.
IMAGGS(NUM,DEN) Computation of Im[G(s)]=0 of a LTI system with transfer function defined by its NUM, DEN coefficients.
Examples used are form "Computation of Stabilizing PI and PID Controllers" by Nusret Tan, Ibrahim Kaya and...
solves the linear least squares problem with nonnegative variables using the block principal pivoting algorithm in: Portugal, Judice and Vicente, A comparison of block pivoting and interior point algorithms for linear least squares problems...
This m-file returns the mean, variance and standard deviation of the multinomial distribution with parameters N and P. The Expected Value (i.e., averages):
Expected Value = m = Sum(Xi doOCo Pi), the sum is over all i's. Expected value...
Usage: new = struct2struct(old)
If 'old' is a scalar struct containing arrays (each with the same number of rows, N) then 'new' will be an N-by-1 struct-array whose fields have a single row.
If 'old' is an N-by-1 struct-array...
Create a random matrix of a non-intercepting snake, like the game ("worm" or "snake"). Also described by filling a chessboard with dominos, except now the board can be rectangular, or any arbitrary shape (by changing the...
R = RCR(S) computes the semi-edge-length of the mean-centered hypercube with 95% probability given S, which is either a covariance matrix or a vector of standard deviations from a multivariate normal distribution. If S is a real, nonnegative...
This is a small example code for "Steepest Descent Algorithm". It implements steepest descent Algorithm with optimum step size computation at each step. The code uses a 2x2 correlation matrix and solves the Normal equation for Weiner...
KChart is the KOffice chart drawing application. Use it to embed charts into your KOffice documents, e.g. a report written with KWord or a slideshow made with KPresenter.
Features:
Easy to Use:
- default values for...
Example - dismat(50,5,6) creates 5x6 probability matrix and gives various parameters. Freshers can see and appreciate the work load in the computation. oo.dat will be created with results.
Gabor-function convolution masks are increasingly used in image processing and computer vision. This function simply computes the cosine and sine masks for a given width, period and orientation. The masks returned are properly normalised. ...
This file includes two m-files. The ASWERS12345 calculates GRS80 free air anomalies,Eigen-CG03C and model of remaining topography reduction,empirical and analytic covariance functions,normal gravity (GRS67,GRS80) using Somigliana formula. The...
http://simulations.narod.ru/ There are 400 balls in 2d that has finite size and can pass trough each other with friction. At distances more than size they have gravitation forces. Initially system rotated slightly as global. Code well...
This recipe is solely due to the programming of Corey Goldberg (corey@goldb.org). The only thing I did to it was make it into a class. I thought that by uploading it here that more people would come across it and more people could use it. It is... |