image thumbnail

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

Progress bar for matlab loops (incl. parfor) by Stefan

A progress bar that shows what percentage of a loop has finished. Based on parfor_progress. (loop, progress, bar)

ProgressBar

image thumbnail

updated 3 months ago

Image/matrix shift by Nikolay S.

Two of my functions used for registration-matrix shifting as alternative to circshift. (circular shift, interp2, matrix manipulation)

shiftedMat=floatingCircShift(inMat, shiftSize)

shiftedMat=normshift(inMat, shiftSize)

varargout=imshift(shiftVec, varargin)

image thumbnail

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

CloudConnectivityChecker_R2012a by Amaria

Checks whether your MATLAB session can connect to the Amazon EC2 cloud (parallel, cloud, ec2)

identifyConnectionErrors(obj, ME)

launchVerification()

(Hidden) AbstractStage

image thumbnail

updated 3 months ago

emptyStruct by David Young

Creates empty struct arrays of various kinds (structures, structure, struct)

emptyStruct(fieldnames, sz)

image thumbnail

updated 3 months ago

Phase Plots of Complex Functions by Elias Wegert

Routines for creating color representations of complex functions (phase plots) (complex functions, phase plot, domain coloring)

BrightenRGB(RGB,bright)

GUI_PhasePlot(hObject, ~)

PPDemo(cs)

image thumbnail

updated 4 months ago

Write Cell Array to Text File by Roland Pfister

A cell array is written to a delimited output file, incl. options for appending & custom delimiters. (array, cell, dlmwrite)

dlmcell(file,cell_array,varargin)

image thumbnail

updated 4 months ago

Support Vector Regression by Ronnie Clark

A MATLAB implementation of Support Vector Regression (SVR). (regression, nonlinear, machine learning)

svr(xdata,ydata,x,alpha, b, c, epsilon)

svr_test.m

image thumbnail

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

toPPT by Jens Richter

This script will help you to make your powerpoint slides directly from matlab. (powerpoint, microsoft, windows)

addBitmapGraphic(myFigure,myArg)

addText(myArg)

addVectorGraphic(myFigure,myArg)

image thumbnail

updated 4 months ago

Random Integer Generator by Edward Zechmann

This program quickly outputs n random integers in the specified range from a to b. (random, random integer, integer)

