image thumbnail

updated 4 months ago

Carpet Plot Toolkit by Rob McDonald

A set of routines to make carpet plotting easier. (carpet, contour, knothole)

Cconv=carpetcontourconvert(x1, x2, y, offset, C)

[xc, yc]=carpetconvert(x1, x2, y, offset, x1p, x2p)

carpet(x1, x2, y, offset, nref, linspec1, linspec2, varargi...

image thumbnail

updated 4 months ago

Hatched Lines and Contours by Rob McDonald

Draw lines and contours with hatches on one side of the line. (hatch, constraint, plotting)

h=hatchedcontours(C,varargin)

h=hatchedline(xc,yc,linespec,theta,ar,spc,len,varargin)

ocontourc(x, y, z, NV, cgt)

image thumbnail

updated 1 year ago

Simulation and Animation of a Quarter-Car Automotive Suspension Model by James Allison

A standard linear quarter-car model is simulated and then animated. (automotive, animation, simulation)

plotsusp(x,road_x,road_z,curr_x,umf)

sim_qcar.m

image thumbnail

updated 1 year ago

Active Shape Model (ASM) and Active Appearance Model (AAM) by Dirk-Jan Kroon

Cootes 2D/3D Active Shape & Appearance Model for automatic image object segmentation and recognition (2d, active appearance mod..., active shape model)

A=imresize3d(V,scale,tsize,ntype,npad)

AAM_2D_example.m

AAM_3D_train_example.m

image thumbnail

updated 2 years ago

Screensize by claus

It permits to set a figure in selected size and position in the screen (screensize, screen, figure)

[]=screensize(xin,yin,xfin,yfin)

image thumbnail

updated 2 years ago

Minimum Entropy Deconvolution (MED 1D and 2D) by Geoff McDonald

Generates a 1D FIR filter iteratively to minimize the entropy of the filtered signal(s). (minimum entropy decon..., deconvolution, 1d)

med2d(x,filterSize,termIter,termDelta,plotMode)

image thumbnail

updated 2 years ago

Matlab, Nyquist, Power system, Plots, Nyquist plot. by satendra kumar

To get a appropriate Nyquist plot. (power system, demo, optimization)

lnyquist1(a,b,c,d,iu,w)

image thumbnail

updated 2 years ago

LinStats by Michael Boedigheimer

Statistical analysis (ANOVA,…) and plotting of fixed and mixed effects models using modern methods (statistics, gui, optimization)

blkrepmat( type, c, q )

center(X, V, dim)

coeff2eqn( coeffs, var_names, skipzeros, parens )

image thumbnail

updated 2 years ago

the Network Simplex Algorithm by Naomichi Aoyama

the Network Simplex Algorithm (optimization, graph theory, network)

admissible( f )

cy( A,i,j )

edge( L,n )

image thumbnail

updated 2 years ago

Heuristic Algorithm for finding Maximum Independent Set by Roberto Olmi

Outputs the independent set of maximum cardinality. Runs in O(n^2) time, n=graph size. (independent set, vertex cover, clique)

x=findMIS(AD,priority)

image thumbnail

updated 3 years ago

Two Dimensional Surface Fitting Program by aasim Azooz

A two dimensional surface fitting program (optimization, mathematics, measurement)

[A,zzz]=fit2(a,x,y,z)

f=fitfit(a,x);

plotdata

image thumbnail

updated 3 years ago

Optimizing breakpoints for Tables by Richard Willey

MATLAB code to support the "Generating Optimal Tables using MATLAB" webinar. (lookup table, table, optimization)

delta2xy(delta,M,Xrange,Yrange)

objFcn(delta,M,Xrange,Yrange,refFitObj,Xr,Yr)

plotCurrentFit(x, optimValues, state, refFitObj,Xrange,Yran...

image thumbnail

updated almost 4 years ago

plot_feasible.m by Matthew Roughan

plot_feasible.m is a simple bit of code for visualizing 2D linear programming problems. (linear programming, hatch, hatching)

[sorted_vertices, ...

plot_feasible_test.m

image thumbnail

updated 5 years ago

Global maximum point for 3D surface using GA by Ali Talib Oudah

Finding the global maximum height for 3D multiple peak surface using genetic algorithm (3d, genetic algorithm, ga)

d=mutate(offs,mutprop)%uniform mutation.

multipeak(pop)

off=cross(parent,croprop)% arithmatic crossover

image thumbnail

updated 5 years ago

"All Pairs Shortest Path" Graph Solver by Michael Kleder

Gives the shortest node-to-node distance along the edges of a graph for all node combinations. (all pairs, shortest path, node)

allspath(A)

image thumbnail

updated almost 7 years ago

Least-Squares optimal affine subspace by Ofek Shilon

Computes the affine subspace (eg, line, plane) that optimally fits the input data (approximation, optimal, optimization)

lsqAffineSpace(V, SpaceDim,varargin)

lsqLine(V,varargin)

lsqPlane(V,varargin)

image thumbnail

updated almost 9 years ago

cfaxisset by Zhang Jiang

Set axis property of figure Curve Fitting Toolbox. (optimization, cftool, axis)

cfaxisset(varargin)

image thumbnail

updated 10 years ago

regdata by Arthur Jutan

Calculates and plots regression statistics from lsqcurvefit.m (optimization, regression, plot)

[std,varresid,r2,cor,vcv,varinf]=regdata(param,yfit,ydata,j...

Contact us