image thumbnail

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

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

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

Draw line with Arrows in 3D by Sabesan

draw_line3 draw line with directional arrow/arrows for the given 3D vector coordinates. (arrow, line in 3d, vector)

draw_line3(p1, p2, varargin)

image thumbnail

updated 1 year ago

Array Factor by Electromagnetizery

Array Factor for dipoles. Adjustable number of elements, progressive phase, and separation distance. (af, array, factor)

ArrayFactor(varargin)

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

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

Basic GUI for Beam Propagation Method. (gui, mathematics, simulation)

Beam Propagation Method for advancing gaussian beam

Beam_Propagation_Method_GUI ( varargin )

image thumbnail

updated 1 year ago

Round Toward Vector of Values by Tom R

Round values towards a given vector of choices. (round, fix, floor)

newnums=roundtowardvec(X,roundvec,type)

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

Gabor function by Niru Maheswaranathan

Generates a 2D spatial Gabor function. Useful for generating model simple cell receptive fields. (gabor, function, image processing)

gabor(varargin)

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

Cofactor Matrix Generator by Angelica Ochoa

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

cof=cof(a);

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

Brick Toolbox by Thomas Deneux

The Brick Toolbox is a set of utility functions for Matlab. (easy, fast, cool)

a=fn_readasciimatrix(filename,nheaders)

createhelpfiles(mfile)

data=fn_bin(data,bins,varargin)

image thumbnail

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

Repeated Values by Mike Sheppard

Finds all repeated values for input X, and their attributes. (data exploration, statistics, mathematics)

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

image thumbnail

updated 2 years ago

polymorph by Mike Sheppard

Morphs two polygons (optimization, data exploration, matrix)

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

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

Fisher Matrix Toolbox (Fisher4Cast ) by Yabebal Fantaye

General Fisher Matrix Toolbox and GUI (statistics, probability, fisher4cast)

Cooray_et_al_2004

EXT_FF_Blake_etal2005_Input

EXT_FF_Blake_etal2005_Main(Input_survey)

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

Newton's method done right by Andrew Knyazev

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

Newton(X,F,X0,varargin)

NewtonDemoRunMe.m

image thumbnail

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

Simple example of genetic algorithm for optimization problems by Andrea Cirillo

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

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

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)

image thumbnail

updated 2 years ago

Encryption/Coding and Minimzing Data by Mohammed Siddeq

this program used in the Encryption/Coding and Minimize array size at the same. (communications, image processing, signal processing)

[EncryptedData,Table]=Encryption_Coding_Minimize_Array_Al...

[KEY]=Key_generater(StartValue,MAX_VALUE,Factor)

[New_arr]=Decryption_Deoding_Minimized_Array_Algorithm(Ke...

image thumbnail

updated 2 years ago

Multiple Variable Traveling Salesmen Problem - Genetic Algorithm by Joseph Kirk

Finds a near-optimal solution to a variation of the MTSP with variable number of salesmen using a GA (optimization, multiple traveling sa..., mtsp)

mtspv_ga(xy,dmat,minTour,popSize,numIter,showProg,showRes...

image thumbnail

updated 2 years ago

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

run C++/C++.NET programs inside MATLAB language (embedded code, matrix, image processing)

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

image thumbnail

updated 2 years ago

Gauss Elimination by elle

algorithm for gauss elimination method (mathematics, matrix)

gauss_elmination.m

image thumbnail

updated 2 years ago

nancumsum by Brett Shoelson

Compute the cumulative sum of matrices, specifying the treatment of NaNs. (nan, cumulative, sum)

B=nancumsum(A,dim,nmode)

image thumbnail

updated 2 years ago

CTrecon-an improved parallel data image reconstruct function by Robert Alvarez

Fixes a bug in iradon that results in offsets from the true values. Uses mex func. for backproject (image processing, reconstruct, iradon)

CTrecon(prj,varargin)

P6CTrecon.m

image thumbnail

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

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

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

laplacian(varargin)

image thumbnail

updated almost 3 years ago

Newton - Raphson method by Andrea Cirillo

Find the zero of a regular function with Newton - Raphsons' method. (optimization, mathematics, newton)

zero=newton_raphson(funzione,tolleranza)

image thumbnail

updated almost 3 years ago

Better Block scan by Said BOUREZG

Hilbert16.m Hilbert.m Hilbertinv16.m Hilbertinv.m lena512.bmp (medical, image processing, matrix)

file=Hilbert(T);

file=Hilbert16(T);

inv=Hilbertinv(T);

Contact us