image thumbnail

updated 15 days 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 26 days ago

Sylvester Matrix by Jos (10584)

SYLVESTER - Sylvester matrix of two polynomials (v3.0, june 2013) (this is not working s..., mathematics, polynomial)

sylvester(P,Q ,MpMq)

image thumbnail

updated 1 month ago

Experimental Investigation on Solar Chimney for room ventilation by Ashish Meshram (Meet)

This project implements experimental Investigation on Solar chimney for room ventilation (solar chimney, ventilation, mass rate flow)

EISCRV(H,T,Ta,Ls,W,z,d,Vr,maxiter,maxerr)

GaussSeidelSOR(A,b,omega,es,maxit)

MatCrea(Coeff,Flux,Wall,Tf,Ta,Ls,z,W,d)

image thumbnail

updated 1 month ago

Grid of points within a polygon by Sulimon Sattari

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

polygrid( xv, yv, ppa)

image thumbnail

updated 1 month 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 2 months 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 3 months 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 4 months ago

Find values in a vector or function by Adrian Lara-Quintanilla

For a function y=f(x), this script looks for all the "x" values for a desired value of "y" (y0). (mathematics, data exploration, time series)

varargout=findvalues(vector,yvalue)

image thumbnail

updated 4 months ago

tridiag.m by Mark Holmes

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

tridiag( a, b, c, f )

image thumbnail

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

Vectorized Bisection Search by Sky Sartorius

Find x such that f(x) = target. Vectorization allows for some key advantages over FZERO. (bisection, search, root)

bisection(f,lb,ub,target,options)

image thumbnail

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

Edit Distance Algorithm by Reza Ahmadzadeh

Edit Distance is a standard Dynamic Programming problem. (mathematics, search, dynamic programming)

EditDistance(string1,string2)

image thumbnail

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

Experiments with MATLAB by Cleve Moler

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

Experiments with MATLAB

image thumbnail

updated 10 months ago

Numerical Computing with MATLAB by Cleve Moler

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

Numerical Computing with MATLAB

image thumbnail

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

Export figure to 3D interactive PDF by Ioannis Filippidis

Export figure as a U3D file or directly to 3D interactive graphics within a PDF. (3d, u3d, graphics)