[ndraw, count, count2, error]=rand_int(a, b, n, sorted, n...

image thumbnail

updated 4 months ago

Arbitrary Read by Debejyo Chakraborty

Read line by line from an arbitrarily formatted file (delimiter, file read, cell array)

arbitread.m

image thumbnail

updated 4 months ago

iterlin and iterget by Samuel Bandara

Linearize nested loops for smarter dispatch by parfor (parfor)

iterget(rng, it)

iterlin(rng)

image thumbnail

updated 4 months ago

Distributed Batch Job by Oliver Woodford

Spread batch work over multiple MATLAB instances on multiple networked PCs (parallel, parfor, distributed)

batch_job_distrib(varargin)

image thumbnail

updated 4 months ago

Max and min keeping NaNs by David Young

The max and min functions ignore NaN values. These functions keep them like arithmetic functions do. (max, min, maximum)

maxNan(a, b, dim)

minNan(a, b, dim)

image thumbnail

updated 4 months ago

Batch Job by Oliver Woodford

Spread batch work over multiple MATLAB instances (batch, batch processing, parfor)

batch_job(varargin)

image thumbnail

updated 5 months ago

plot Hydrogen Atom Molecular Orbital by Evan

mix, hybridize, and visualize hydrogen orbital wavefunctions (molecular, physics, chemistry)

PlotHydrogenMolecularOrbital

PlotHydrogenMolecularOrbital_1s2s3s4s

PlotHydrogenMolecularOrbital_2p

image thumbnail

updated 5 months ago

CATSTRUCT by Jos (10584)

Concatenate/merge structures (v4.0, dec 2013). (structures, cell arrays, structure)

catstruct(varargin)

image thumbnail

updated 5 months ago

adtranspose by Alexander Hirzel

antidiagonal transpose (antidiagonal, transpose, matrix)

adtranspose(M)

image thumbnail

updated 5 months ago

Bisection Method Animation by James Adams

Calculates the root of a function using the Bisection method. Values at each iteration are plotted. (bisection, method, root)

BisectionMethod_Animation_JA

image thumbnail

updated 5 months ago

Fixed Point Algorithm by James Adams

Calculates the fixed point of a function. (fixed point, algorithm, function)

FixedPoint_Algorithm_JA

image thumbnail

updated 5 months ago

Eternity2 by Jeremy Wurbs

Recursive Eternity 2 Solver (eternity, eternity 2, recursion)

addPiece( pieces, addedLoc, addedPiece )

findSol( board, boardSize, pieces, pieceTypes, numPieces,...

generateBoard(boardSize, numTypes, numBorderTypes)

image thumbnail

updated 5 months ago

Newton's Method Animation by James Adams

Uses Newton's method to calculate a root to a polynomial function. (newton, method, polynomial)

NewtonsMethod_Animation_JA

image thumbnail

updated 5 months ago

save or load the individual properties of an object by Hao

a demo class capable of saving or loading individual properties, to or from a .mat file (save, load, object)

demoClass

image thumbnail

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

Quadratic Solver by James Adams

Finds solutions to a Quadratic function using Quadratic formula (quadratic, function, roots)

QuadraticFunction_JA

image thumbnail

updated 5 months ago

Linear Equation by James Adams

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

LinearEquation_JA

image thumbnail

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

Oommf vector data file to Matlab array by Héctor Corte

Imports Oommf vector data files saved as text into Matlab (oommf, micromagnetism, import)

[data]=oommf2matlab(fileToRead1)

image thumbnail

updated 5 months ago

Check4updates by Bjorn Gustavsson

Check4updates tracks updates of your favourite FeX packages, with GUI-selection for download. (programming, fex package update tr..., manage download)

Check4updates.m

fcnWithInfoFields.m

fcnWithInpArgsExmpl.m

image thumbnail

updated 5 months ago

Recursive Sudoku Solver in MATLAB by Josip

A Sudoku solver that takes a (9x9) matrix and outputs the solved matrix. (sudoku, recursion, solver)

miniSudokuSolver(sud)

image thumbnail

updated 6 months ago

Random Signal generation by Chethan C U

A compilation of random signal generation scripts that can be used for Testing various algorithms (random, testing, model based testing)

GenRandomSignal(AMP,FREQ,BIAS,EndTime,dt)

output=SignalNoise(InSignal,noise_control,noise_duration)

s=BoolNoise(a,noise_factor,width_factor)

image thumbnail

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

log4matlab by Gavin

Simple logger written with Apache's log4cxx & log4j in mind (logging to file, logger, log4cxx)

(Sealed) SingleInstance

Namespace.TestClass1

TestClass1

image thumbnail

updated 6 months ago

Worker Object Wrapper by Parallel Computing Team

Simplifies managing resources such as large data within PARFOR loops and SPMD blocks (parallel computing, parfor, spmd)

WorkerObjWrapper

image thumbnail

updated 6 months ago

Printing a formatted table by Daniel Wirtz

Allows to display and print simple text tables in MatLab. Plain and LaTeX format supported. (table, string table, char table)

PrintTable

image thumbnail

updated 6 months ago

Setting Maximum numer of Characters in edit box by 123456

Shows how to limit the number of characters in an edit field using simple GUI programming. (edit, box, edit box)

limit_text(varargin)

image thumbnail

updated 6 months ago

Timefor by Francois Rongère

A matlab class for easy instrumention of for loops with timing feedbacks on the command line (loop, progress, remaining time)

Timefor

test_timefor.m

image thumbnail

updated 6 months ago

Example files for "Programming with MATLAB" Webinar by Jiro Doke

Example files for "Programming with MATLAB" Webinar, first delivered October 3, 2013. (programming, mathworks, webinar)

WindAnalysisFcn.m

importWindDataFcn(filename, startRow, endRow)

Automated Wind Turbine Data Analysis

image thumbnail

updated 7 months ago

South African Public Holidays by Nicole Wilson

Returns dates corresponding to non-trading days for the Johannesburg Stock Exchange in South Africa (finance, dates, function)

holidaysRSA(varargin)

image thumbnail

updated 7 months ago

Locally Adaptive Kernel Density Estimation by Hideaki Shimazaki

Kernel density estimation with bandwidths locally adapted to data. (statistics, bandwidth, kernel)

sshist(x,N)

sskernel(x,tin,W)

ssvkernel(x,tin)

image thumbnail

updated 7 months ago

MATLAB function list by Jamie Gertsch

Writes a MATLAB function list to file. (development environme..., function, syntax highlighting)

writeFunctionList(func_file)

image thumbnail

updated 7 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,...

Contact us