image thumbnail

updated 15 days ago

Chess Picture for visualizing correlation matrix.zip by Guangdi Li

A nice visualization for highlighting correlation matrix (correlationmatrixvisu..., correlation, matrix)

ArgStruct=parseArgs(args,ArgStruct,varargin)

ChessPicture_Matrix( CorrelationMatrix,XAxisName,YAxisNam...

h=subaxis(varargin)

image thumbnail

updated 17 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 17 days ago

Linear regression for multiple category data with different slopes for each by Soumya Banerjee

The function does OLS and RMA regression on data that is categorized into two different categories (aerospace, biotech, communications)

regress_plot_twocategories_allslope

image thumbnail

updated 24 days ago

Vectorized Multi-Dimensional Matrix Multiplication by Darin Koblick

Take Any N-D Matrix and Multiply it by another N-D Matrix Without a For-Loop (matrix, matricies, multiplication)

eDim(fND,fSeq)

fDim(ND,dim)

mntimes(x,y,xrowdim,xcoldim,yrowdim,ycoldim)

image thumbnail

updated 28 days 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 1 month 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)

image thumbnail

updated 1 month ago

sisder.m by Daniel

Create Space State system matrix from differential equation (space state, matrix)

sisder.m

image thumbnail

updated 1 month ago

cspy.m by Hugo Gualdron

cspy: a color-coded version of sparse matrix viewer spy (spy, colormap, matrix)

cspy(varargin)

image thumbnail

updated 1 month ago

highest row degree coefficient matrix of a polynomial matrix T(s) by Lazaros Moysis

This function computes the highest row degree coefficient matrix of polynomial matrix T(s). (control design, mathematics, matrix)

Tl=rowdeg(T);

image thumbnail

updated 2 months ago

Pair-wise Euclidean Distance Matrix by Quan Wang

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

D=distanceMatrix(X)

D=distanceMatrix2(X,Y)

demo1.m

image thumbnail

updated 3 months ago

Efficient Vector Rotation Matrix Routine by Darin Koblick

Efficient Method to Determine a Matrix Needed to Rotate One Vector to Another (vector, rotation, euler)

vecRotMat(f,t)

vecRotMatDemo()

image thumbnail

updated 4 months 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 4 months 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 4 months 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 5 months 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 5 months ago

immovie2 by Fang Liu

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

immovie2(varargin)

example.m

image thumbnail

updated 5 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 6 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 6 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 6 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 6 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 6 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 6 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 6 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 6 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 7 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 8 months ago

adtranspose by Alexander Hirzel

antidiagonal transpose (antidiagonal, transpose, matrix)

adtranspose(M)

image thumbnail

updated 8 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 8 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 8 months ago

Linear Equation by James Adams

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

LinearEquation_JA

image thumbnail

updated 8 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 8 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 9 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 9 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 10 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 10 months ago

Circular convolution by Sidhanta Kumar Panda

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

circconv.m

image thumbnail

updated 10 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 10 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 11 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 11 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 12 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 1 year ago

Export matrices to LaTeX by Eva

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

saveTex( outfile, matrices, name )

image thumbnail

updated 1 year 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 1 year ago

Unit_Commitment by KATHIM Alrifai

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

image thumbnail

updated 1 year 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 1 year 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 1 year 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 1 year ago

MIMO-Diophantine solver by davood shaghaghi

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

mimodioph(A,B,N)

image thumbnail

updated 1 year 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 1 year 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

Contact us