image thumbnail

updated 9 days ago

Grid of points within a polygon by Sulimon

This function generates an array of points that lie within a given polygon (polygon, points, point)

polygrid( xv, yv, ppa)

image thumbnail

updated 10 days ago

K means clustering for Image Compression by Vinay Kumar Tadepalli

K-means clustering is a popular vector quantization method for data compression. (image processing, demo, mathematics)

Kmeans_Pre_Post.m

kmeans_clustering.m

Image_kmeans_main.m

image thumbnail

updated 23 days ago

COMBNSUB (1.0) by Jos (10584)

Subset IX of all combinations of N elements of a vector V (combination, subset, selection)

combnsub(V,N, IX)

image thumbnail

updated 1 month ago

modified cumsum for partial accumulated sums by Stephan Koehler

Determine the accumulated sum of series of non-zero values of vectors, resetting at zero entries (mathematics, physics, matrix)

cumsum_restart0( varargin )

image thumbnail

updated 1 month ago

tridiag.m by Mark Holmes

tridiagonal matrix equation solver (Thomas algorithm) (mathematics, matrix)

tridiag( a, b, c, f )

image thumbnail

updated 2 months ago

TexTab by Marcel Rüland

Create formatted tables and save them as a picture like png. Saving tex files is also possible. (data export, matrix, table)

Base

TexTab.m

image thumbnail

updated 2 months ago

Create a quadratic Matrix of DICOM images by Thomas Lindner

Load all DICOM images, change the Matrix size and save them again, keeping the header (Metadata). (dicom, matrix size, load dicom)

change_DICOM_Matrix.m

image thumbnail

updated 2 months ago

comb by Justin Winokur

Quickly generate all combination of integers up to specified value in each dimension (statistics, matrix, mathematics)

comb_arr=comb(p,start)

image thumbnail

updated 2 months ago

Easily store and retrieve subsets on big matrices on disk by Antoine Liutkus

Stores columns of a matrix one at a time in hard disk and permits to easily recover subsets of it. (matrix, storage, hard drive)

SimpleSequence

image thumbnail

updated 2 months ago

NANCAT by Sanjay Manohar

Like CAT, but padding with NaNs. Doesn't complain if input sizes heterogeneous. Faster than CATPAD. (nan, cat, matrix)

C=nancat(DIM, varargin)

image thumbnail

updated 3 months ago

NCHOOSECRIT (V1.0 feb 2013) by Jos (10584)

returns those subsets (= combinations of elements of a set) that fulfill a specific criterion (combinations, pick, subsets)

nchoosecrit(S, FUN)

image thumbnail

updated 3 months ago

One-Sided FFT by Aravazhi Anbarasu

More intuitive than built in function for simple operations.Useful for repetitive code and plotiing. (control design, physics, communications)

fft_calc(X,fs)

image thumbnail

updated 3 months 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 (communications, optimization, aerospace)

regress_plot_twocategories_allslope

image thumbnail

updated 3 months ago

showcells by David Smith

Display contents and structure of a cell array using ASCII boxes. (data exploration, matrix, mathematics)

showcells (C)

demo.m

image thumbnail

updated 3 months ago

PlotArray by Patrick

Use this function to help plot multiple data series of different size without using hold! (matlab, data import, gui)

PlotArray( V,M )

image thumbnail

updated 4 months ago

anovanTable by Sanjay Manohar

Calls ANOVAN, but takes an N-dimensional array as the data. (dimension, statistics, matrix)

anovanTable(T, varargin)

image thumbnail

updated 4 months ago

MIMO-Diofantine solver by davood shaghaghi

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

mimodioph(A,B,N)

image thumbnail

updated 4 months ago

Gaussian Elimination & Inverse Matrix Finder by Mohammed Al-Mostafa

Gaussian Elimination with pivoting& Inverse Matrix Finder using determinant and Gaussian elimination (matrix, mathematics)

Numerical.m

image thumbnail

updated 5 months ago

Structure analysis by Yasser

computation of deflections in various structures such as Frame, Truss, Plate,... (matrix, modeling, measurement)

Frame.m

image thumbnail

updated 5 months ago

1D DOA Estimation with Partial Covariance Matrix and without Eigendecomposition by Youssef KHMOU

Fast algorithm for 1D AOA with partial Covariance matrix. (wireless, matrix, signal processing)

f=Partial_doa(N,P,L,Theta,s,v,Fc)

Demo.m

image thumbnail

updated 5 months ago

Graph incidence matrix to adjacency matrix by Ondrej

Conversion from graph incidence matrix to adjacency matrix. (graph, incidence, adjacency)

inc2adj(mInc)

image thumbnail

updated 5 months ago

printf by Petter

Multiple file pointers. List printing features. Merged fprintf and sprintf. (print printf list spr..., vector, matrix)

printf(varargin)

image thumbnail

updated 5 months ago

GUI for Hybrid Sudoku Solver by Chi-Hang Kwan

A simple GUI to solve Sudoku puzzles. Uses both logical and bruteforce methods. (gui, matrix, mathematics)

SudokuSolver(C)

Sudoku_GUI2

[bool, C, iter]=BruteForce(C,index,empty,iter,PosVal)

image thumbnail

updated 6 months ago

Image Noise Reduction by Local Statistics by Tristan Ursell

Reduce image noise by measuring local pixel statistics and remapping intensities. (relative, deviation, statistics)

[varargout]=relnoise(Iin,sz,sigma,varargin)

image thumbnail

updated 6 months ago

CELP codec by Sourav Mondal

This is a code to demonstrate CELP codecs of bitrate 9.6kbps and 16kbps. (celp, audio codec, lpc)

celp16k(x,N,L,M,c,cb,Pidx)

celp9600(x,N,L,M,c,cb,Pidx)

