image thumbnail

updated 6 days ago

Generating Gaussian Filter 2D Matrix by Duc Chung Tran

The function is used to generate Gaussian Filter 2D Matrix. (gaussian, filter, matrix)

g=Gaussian_filter(Filter_size, sigma)

image thumbnail

updated 21 days ago

MappedTensor class - memory-mapped files by Dylan Muir

A better, transparent memmapfile, with complex number support. (matrix, large tensor, mapped file)

MappedTensor

image thumbnail

updated 26 days ago

Pair-wise Euclidean Distance Matrix by Quan Wang

Computing distance matrix without loops (data, distance, matrix)

D=distanceMatrix(X)

demo.m

image thumbnail

updated 30 days ago

3D colored bar plot by Johannes

3D bar plot with arbitrary coloring (bar plot, 3d, color)

bar3c(Z,x,y,w,C)

image thumbnail

updated 1 month ago

Positive-Definite Matrix by Muhammad Asim Mubeen

This function returns a positive-definite symmetric matrix. (matrix, matrices, nonlinear)

Spd_Mat(A)

image thumbnail

updated 1 month ago

Interleave Vectors or Matrices by Steven Shimizu

Interleaves rows or columns of any number of vectors or matrices (interleave, matrix, vector)

interleave2(varargin)

image thumbnail

updated 1 month ago

immovie2 by Fang Liu

IMMOVIE2 make movie from multiframe superimposed images (image processing, immovie, movie)

immovie2(varargin)

example.m

image thumbnail

updated 2 months ago

Kepler State Transition Matrix (MEX) by Rody Oldenhuis

Compute Kepler state transition matrix for an arbitrary number of time steps. M and C++ version. (aeronautics, aerospace, kepler)

progress_orbitM.m

test_STM.m

image thumbnail

updated 2 months ago

1D Finite Element Method (FEM) Example by Cheuk

A 1D finite element method (FEM) example is provided to teach the basics of using FEM to solve PDEs. (finite, element, method)

a_def(node)

act_quad(dof_pos, ref_quad_pos, num_edges)

compute_RHS_global(RHS_local, loc_glob, num_edges)

image thumbnail

updated 2 months ago

mat2num by Kashi Khorasani

This function converts the input (matrix) into an integer/number comprised of all of the digits. (num2mat, mat2num, vector)

mat2num.m

image thumbnail

updated 2 months ago

num2mat by Kashi Khorasani

This function converts the input (integer) into a matrix comprised of all of the integer's digits. (num2mat, mat2num, factory)

num2mat.m

image thumbnail

updated 2 months ago

factory: simple factorization vector tool by Kashi Khorasani

This function returns a vector containing all factors of the number N (input) (matrix, function, vector)

num2mat.m

image thumbnail

updated 2 months ago

Gaussian Elimination with Pivoting Method by Cheuk

Function uses Gauss elimination with pivoting to solve a linear system in standard format. (linear, algebra, gaussian)

GAUSS_ELIM(A, b)

image thumbnail

updated 2 months ago

vind2sub by Chris

MATLAB's ind2sub function implemented to return a variable length vector (vector, matrix, utility)

indices=vind2sub(siz, ind)

image thumbnail

updated 2 months ago

Compressed Row Storage (CRS) Successive Over-Relaxation (SOR) Method by Cheuk

Function uses Successive Over-Relaxation (SOR) method to solve a linear system in CRS format (sor, successive, over)

CRS_SOR(CRS, b, x, epsilon, w)

image thumbnail

updated 3 months ago

LOGICALFIND by Jos (10584)

Find occurrences of consecutive non-zeros in a vector (v1.0, jan 2014) (find, matrices, search)

logicalfind(V, N)

image thumbnail

updated 3 months ago

Jacobian-Free Newton-Krylov (JFNK) method by Cheuk

Function uses JFNK to solve a system of non-linear equations (jacobianfree, newtonkrylov, jacobian)

JFNK(F, x0, epsilon, max_iter)

JV_APPROX(v, F, x)

image thumbnail

updated 4 months ago

toTable: Simple Manual Matlab to Excel or Word Function by Kirk

Take data from Matlab to an Excel Spreadsheet or a Word Table. (excel, convert, matlab)

toTable(Input,varargin)

image thumbnail

updated 4 months ago

adtranspose by Alexander Hirzel

antidiagonal transpose (antidiagonal, transpose, matrix)

adtranspose(M)

image thumbnail

updated 5 months ago

OpenStreetMap Functions by Ioannis Filippidis

Load map, extract connectivity, plot road network & find shortest paths from OpenStreetMap XML file. (data import, automotive, matrix)

...

...

[d pred]=dijkstra(A,u)

image thumbnail

updated 5 months ago

isedm by Jon

Is given matrix an EDM? (optimization, euclidean distance ma..., edm)

isedm(D,tolerance_in,verbose,dim,V);

image thumbnail

updated 5 months ago

Linear Equation by James Adams

Calculates a linear equation for two given points. (linear, inversion, matrix)

LinearEquation_JA

image thumbnail

updated 5 months ago

Knights Tour by Sumit

This Program generates the knights tour for a given mXn board for a given position of the knight (plot, plotting, graph)

chessknight.m

coordinates1.m

knights_all.m

image thumbnail

updated 5 months ago

Symbolic Matrix by Zachary Danziger

Creates a matrix composed of properly indexed symbolic elements. (mathematics, linear algebra, symbolic math)

symMat(dims,Mname,type)

image thumbnail

updated 5 months ago

Matrix exponential times a vector by Peter Kandolf

Computes EXPM(tA)b, without explicitly computing the matrix exponential, by Leja interpolation. (mathematics, matrix, matrix exponential)

expleja (h, A, varargin)

