Kronecker
Given 2 subscripts, j & k, KronD will return 1 if j == k and 0 if j != k.A very simple function with only a single if-else statement. Saves a bit of typing when the Kronecker Delta is needed.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Kronecker Delta Download |
This file serves as a replacement for Matlab's kron.m. It contains a more efficient implementation of the Kronecker product for dense, sparse and logical matrices.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): Kronecker product Download |
The vectorized transpose matrix, Tmn, is the matrix that permutes the vectorization of an m#n matrix A into its transpose vectorization. For example, if the vectorization of A is defined as vec(A), or A(:), then Tmn*vec(A) = vec(A').EXAMPLEThe vectorized transpose matrix can be used to reverse...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (41): Vectorized Transpose Matrix Download |
Superkron is a generalization of Matlab's kron function. It allows to compute the kronecker product of more than two matrices in one shot, and also works for multidimensional arrays having more than two dimensions.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Superkron Download |
Generate Exhaustive Permutations--------------------------------------------------[1] main executing reference usage: usage_generateExhaustivePermutationThe objective is to illustrate generation of exhaustive permutation of symbols given the symbolic bases.The method of generation is a...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (38): Generate Exhaustive Permutations Download |
The package contains a set of C functions and preprocessor macros to simplify writing MEX source files. The routines help check input and output argument count, argument type, dimension and structure in a MEX file. See "common.c" in the subfolder "include" for details.Sample code is included in...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 61.44 KB | Download (43): Utilities for MEX files Download |
The code computes the exact eigenpairs of (1-3)D negative Laplacian on a rectangular finite-difference grid for combinations of Dirichlet, Neumann, and Periodic boundary conditions using explicit formulas fromhttp://en.wikipedia.org/wiki/Eigenvalues_a...cond_derivativeThe code can also compute...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (50): Laplacian in 1D, 2D, or 3D Download |