image thumbnail

updated 2 years ago

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

Juerg Schwizer (view profile)

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

demo_svg_water

plot2svg.m

simulink2svg

image thumbnail

updated 9 months ago

Particle Swarm Optimization (Vectorized Code) by Reza Ahmadzadeh

a simple implementation of Particle Swarm Optimization algorithm (PSO) (pso, particle swarm, swarm intelligence)

VPSO.m

image thumbnail

updated 13 days ago

plot_subfun by Christopher Pedersen

plots the subroutines in a function, and their dependencies on each other (code analysis, function, code)

plot_graph(names,from,to,varargin)

plot_subfun(foo,varargin)

demo_subfun.m

image thumbnail

updated 1 year ago

1D Finite Element Method (FEM) Example by Cheuk

Cheuk (view profile)

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

Bound Values of an array by Pramit Biswas

Pramit Biswas (view profile)

Check whether value of the array within specified range or not and change accordingly (array, minimum, maximum)

MinMaxCheck( minimum, maximum, A2comp )

image thumbnail

updated 12 months ago

MATLAB Style Guidelines 2.0 by Richard Johnson

Richard Johnson (view profile)

An updated guide to preferred coding style. (article, conventions, documentation)

image thumbnail

updated 1 month ago

Numerical Computing with MATLAB by Cleve Moler

Cleve Moler (view profile)

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

bizcard

blackjack(N)

bslashtx(A,b)

image thumbnail

updated 1 month ago

Variable Precision Integer Arithmetic by John D'Errico

John D'Errico (view profile)

Arithmetic with integers of fully arbitrary size. Arrays and vectors of vpi numbers are supported. (finite field, integer, biginteger)

demo_vpi

base2vpi(B,base)

bin2vpi(B)

image thumbnail

updated 9 months ago

Cell Array to CSV-file [improved cell2csv.m] by Jerry

Jerry (view profile)

Writes cell array content into a *.csv file. (cell arrays, array to file, array to text)

cell2csv(fileName, cellArray, separator, excelYear, decimal)

image thumbnail

updated 27 days 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)

image thumbnail

updated 3 years ago

Adjust "quiver" arrowhead size by Kevin J. Delaney

Lets user easily tweak vectors plotted by "quiver", making arrowheads bigger or smaller. (quiver, arrowhead, vector)

adjust_quiver_arrowhead_size(quivergroup_handle, scaling_...

image thumbnail

updated 6 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)

image thumbnail

updated 1 month ago

Experiments with MATLAB by Cleve Moler

Cleve Moler (view profile)

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

morse_tree_extended.m

bigscreen(arg)

biorhythm(birthday)

image thumbnail

updated almost 2 years ago

struct2csv by James Slegers

James Slegers (view profile)

Output a structure to a .csv file, with column headers (csv, struct, struct2csv)

struct2csv(s,fn)

image thumbnail

updated 4 months ago

Pack & Unpack variables to & from structures with enhanced functionality by Adi Navve

v2struct packs and unpacks variables to and from structures with enhanced functionality. (function inputs, struct2vars, pack)

v2struct

v2structDemo1()

v2structDemo2()

image thumbnail

updated 1 year ago

Gaussian Elimination with Pivoting Method by Cheuk

Cheuk (view profile)

Function uses Gauss elimination with pivoting to solve a linear system in standard format. (linear, algebra, gaussian)

GAUSS_ELIM(A, b)

image thumbnail

updated 1 month ago

For-Each by Jeremy Hughes

Tools for simplifying for-loops. Customizable loop iteration. (loop, iterator, generator)

each(A)

each(C)

each.iterators.MaxIterations()

image thumbnail

updated 2 years ago

tridiag.m by Mark Holmes

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

tridiag( a, b, c, f )

image thumbnail

updated almost 3 years ago

kml2struct by James Slegers

James Slegers (view profile)

Import a .kml file as a series of shapefile structs. Like kml_shapefile, but more stable. (kml_shapefile, kml, shapefile)

kml2struct(kmlFile)

image thumbnail

updated 3 years ago

struct2File by Ivar Eskerud Smith

Print a struct to file. (struct, print, file)

struct2File( s, fileName, varargin )

image thumbnail

updated almost 2 years ago

Simple Stock Ticker by David

David (view profile)

A simple stock ticker app written with a MATLAB class (class, oop)

Simple Stock Ticker

simpleStockTicker

image thumbnail

updated 4 months ago

CAD APPS by Larry Silverberg

Computer Aided Design (CAD) and Exploration Applications (APPS) (structures, design, truss)

CADApps