[strmodelshading, strfaces_colors, strfaceshading, strcolor...

arclength(px,py,varargin)

axes_extremal_xyz(ax)

image thumbnail

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

Symmetric eigenvalue decomposition and the SVD by Yuji Nakatsukasa

Eigendecomposition of a symmetric matrix or the singular value decomposition of an arbitrary matrix (mathematics, matrix, eigenvalue)

qdwh(A,alpha,L,piv)

qdwheig(H,normH,minlen,NS)

qdwhsvd(A,a,b,minlen,NS);

image thumbnail

updated 1 year ago

Cofactor Matrix Generator by Angelica Ochoa

Generates a matrix of cofactor values for an M-by-N matrix. (cofactor, mathematics, linear algebra)

cof=cof(a);

image thumbnail

updated 1 year ago

Kolam Generator by Janardhanan Sivaramakrishnan

This suite of functions can be used to generate geometric line drawing of Kolams. (mathematics, matrix, interpolation)

M=propose_kolam1D(size_of_kolam)

M=propose_kolam2D(size_of_kolam)

[N,len,Island]=count_islands(M)

image thumbnail

updated 1 year ago

highest row degree coefficient matrix of a poynomial matrix T by Lazaros Moysis

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

Tl=rowdeg(T);

image thumbnail

updated 1 year ago

All Sums by Mike Sheppard

Distribution of unique sums among all combinations of vectors. (mathematics, statistics, matrix)

[S,C]=allsums(varargin)

image thumbnail

updated 1 year ago

Repeated Values by Mike Sheppard

Finds all repeated values for input X, and their attributes. (repeat values, vector, mathematics)

[RV,NR,POS,IR]=repval(varargin)

image thumbnail

updated 1 year ago

polymorph by Mike Sheppard

Morphs two polygons (optimization, data exploration, matrix)

P=polymorph(P1,P2,numsteps,numpts,exact)

image thumbnail

updated 1 year ago

Cell Extrema by Ioannis Filippidis

Find the minimum and maximum of 2D cell matrix, which may contain nested cell or numeric arrays. (matrix, mathematics, data exploration)

extrema(x)

max_cell(a)

min_cell(a)

image thumbnail

updated 1 year ago

Monte Carlo Markov Chain for inferring parameters for an Ordinary Differential Equation model by Soumya Banerjee

This function uses a Monte Carlo Markov Chain algorithm to infer parameters for an ODE model (biotech, data export, data import)

mcmc_ode

analyze_mcmc(parallel)

test_gamma()

image thumbnail

updated 1 year ago

Store Binary Trees in Matrices or Cells by Abraham

The utilities manipulate matrices or cells which store binary trees. (tree, mathematics, data exploration)

apndtmx(La,Ea,A,Lb,Eb,B)

chldoftmx(L,E,A)

tree2mtx(L,E,D)

image thumbnail

updated 1 year ago

Identify edge and corner element numbers by sunil anandatheertha

Identify the elements lying along edges and corners of a 2D (n x m) matrix (matrix, aerospace, mathematics)

IdentifyEdgesAndCorners(A)

image thumbnail

updated 1 year ago

Specific Sample Function Plotting using MatLab 7.12 by Nadir Altinbas

Function plotting (function, pyramid surface, interval)

image thumbnail

updated 1 year ago

Graphical User Interface for Solving Ordinary Differential Equations by Soumya Banerjee

A Graphical User Interface for Solving Ordinary Differential Equations (Immune Response Model) (data export, data import, gui)

odecall_eclipse_tcl_jv_local(target,infected,...

odesolver_outline(varargin)

image thumbnail

updated 1 year ago

Newton's method done right by Andrew Knyazev

Newton's method for solving systems of nonlinear equations, including nonsquare and inconsistent (demo, newton, modeling)

Newton(X,F,X0,varargin)

NewtonDemoRunMe.m

image thumbnail

updated 1 year ago

Simple Draw Helix Spring 3D Rotate Translate Transform Dilate Save JPG by Amitava Biswas

Simple Draw Helix Spring 3D Rotate Translate Transform Dilate Save JPG (demo, image processing, mathematics)

biswas47.m

image thumbnail

updated 1 year ago

Linear regression on log transformed data by Soumya Banerjee

A function that takes two column vectors and does linear regression on the data (statistics, mathematics, data import)

regress_custom(input_x,input_y,desc,x_label,y_label)

image thumbnail

updated 1 year ago

Simple example of genetic algorithm for optimization problems by Andrea Cirillo

It is used to generate useful solutions to optimization and search problems. (algorithm, genetic, optimization)

[p_min, iter, f]=genetic_algorithm (func, numMaxInd, numF, ...

image thumbnail

updated 1 year ago

Example using a MATLAB Class to control a GUI by Alex

This example shows how to use a Matlab class to control a gui. (class, gui, data export)

standard_fig(varargin)

gui_class_example

image thumbnail

updated 1 year ago

C++.NET programs inside MATLAB language by Mohammed Siddeq

run C++/C++.NET programs inside MATLAB language (communications, mathematics, image processing)

[M]=Read_Write_File_Data(X,R_W,Check_Matrix,Str)

image thumbnail

updated 1 year ago

Gauss Elimination by elle

algorithm for gauss elimination method (mathematics, matrix)

gauss_elmination.m

image thumbnail

updated almost 2 years ago

pcg.m with 'null' and 'flex' options by Andrew Knyazev

Preconditioned Conjugate Gradients handles homogeneous equations and nonsymmetric preconditioning (linear algebra, preconditioned, conjugate)

pcg(A,b,tol,maxit,M1,M2,x0,opts1,opts2,varargin)

image thumbnail

updated almost 2 years ago

Triangular Distribution Tranformation - trirnd by Marc Stettler

trirnd computes a set of triangularly distributed random variables given input numbers in [0,1]. (simulation, statistics, mathematics)

trirnd(trimin,trimax,trimode,rvs)

image thumbnail

updated almost 2 years ago

Laplacian in 1D, 2D, or 3D by Andrew Knyazev

Sparse (1-3)D Laplacian on a rectangular grid with exact eigenpairs. (2d, 3d, laplacian)

laplacian(varargin)

Contact us