celpana(x,L,M,c,cb,Pidx,bbuf,ebuf,Zf,Zw)

image thumbnail

updated 6 months ago

Modified gradient for gpuArray's by boyexex

Slightly modified the gradient function of MATLAB that is usable for gpuArray. (image processing, signal processing, mathematics)

ggradient(f,varargin)

image thumbnail

updated 6 months ago

direct solving Diofantine equation by davood shaghaghi

This function is written to direct solve Diofantine equation in the form of C = A*E + F. (control design, simulation, simulink)

david_dioph(A,C,n)

image thumbnail

updated 6 months ago

Nonnegative Matrix and Tensor Factorization (NMF, NTF) with any beta-divergence by Antoine Liutkus

very simple to use implementation of the NMF/NTF model (nmf, ntf, nonnegative)

betaNTF(V,K,varargin)

image thumbnail

updated 6 months ago

solving Diofantine equation by davood shaghaghi

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

david_dioph(A,C,n)

image thumbnail

updated 6 months ago

EQUATION DIFFERENTIELLE y' = -2wy + 1 by Marie Dubois

EQUATION DIFFERENTIELLE CONDITION INITIALE (matrix)

TP1EX1.m

image thumbnail

updated 6 months ago

Linear regression with statistics for multiple category data by Soumya Banerjee

This function does linear regression with statistics for multiple category data (OLS and RMA) (aerospace, automotive, biotech)

regress_plot_twocategories

image thumbnail

updated 6 months ago

MappedTensor class by Dylan Muir

Manages very large tensors of arbitrary dimensions as mapped files on disk; complex support. (matrix, large tensor, mapped file)

MappedTensor

image thumbnail

updated 6 months ago

Matrix Logarithm with Frechet Derivatives and Condition Number by Samuel Relton

Computing the matrix logarithm in real/complex arithmetic with derivatives and condition numbers. (matrix function, matrix, mathematics)

logm_frechet( varargin )

logm_frechet_complex(A,E)

logm_frechet_real(A,E)

image thumbnail

updated 6 months ago

Primitive Numbers by Mustafa Balaban

Primitive Numbers or Not? (matrix)

PrimitiveNumber.m

image thumbnail

updated 7 months ago

COUNT_MATRIX_ELEMS by Paulo Coelho

Obtains unique row elements from MxN matrix A and counts the number of occurrences. (image processing, mathematics, data exploration)

count_matrix_elems.m

image thumbnail

updated 7 months ago

Implementation of Midpoint, Trapezoidal, and Simpson Rule by Mohammad Hossain

(a) Midpoint rule (b) Trapezoidal rule (c) Simpson’s rule (communications, mathematics, matrix)

mid_tp_sim.m

image thumbnail

updated 7 months ago

Draw lines with arrows by Sabesan

Draw lines with arrows. Multiple optional parameters are given for controlling the arrow and line (draw lines, plot, figure)

draw_line2(p1, p2, varargin)

image thumbnail

updated 8 months ago

Pseudo Random Network Coding using Diagonal Matrix by Mohammad Hossain

In order to reduce transmission times and recover loss packets development of PRNC code. (communications, mathematics, simulation)

NCL(A)

image thumbnail

updated 8 months ago

Experiments with MATLAB by Cleve Moler

Apps from Experiments with MATLAB (mathematics, pick of the week, article)

Experiments with MATLAB

image thumbnail

updated 8 months ago

Numerical Computing with MATLAB by Cleve Moler

Apps from Numerical Computing with MATLAB (numerical methods, mathematics, article)

Numerical Computing with MATLAB

image thumbnail

updated 8 months ago

Beam Propagation Method for advancing gaussian beam in a profiled medium by Ido

Basic GUI for Beam Propagation Method. (modeling, beam propagation, simulation)

Beam Propagation Method for advancing gaussian beam

Beam_Propagation_Method_GUI ( varargin )

image thumbnail

updated 8 months ago

Connected Component Analysis on an Undirected Graph by Tristan Ursell

Connected component analysis on undirected graphs, with thresholding and connectivity constraints. (graph, theory, undirected)

[groups,orphans]=graph_analysis(W,varargin)

image thumbnail

updated 9 months ago

Round Toward Vector of Values by Tom R

Round values towards a given vector of choices. (ceil, data, floor)

newnums=roundtowardvec(X,roundvec,type)

image thumbnail

updated 9 months ago

mxArrayIndexingClass by Mirko Kunze

mxArray indexing class for mex-file programming (matrix, mex, multidimensional)

runtestarrayclass.m

image thumbnail

updated 9 months ago

rook pivoting by Leslie Foster

LURP: Gaussian elimination with rook pivoting using efficient Fortran and MATLAB mex code (rook pivoting, lu factorization, rook)

lurp_install

lurp_test(tol,m)

lurp_test_SJ(tol,nsamples)

image thumbnail

updated 9 months ago

Flatten Any Mulitdimensional Matrix into a 2-D Matrix! by Darin Koblick

Convert any multidimensional matrix into a 2-D Matrix. Then convert it back to its original form. (matrix, 2d, flattening)

eDim(fND,fSeq)

fDim(ND,dim)

multiDimDemo()

image thumbnail

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

ISUNIQ by Abhinava Kundu

function isuniq(array) (unique, matrix)

value=isuniq(array);

image thumbnail

updated 10 months ago

KTHVALUE (v2.1, jun 2012) by Jos (10584)

select the k-th smallest element in a (randomized) list (matrix, sort, select)

kthvalue(L,K)

image thumbnail

updated 11 months ago

displaymat(X,m,n) displays the non-zero entries of X by Brenden Epps

displaymat(X,m,n) displays the non-zero entries of X. (matrix, display)

displaymat(X,m,n)

Contact us