image thumbnail

updated 6 months ago

Vandermonde matrix, vander() function extension by Marcus Björk

Adds functionality to the original MATLAB vander() function. (signal processing, matrix)

vander2(v,k)

image thumbnail

updated 6 months ago

Track RGB Colors and Join them with a Line by Paranshu

Track RGB colors through webcam and calculate centroid and connect them by lines (image processing, image analysis, matrix)

TrackMultiColor.m

image thumbnail

updated 7 months ago

Discrete Fourier transform by Sidhanta Kumar Panda

Use this code to find the DFT sequence (image processing, signal processing, communications)

dft.m

image thumbnail

updated 7 months ago

Circular convolution by Sidhanta Kumar Panda

This code finds the Circular convolution (image processing, signal processing, communications)

circconv.m

image thumbnail

updated 7 months ago

Connect Randomly Ordered 2D Points into a Minimal Nearest-Neighbor Closed Contour by Tristan Ursell

Connects randomly ordered 2D points into a minimal nearest neighbor contour. (contour, nearest, neighbor)

[Xout,Yout,varargout]=points2contour(Xin,Yin,P,direction,...

image thumbnail

updated 7 months ago

Bilinear interpolation of an image or matrix by Disi A

This function performs bilinear interpolation for a given image or matrix at any location (image processing, signal processing, optimization)

interVal=interpImg(img,yx,zpad)

image thumbnail

updated 8 months ago

2D-Matrix Multiplication using MATLAB by Tirtharaj

A sample MATLAB code for multiplication of 2D-Matrix. (matrix, multiplication, matlab)

MatrixMul.m

image thumbnail

updated 8 months ago

Multidimensional matrix multiplication by Sandor Toth

The simple function performs fast matrix multiplication within multidimensional arrays. (matrix, multiplication, simple)

mmat(A,B,dim)

image thumbnail

updated 8 months ago

Computable Complexity Estimates for Finite Binary Strings by Theophanes Raptis

Experimental attempt to overcome problems with Shannon's entropy and other complexity measures. (data exploration, matrix, communications)

BLLSG( s, n, sflag )

[cv,cd, cs]=clusters(s)

derivatives(s, grflag)

image thumbnail

updated 9 months ago

Export matrices to LaTeX by Eva

Export matrices to LaTeX (data export, matrix, cell)

saveTex( outfile, matrices, name )

image thumbnail

updated 9 months ago

hypersurface by Clayton

Graphing a 4-D surface (4d, matrix, modeling)

[p]=hypersurface(x,y,z,M,layer,color,smoothing,fidelity,x...

image thumbnail

updated 9 months ago

Unit_Commitment by KATHIM Alrifai

Optimal Loading for a Power Station (Unit Commitment) (optimization, measurement, control design)

image thumbnail

updated 9 months ago

Radiation Treatment Planning Optimization Toy Example by Haitham Hindi

This program is a stand-alone toy example of radiation treatment planning(RTP) optimization (optimization, distributed, biotech)

Main()

image thumbnail

updated 9 months ago

solving Diophantine equation by davood shaghaghi

This function is written to solve Diopantine equation.this equation should be in the form of C = A*F (control design, optimization, simulation)

dioph_SISO(A,C,n)

image thumbnail

updated 10 months ago

COMBNSUB by Jos (10584)

Subset of all possible combinations of a fixed number of elements of a vector (v1.1, june 2013) (combination, subset, selection)

combnsub(V,N, IX)

image thumbnail

updated 10 months ago

MIMO-Diophantine solver by davood shaghaghi

This function solve MIMO-Diophantine equation. (control design, optimization, simulation)

mimodioph(A,B,N)

image thumbnail

updated 10 months ago

Gaussian Mixture Model by Ravi Shankar

The code finds out the parameters of a gaussian mixture model by Expectation-Maximization Algorithm. (data mining, data import, data export)

GMmodel(x,no_gaus_distr)

kmclust(x,no_clust)

image thumbnail

updated 10 months ago

Laplacian 2.0 by Bryan C. Smith

(1-3)D sparse Laplacian matrices with eigenvalues and eigenvectors. (laplacian, eigenvalues, eigenvectors)

laplacian2(numpts, varargin)

image thumbnail

updated 10 months ago

Values from a column selection index vector by Eydrian

Returns the actual values chosen of a data from a column index vector (matrix)

selection2values.m

image thumbnail

updated 10 months ago

Stacked Matrix Permutation by Emanuele Ruffaldi

Simplify the reordering of the sub-dimensions in a stacked matrices (matrix, stacked, permutation)

stackedpermute(X,sizes,order)

image thumbnail

updated 10 months ago

Sylvester Matrix by Jos (10584)

SYLVESTER - Sylvester matrix of two polynomials (v3.0, june 2013) (matrix, polynomials, polynomial)

sylvester(P,Q ,MpMq)

image thumbnail

updated 10 months ago

Data for my question by Jeremy

This is data that works with a set of code that I requested help with. (matrix)

image thumbnail

updated 11 months ago

Fit 2D Gaussian with Optimization Toolbox by Nathan Orloff

Fit a 2D rotated gaussian. http://en.wikipedia.org/wiki/Gaussian_function (image processing, optimization, signal processing)

fmgaussfit(xx,yy,zz)

image thumbnail

updated 11 months ago

Find Image Extrema by Tristan Ursell

Find local maxima, local minima, saddle points, and flat regions in an image. (image, maximum, maxima)

[x,y,z,c]=imextrema(im1,varargin)

image thumbnail

updated 11 months ago

TransposeMat - like transpose, but handles N-D arrays by Chad Webb

Transposes the rows/columns (only) on any N-dimensional array (simulation, optimization, earth science)

TransposeMat(in)

Contact us