Troy Ounce Weights
PURPOSE: calculate local Moran's I for a local grid using a weight matrix.-------------------------------------------------------------------USAGE: m = moransI(grid, W, s);where: [grid] is the matrix to analyze [W] is the normalized weight matrix of the size the local Moran's I will be calculated...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Moran's I Download |
This function which is based on the bilateral filter provided Douglas R. Lanman, Brown University, September 2006, will compute the weights based on one image to be used as bilateral filter weights on another image.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Joint Bilateral Filter Download |
I need to thank Duane Hanselman for suggesting this great idea.Fminspleas is a simple nonlinear least squares tool that fits regression models of the formY = a1*f1(X,C) + a2*f2(X,C) + ... + an*fn(X,C)X can be any array, so it works on multidimensionalproblems, and C is the set of only...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (41): Fminspleas Download |
RLS is one of the great adaptive filter algorithms. In this file ,an experiment is made to identify a linear noisy system with the help of RLS algorithm. The weights of the estimated system is nearly identical with the real one.A reference is used to write the algorithm.
Platforms: Matlab
License: Freeware | Size: 51.2 KB | Download (39): RLS Algorithm Demo Download |
NLMS is one of the adaptive filter algorithms. In this file ,an experiment is made to identify a linear noisy system with the help of NLMS algorithm. The weights of the estimated system is nearly identical with the real one. Also , adaptive learning rate has been applied.A reference is used to...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): NLMS Algorithm Demo Download |
function W = euklid_W(ws,d,n)function W = euklid_invW(ws,d,n) PURPOSE: create an (inverse) euklidean distance spatial weight matrix (n x m 'moving-window' style matrix with distance to center cell weighted.) ------------------------------------------------------------------ USAGE: W =...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Euklid (Inverse) Distance Weight Matrix Download |
Demonstrates the use of MATLAB's nested functions to create graphical tools with little coding. This example creates an efficient frontier from supplied data (or generates random returns if no inputs are supplied) and then allows the user to move a crosshair along the efficient frontier to view...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (42): Interactive Efficient Frontier Viewer Download |
Like polyfit.m but includes weighting of each data point.Summary----------------Find a least-squares fit of 1D data y(x) with an nth order polynomial, weighted by w(x).Usage-----P = polyfitweighted(X,Y,N,W) finds the coefficients of a polynomial P(X) of degree N that fits the data Y best in a...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (41): polyfitweighted Download |
Reporting tool, with leading indicators for each asset, for an example Quantitative Fund.This asset definition is read by the runregression.m matlab file submitted elsewhere and allows to compute correlation coefficients and assign weights to relevant indicators when doing forecasting.
Platforms: Matlab
License: Freeware | Size: 2.55 MB | Download (44): Asset Definitions for Forecasting Download |
The archive contains sugenotune.m which is used to tune Sugeno-type FIS outputs. The used methods are ldivide, Kalman filter, pseudoinversion, Kaczmarz algorithm, and gradient descent methods. Though the user can supply sugenotune.m with his own methods.Remarks:- FIS with multiple outputs is...
Platforms: Matlab
License: Freeware | Size: 204.8 KB | Download (43): Sugeno-type FIS output tuning Download |
This function finds the weighted center of the 3D image A. The weights are the pixel values of A. This can be used to locate objects in 3D medical images.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (41): Find Center for 3D Image Download |
This extremely fast and efficient algorithm uses MATLAB's ifft routine to compute the Clenshaw-Curtis nodes and weights in linear time. The routine appears optimal for 2^N+1 points. Running on an average laptop, this routine computed N=2^20+1 (1048577 points) in about 4.5 seconds. Great for...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Fast Clenshaw-Curtis Quadrature Download |
Given a block of samples of a reference signal and a block of samples of a desired signal, the function updates the filter weights and returns a block of error samples.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Frequency Domain Adpative Filter Download |
PGFHIST2D(X, Y, W) will save a PNG file representing the 2D histogram created from data points specified by X and Y with weights specified by W. The vectors X, Y, and W must have the same number of elements. The text to include in a Latex file to produce the histogram is displayed. Valid options...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): pgfhist2d Download |
Computes the variance of a linear sum of variables. Requires a vector of weights (for the linear sum), and a covariance matrix of the variables.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): varc: combination of variance Download |
The program constructs qc-lpdc codes given size of sub-mnatrix(m), girth(g1), row (k) and column(j) weights. It uses a serch algorith that might not find a code gvien the above parameters. The program is also given a Base-Matrix.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Construction of QC-LDPC Codes Download |
Compute the solution to the arbitrary-shape thin wire integral equation found in Section 4.5 ofGibson, Walton C. "The Method of Moments in Electromagnetics," Taylor and Francis/CRC, 2008.Assumes a straight wire along z-axis.Gauss-Legendre quadrature weights are computed using the following...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): ATWStraightWireTriangle Download |
v=randsampleWRW(x,k,w)Returns V, a weigthed sample of K elements taken among X without replacementX a vector of numericsK amount of element to sample from xW a vector of positive weights w, whose length is length(x)% EXAMPLE:% for i=1:100% v(i)=randsampleWRW([0,0.5,3,20],1,[0.5,0.4,0.05,0.05]);%...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (53): modified randsample Scripts) 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 |
The function computes parameters a, b, and c of the weighted orthogonal least squares fit of line ax+by+c=0 to a set of 2D points with coordinates given by x and y and weights w.n=100;x=1:n;y=2.5*x + (5+300./x).*randn(1,n);plot(x,y,'.k')hold onw=1:n;[a b c] = wols(x,y,w);plot([0,n],[-c/b,-c/b -...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (43): Weighted Orthogonal Least Squares Download |