image thumbnail

updated 20 days ago

Chebfun V4 by Chebfun Team

Numerical computation with functions instead of numbers. (numerical analysis, interpolation, approximation)

absTest

ad_basic

A greedy algorithm for choosing interpolation points

image thumbnail

updated 1 month ago

odehybrid by Tucker McClure

Simulation engine for hybrid continuous- and discrete-time systems (simulation, ordinary differential..., difference equations)

example_odehybrid_eventfcn(t, x, p, v)

example_odehybrid_logging()

example_odehybrid_outputfcn(t, x, p, v, flag)

image thumbnail

updated 2 months ago

SaivDr Package by Shogo Muramatsu

System object definitions for sparsity-aware image (and volume data) restoration (image processing, nsolt, ista)

fcn_ksvdsdiclrn(params)

Quickstart of SaivDr Package

mytest(testCaseStr)

image thumbnail

updated 4 months ago

Arc-length method by George Papazafeiropoulos

Finds the roots of a function using the arc-length method (arc length method, nonlinear equation, aders)

[R,Q,K]=function1(t)

Arc-length control method (Crisfield, 1981 and Fafard Ma...

Arc-length control method (Ritto-Correa Camotim, 2008)

image thumbnail

updated 5 months ago

polyfitZero by Mark Mikofski

Fit polynomial to data, forcing y-intercept to zero or arb. value and slope to zero or arb. value (mathematics, modeling, data exploration)

polyfitZero example

polyfitB(x,y,degree,b)

polyfitB0(x,y,degree,b)

image thumbnail

updated 6 months ago

Newton-Raphson solver by Mark Mikofski

Yet another solver that uses the backslash function to solve a set of non-linear equations. (mathematics, optimization, data exploration)

newtonraphson_example

newtonraphson(fun, x0, options)

image thumbnail

updated 6 months ago

Regularization Kaczmarz Tools Version 1.0 for Matlab by Andrey Ivanov

Regularization Column version of Kaczmarz algorithmfor solving ill-posed systems (iterative projection ..., incorrect problems, regularized solution)

columnkaczmarz(A,b,K,x0,options)

Convergence of the regularized form of the Column-Kaczmar...

randcolumnkaczmarz(A,b,K,x0,options)

image thumbnail

updated 7 months ago

MATLAB for R Users in Computational Finance by Ameya Deoras

Learn how to use MATLAB and R together to tackle your computational needs (r, rstudio, time series)

blsbtyval(SpotPrice, StrikePrice, RiskFreeRate, ...

blsmaincall2(Request)

Backtest Moving Average RSI Combo Strategy

image thumbnail

updated 9 months ago

HPF - a big decimal class by John D'Errico

High precision floating point arithmetic, a new class written in MATLAB (hpf, multiple precision, big decimal)

Demo script for my High Precision Floating point decimal

DefaultDecimalBase(DBaseNew)

DefaultNumberOfDigits(NDig,varargin)

image thumbnail

updated 10 months ago

DirLOT Toolbox by Shogo Muramatsu

MATLAB class definitions for directional lapped orthogonal transforms (optimization, image processing, genlot)

...

...

...

image thumbnail

updated 12 months ago

NumSim toolbox by Mathieu Gendron

Multiphysic boundary value problems, interpolation, meshless, points generation, simulation (multiphysics, boundary value proble..., interpolation)

...

Check_filename_path_and_VarName(cplt_filename,Automatic_A...

Check_inputs_NumSim(var,FieldNames_NumSim,Filenames,...

image thumbnail

updated 1 year ago

Sphere Fit (least squared) by Alan Jennings

Fits a sphere to a set of noisy data. Does not require a wide arc or many points. (least squares, statistics, optimization)

sphereFit_Example

sphereFit(X)

image thumbnail

updated 1 year ago

Algorithm Development with MATLAB by Sumit Tandon

Demo files to go with recorded webinar. (data import, gui, image processing)

BallDetectionGUI(varargin)

ImageGUI(varargin)

Find Green Object

image thumbnail

updated 1 year ago

Spline2D or Piecewise Continuous 2D Polynomials by Mark Mikofski

Fit a 2D function with piecewise continuous polynomials (data exploration, interpolation, mathematics)

examples

splineFit2D(f,x,y,n,m,xb,yb,continuity,ngrid)

splineVal2D(pp,x,y,n,m,xb,yb)

image thumbnail

updated 1 year ago

Determination of the minimum distance between two SuperEllipsoids surfaces. Using Optimization by Ricardo Portal

Optimization method to determine the minimum distance (or max overlap) between two SuperEllipsoids? (contact detection, collision detection, proximity query)

constraints.m

hn=arrow3(p1,p2,s,w,h,ip,alpha,beta)

MAIN

image thumbnail

updated 1 year ago

LBFGSB (L-BFGS-B) mex wrapper by Stephen Becker

Mex wrapper for lbfgsb v3.0 fortan library. L-bfgs-b solves box-constrained optimization. (optimization, constrained optimizat..., quasinewton)

compile_mex

driver1(x)

fminunc_wrapper(x,F,G,H)

image thumbnail

updated 1 year ago

Optimal Inverse Function Creation by Alan Jennings

Creates continuous, optimal inverse-functions: given a desired output, finds the optimal input (inverse, optimization, multidimensional)

InvFun_Test

InvFuntions=InvFun(Pop_I,ProbStrut)

image thumbnail

updated 1 year ago

Numerical Inverse Laplace Transform by Tucker McClure

Numerical approximation of the inverse Laplace transform for use with any function defined in "s". (inverse laplace trans..., laplace, talbot)

euler_inversion(f_s, t, M)

euler_inversion_sym(f_s, t, M, P)

talbot_inversion(f_s, t, M)

image thumbnail

updated 1 year ago

Optimal Control Using Control Vector Parameterization by Chang Duan

An example of using control vector parameterization to solve an optimal control problem (optimal control, direct sequential met..., control vector parame...)

[topt,xopt,uopt,thetaopt]=plotopt1( x0,N,ts,dvarO,beta,rh...

[topt,xopt,uopt,thetaopt]=plotopt2( x0,N,ts,dvarO,beta,rh...

Optimal Control Using Control Vector Parameterization

image thumbnail

updated 1 year ago

Fast K-means clustering by Sebastien PARIS

Fast mex K-means clustering algorithm with possibility of K-mean++ initialization. (statistics, image processing, mathematics)

gene_mvgm(d , K , sig)

test_yael_kmeans

mexme_yael_kmeans(options)

image thumbnail

updated 1 year ago

Image reconstruction by Hanan Kavitz

The purpose of this demo is to reconstruct a simple picture of several polygons. (genetic algorithm, global optimization, image reconstruction)

[state,options,optchanged]=drawBestSolution(options,state...

pop=create_func(NVARS,~,options)

imageBuilding

image thumbnail

updated almost 2 years ago

Inverse Optimal Functions for Motoman HP-3 Tip Precision by Alan Jennings

A population based optimization increases pointing precision for a planar robotic arm. (robotics, inverse, inverse kinematics)

Clusters=ClusterGenerate_4(TestPoint,J,J_Grad,Y_Grad,Opti...

Delta_X=PSO_OptFun_CostDescent_Armijo_1(Particles,Options)

[NewPoint,New_J,Delta_X,Adjusted]=ArmijoStep_1(TestPointA...

image thumbnail

updated 2 years ago

A Graphical User Interface for Solving Delay Differential Equations and doing Local Search by Soumya Banerjee

A GUI for solving a set of delay differential equations (DDEs) and local search for best solutions (biotech, data export, data import)

...

dde_auto_fit

ddecall_tcl(target,infected1,infected2,...

image thumbnail

updated 2 years ago

How Computer Models Help Break Records? by Coorous Mohtadi

Article on use of MATLAB to build a simplified model of the BLOODHOUND Super Sonic Car. (bloodhound, aerospace, automotive)

How Do Computer Models Help Break Records?

[dv]=BloodhoundEQ(t,v)

Bloodhound

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)

analyze_mcmc(parallel)

mcmc_ode

test_gamma()

image thumbnail

updated 2 years ago

Free Split and Merge Expectation Maximization for MultiVariate Gaussian Mixture by Sebastien PARIS

FSMEM can estimate MVGM parameters and number of conpounds via split/merge cluster moves (mathematics, optimization, signal processing)

gene_mvgm(d , K , sig)

test_fsmem_mvgm

init_mvgm(Z , K)

image thumbnail

updated 2 years ago

flattenMaskOverlay by Jiro Doke

Create a flattened image with an overlayed mask, with specified color and opacity (transparency). (image processing, mask, overlay)

flattenMaskOverlay(img, mask, varargin)

Example: flattenMaskOverlay

image thumbnail

updated 3 years ago

Electricity Load and Price Forecasting Webinar Case Study by Ameya Deoras

Slides and MATLABĀ® code for the day-ahead system load and price forecasting case study. (electricity, energy trading, model)

createHolidayDates(startDate, endDate)

Electricity Load Forecasting using Neural Networks

dynamicDateTicks(axH, link)

image thumbnail

updated 3 years ago

Demo files for "Algorithm Development with MATLAB" Webinar by Jiro Doke

These are the demo files for "Algorithm Development with MATLAB" Webinar held on April 5, 2011. (algorithm development, image processing, gui)

ImageGUI(varargin)

Find Green Object

BallDetectionGUI(varargin)

image thumbnail

updated 7 years ago

Quantitative High-Throughput Gene Expression Imaging by Sam Roberts

Image Processing for Quantitative Gene Expression Analysis of Drosophila Embryo Images (biotech, pharmaceutical, gene expression)

Quantitative High-Throughput Gene Expression Imaging

flyproc(im)

dctflyexdemo.m

Contact us