CADAPP_MESH2_VER6(node,member,mmat,nmat,load,bound, z0,de...

adapt_scale(value, unitType, system)

image thumbnail

updated 1 year ago

Bilinear interpolation of an image or matrix by Disi A

Disi A (view profile)

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

plot_depfun by Christopher Pedersen

plots a graph of the dependencies of a function (code, function, depfun)

plot_depfun(foo,varargin)

plot_graph(names,from,to,varargin)

image thumbnail

updated 3 years ago

Example using a MATLAB Class to control a GUI by Alex

Alex (view profile)

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

Compressed Row Storage (CRS) Successive Over-Relaxation (SOR) Method by Cheuk

Cheuk (view profile)

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

Chicken Swarm Optimization Algorithm (demo) by Xian-Bing Meng

This is a new bio-inspired algorithm Chicken Swarm Optimization, proposed by Xian-bing(2014) (mathematics, optimization, matlab)

CSO.m

image thumbnail

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

Worst-Case Propagation of Uncertainty by Brad Ridder

Estimates the propagated uncertainty for a function, at a given point, with given uncertainties. (error, uncertainty, propagation)

colebrook_solve(x)

worstcase(f,x,uncertainties)

worstcase_colebrook_example

image thumbnail

updated 3 years ago

Random Numbers from a Discrete Distribution by Tristan Ursell

Tristan Ursell (view profile)

Simple algorithm to generate random numbers from a user-defined discrete probability distribution. (random, number, variable)

gendist(P,N,M,varargin)

image thumbnail

updated 2 months ago

Read TIFF stacks into Matlab fast, with lazy loading by Dylan Muir

Dylan Muir (view profile)

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

tiffread29_header(filename)

tiffread29_readimage(TIF, HEADER, vnFrames)

TIFFStack

image thumbnail

updated 1 year ago

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

Stefan (view profile)

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

ProgressBar

image thumbnail

updated 1 year ago

Unit_Commitment by KATHIM Alrifai

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

image thumbnail

updated 3 years ago

Antenna Arrays in 3D by Amol Mahurkar

Produces radiation pattern for Broadside, Endfire, and Binomial antenna arrays in 3 dimensions (antenna, array, binomial)

Binomial_array_3D.m

Broadside_array_3D.m

Endfire_array_3D.m

image thumbnail

updated 1 year ago

Snip.m Snip elements out of vectors/matrices by Nicolas

Nicolas (view profile)

Solves problems s.a. 'remove all nan' from a vector, 'get rid of 14th row of matrix' with low effort (basic function, matrix manipulation, easy)

[out]=snip(in,arg1,varargin)

image thumbnail

updated 4 months ago

Finite Element Triangular Mesh Generator by Kehinde OROLU

This function generates triangular mesh for a rectangular shape structure for FEM analysis (mesh, finite element analys..., matrix)

femTriangularMeshGenerator(Lx,Ly,Nx,NE)

FEMmeshExample.m

image thumbnail

updated 1 year ago

Printing a formatted table by Daniel Wirtz

Daniel Wirtz (view profile)

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

PrintTable

image thumbnail

updated 11 months ago

Heat Exchanger Solver by Seyyed Ali

Calculating outlet temperatures of a Heat Exchanger using Epsilon-NTU method (boiler, boiling, condense)

[T_hot_out,T_cold_out]=HeatExchanger(m_dot_hot,c_p_hot,T_...

epsilon=effectiveness(NTU,C_r,HE_Type,N)

Test.m

image thumbnail

updated almost 3 years ago

QPSK over Rayleigh fading Channel by Sourav Mondal

The BER of QPSK scheme over AWGN & Rayleigh fading channel. (communications, data export, data import)

Refresh(Received)

qpsk_rayl.m

image thumbnail

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

Positive-Definite Matrix by Muhammad Asim Mubeen

This function returns a positive-definite symmetric matrix. (matrix, matrices, nonlinear)

Spd_Mat(A)

image thumbnail

updated 1 year ago

Complex Function Explorer by Elias Wegert

Routines and user interface to depict and explore complex functions using color representations (colormap, complex function, special functions)

CFEGUI

MyFunction(z)

PPDemo(cs)

image thumbnail

updated almost 3 years ago

struct2table by Karl

Karl (view profile)

displays a struct's contents in a clear way... (struct, table, display)

struct2table.m

image thumbnail

updated almost 2 years ago

Point cloud normal vector by Jered Wells

Jered Wells (view profile)

NORMND computes the vector normal to points in an N-D point cloud (eigenvector, eigenvalue, normal)

normnd(data,varargin)

image thumbnail

updated 3 months ago

Numerical Integration Toolbox by George Papazafeiropoulos

Contains several numerical integration rules to evaluate the integral of a function (abscissa, adaptive, chebyshev)

Adaptive Numerical Quadrature Theory

Integration Point Calculation Theory

Quadrature Rule Theory

image thumbnail

updated 7 months ago

Object oriented program demo: animated traffic lights on road intersection by Bogumila & Zbigniew MROZEK

simple classes and superclass are used to arrange flexible object oriented programming environment (demo, gui, simulation)

map

tLamps % trafficLamp

trafficLamp

image thumbnail

updated 1 year ago

Connect Randomly Ordered 2D Points into a Minimal Nearest-Neighbor Closed Contour by Tristan Ursell

Tristan Ursell (view profile)

Connects randomly ordered 2D points into a minimal nearest neighbor contour. (contour, nearest, neighbor)

[Xout,Yout,varargout]=points2contour(Xin,Yin,P,direction,...

image thumbnail

updated 29 days ago

Natural-Order Filename Sort by Stephen Cobeldick

Natural-order sort of filenames or filepaths, with customizable numeric format. (pick of the week, potw, sort)

natsortfiles(X,varargin)

image thumbnail

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

XMLNode by Jarrod Rivituso

MATLAB class that allows you to use XPath to navigate and extract data from an XML document. (xml xpath java namesp..., xml, namespace)

XMLNode

XMLNodeImpl

startup.m

Contact us