image thumbnail

updated 3 days ago

ndwmean by Russell

Up to n-dimensional weighted mean or average of an array with NaN support (weighted mean, weighted sum, weighted average)

ndwmean(array,weights,directions)

image thumbnail

updated 25 days ago

Access TIFF / TIF stacks - lazy loading by Dylan Muir

Read a TIFF stack as a memory-mapped tensor. Handles a large range of internal TIFF formats. (tiff, tif, image manipulation)

TIFFStack

image thumbnail

updated 1 month ago

Bytestream Save Toolbox by Jan Berling

Ultrafast saving of workspace variables as bytestreams. Especially useful for big cells and structs. (save, bytestream, cell arrays)

InBase=fnBaseExist(var1)

cd_ifPathIsValid(varargin)

isValidPathName(pathInput)

image thumbnail

updated 1 month ago

Linear fit with both uncertainties in x and in y by Julien Browaeys

Performs a linear fit with uncertainties in x and y, using a Monte Carlo method (fit, linear, plot)

linfitxy( xdatain, ydatain, xerrin, yerrin, varargin)

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

Export figure to 3D interactive PDF by Ioannis Filippidis

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

[strmodelshading, strfaces_colors, strfaceshading, strcol...

arclength(px,py,varargin)

axes_extremal_xyz(ax)

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

Convert a symbolic expresion to a vector by Luis Erasmo Miranda

convert a symbolic expression to a vector with length of the number of terms of the expression (symbolic, vector, convert)

R=sym2vec(r)

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

Unit_Commitment by KATHIM Alrifai

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

image thumbnail

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

nantowhite by Benjamin Kraus

Convert a 2D matrix into an image with NaNs replaced by white (image, imagesc, colormap)

nantowhite(cvals, clim, cmap)

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)

image thumbnail

updated 11 months 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 12 months 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 12 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, simulation, demo)

Kmeans_Pre_Post.m

kmeans_clustering.m

Image_kmeans_main.m

image thumbnail

updated 1 year ago

tridiag.m by Mark Holmes

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

tridiag( a, b, c, f )

image thumbnail

updated 1 year ago

One-Sided FFT by Aravazhi Anbarasu

More intuitive than built in function for simple operations.Useful for repetitive code and plotiing. (data export, data import, communications)

fft_calc(X,fs)

image thumbnail

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

Image Noise Reduction by Local Statistics by Tristan Ursell

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

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

image thumbnail

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

Random Search Algorithm by Reza Ahmadzadeh

Random search belongs to the fields of Stochastic Optimization and Global Optimization. (optimization, random, search)

RSA.m

RSA_visual.m

image thumbnail

updated 1 year ago

Scalable Vector Graphics (SVG) Export of Figures by Juerg Schwizer

Converts 3D and 2D MATLAB plots to the scalable vector format (SVG). (specialized, plotting, svg)

demo_svg_water

plot2svg.m

simulink2svg

image thumbnail

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

Experiments with MATLAB by Cleve Moler

Apps from Experiments with MATLAB (mathematics, matrix, article)

image thumbnail

updated 1 year ago

Numerical Computing with MATLAB by Cleve Moler

Apps from Numerical Computing with MATLAB (mathematics, matrix, article)

image thumbnail

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

Matrix Convolution with Sub-Pixel Resolution by Tristan Ursell

Convolve two matrices at sub-pixel resolution, using bilinear interpolation. (matrix, convolve, convolution)

matout=matoverlay(mat1,mat2,x,y)

image thumbnail

updated 2 years ago

image_save by Tristan Ursell

You know that annoying error when trying to write to an image stack in Matlab? (image, stack, save)

image_save(Im1,basename,varargin)

image thumbnail

updated 2 years 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 2 years 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 2 years ago

Specific Sample Function Plotting using MatLab 7.12 by Nadir Altinbas

Function plotting (function, pyramid surface, interval)

image thumbnail

updated 2 years 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 2 years 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 2 years 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, passing gui data)

standard_fig(varargin)

gui_class_example

image thumbnail

updated 2 years ago

Apply multiple functions in a single function. by Nikolay S.

Allows the user to apply functions to inputs, with various input-output combination's. (variables, structures, utility)

varargout=funXapply(varargin)

Contact us