Matrix Calculation Dimension
This function very efficiently generates a Truth Table matrix of arbitrary, user specified dimension.The order of the Truth Table is limited only by the user's available system memory. The function is highly efficient, written using only three variables in 15 lines of MATLAB code.While this is...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Function To Generate Truth Table Download |
LLR_DEMOD LLR Demodulator H = LLR_DEMOD_MEX(CONSTELLATION, MAPPING, METHOD) constructs a LLR demodulator object H for a given constellation, mapping and noise variance. The vectors CONSTELLATION and MAPPING are usually generated by using MATLAB Modem Modulation Modem. and contain the complex or...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Calculation of LLR values with variable noise variance Download |
dftmat = DFT matrix of order N x N; N = Order of the matrix computes the DFT matrix of orer N x N; DFT matrix is a n x n matrix defined as Wn=[(Wn)^km] Wn=exp(-j*2*pi/n)Reference: Multirate Systems and Filter banks by P.P Vaidyanathan Pearson Education 1993 appendix A.6
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Compute N x N DFT matrix Download |
This is the first part of the planned series for Model Predictive Control (MPC) tutorials.Dynamic Matrix Control is the first MPC algorithm developed in early 1980s. It is probably also the most widely used MPC algorithm in industry due to the fact that its internal model, the step response model...
Platforms: Matlab
License: Freeware | Size: 30.72 KB | Download (41): MPC Tutorial I: Dynamic Matrix Control Download |
Input data is the Microsoft ExceldlT« file, where the table of nodes, table of elements, nodal external loads vector and boundary conditions are stored.After running the mabs3d.m file on the Command Window, the program calculates the stiffness matrix in local coordinates kiL (element i). Once...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (47): Matrix Analysis of Three Dimensional Bar Structures MABS3D Download |
A set of blocks for manipulating 3x3 and 4x4 matrices. In versions of Simulink prior to R12, matrices were handled in row-major form, thus the need for special blocks to handle matrices. Although Simulink can now handle arrays as signals, some users may still find the row-major approach...
Platforms: Matlab
License: Freeware | Size: 81.92 KB | Download (44): Matrix Library for Simulink Download |
This short tutorial illustrates basic numerical matrix computation in C. I encourage any comments from expirienced mex programmers for style improvement.This is a nice little function to demonstrate how you can interface MATLAB and C style matricies. There is some example code included showing...
Platforms: Matlab
License: Freeware | Size: 133.12 KB | Download (44): Tutorial: C mex matrix demo Download |
Joe engineer's script works in radians and meters. The lab data files are in degrees and inches and the drawings are in mm. Joe tags everything with dimensions and never worries again about conversions. He even discovers a bug where a value he thought represented area really represents...
Platforms: Matlab
License: Freeware | Size: 30.72 KB | Download (40): DIMENSION - tagging values with units Download |
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 (40): Moran's I Download |
Phi = keplerSTM(x0,dt,mu) will return the state transition matrix Phi for a set of objects described by initial positions and velocities (x0) with gravitational parameters mu, propogated along Keplerian orbits for time dt. The positions and velocities at time dt is then given by Phi*x0. x0 must...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Keplerian State Transition Matrix Download |
Contains three matrix completion algorithms and a demo script for running them. Also compares against other matrix completion algorithms - Singular Value Thresholding and Fixed Point Iteration.Solves the following three optimization problems:min rank(X) subject to ||y - M(X)||_2
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Matrix Completion via Thresholding Download |
FUNCTIONotr = transform(itr,tmx)PARAMETERSotr = output tensor, after transformation; has the same dimensions as the input tensoritr = input tensor, before transformation; should be a 3-element vector, a 3x3 matrix, or a 3x3x3x... multidimensional array, each dimension containing 3 elementstmx =...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Transform Tensor 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 |
This is a part of my books, a book to introduce the matlab use in finance, this is the first part of the series.We discuss the calculation rules and how to use the matlab functions to calculate the fixed income securities. Also we have analyze the detail algorithm.
Platforms: Matlab
License: Freeware | Size: 512 KB | Download (41): Fixed Income calculation(Chinese Version) Download |
Input data is the MS Excel file, where the table of nodes, table of elements, nodal external loads vector and boundary conditions are stored.After running the mabs2d.m file on the Command Window, the program calculates the stiffness matrix in local coordinates kiL (element i). Once the...
Platforms: Matlab
License: Freeware | Size: 30.72 KB | Download (50): Matrix Analysis of Two Dimensional Bar Structures MABS2D Download |
we can use any complete set of Eigenkets for basis of our hilbert spacewe can use |j1,j2,m1,m2> or |j1,j2,j,M>"clmatrix.m is use for building the transformation Matrix |j1,j2,j,M> = |j1,j2,m1,m2>
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): ClebschGordan matrix of coefficients Download |
for personal use only.1: the interest rate structure calculation and rules.2: the interest rate model, used frequently in real world.
Platforms: Matlab
License: Freeware | Size: 1.12 MB | Download (40): Calculation for interest rate model & structure Download |
This function gives the datenum 'time' and the matrix 'M' of theradiosoundings read in the input file, obtained as ascii text by'cut and paste' from 'http://weather.uwyo.edu/upperair/sounding.html'.The input file can contain an arbitrary number of radiosoundings.The 'station_id' is the number of...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): read_RWS Download |
MatData 1.02usage:call read(filename,varname,var)call write(filename,varname,var,action)where "filename" is the string of .mat file's name, "varname" is the string of variable's name stored in .mat file, "var" is the variable's name in Fortran program, which can be any one of the following type:...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (41): MatData Download |
Implementation of Nicholas J. Higham's algorithm "Computing the Nearest Correlation Matrix - A Problem from Finance", 2002.http://eprints.ma.man.ac.uk/232/01/covered...S_ep2006_70.pdf
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): Finding a similar valid correlation matrix Download |