image thumbnail

updated 4 months ago

Parse JSON text by Joe Hicklin

Convert data from JSON format to a MATLAB-usable variable. (data import, json, toolbox)

From Trendy to MATLAB

Reading in JSON Strings

JSON

image thumbnail

updated 5 months ago

Three variables multilevel design of experiment by Ivan Brezani

Custom DoE for evaluating effect of 3 variables in 41 runs. Including visualization in 4D space. (design of experiment, 4d, visualization)

GUI for evaluation of a custom three variables multilevel...

DoE_GUI(varargin)

diagonal(dir,Xmg,Ymg,Zmg,Rmg)

image thumbnail

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

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

Arc-length control method (Lam Morley, 1992)

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

image thumbnail

updated 5 months ago

Expectation Maximization Algorithm with Gaussian Mixture Model by Shujaat Khan

Matlab Implementation of EM Algorithm with GMM (em algorithm, gaussian mixture mode..., gmm)

Main

gauss_dist(x,meu,sigma )

image thumbnail

updated 5 months ago

Dicom Operator - EsmeProcess by Jun Li

EsmeProcess functions dicom image operation including viewing, drawing, writing and statistic. (dicom, mask, header)

EsmeProcess Tutorial

[meanGL1, stdGL1, meanGL2, stdGL2, ...

addmenuitems.m

image thumbnail

updated 5 months ago

Discrete Orthogonal Polynomial Toolbox: DOPBox Version 1.8 by Matthew Harker, Paul O'Leary,

A toolbox for discrete orthogonal polynomials and their applications to fitting, ODEs etc. (discrete orthogonal p..., polynomial approximat..., fitting)

Constrained Basis Functions in a Sturm-Liouville Problem

Demo2: Demonstrate Constrained Solution Spaces

Demo3: Constraints Placed Not at Nodes

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

hpmixed by Viktor Witkovsky

REML based fitting of the linear mixed effects models with a simple variance covariance structure (statistics)

Example_01_SplitPlotData

getFisherInfApprox(lmefit,options)

getFisherInfExact(lmefit,options)

image thumbnail

updated 6 months ago

Simulation of Random Walk by QiQin Zhan

Random walk model is made to explain the Brownian motion. (simulation, random walk, brown motion)

Simulation of random walk

Simulation of random walk

FittingFunCurve(beta)

image thumbnail

updated 6 months ago

Digraph Datatype with Vertex labels by Steve McClure

Compute/manipulate directed graph while retaining vertex labels (dijkstra, graph theory, digraph)

Manipulating digraphs with Vertex labels

digraph

digraphAPITest

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)

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

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

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

image thumbnail

updated 7 months ago

URL Filter by Ned Gulley

Scrape one or more numbers off of a web page (web, html, scrape)

Examples from the Trendy Tutorial

urlfilter(url, target, numNumbers, direction)

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)

Backtest Moving Average RSI Combo Strategy

Optimizing Market Risk using Copula Simulation

blsapp()

image thumbnail

updated 9 months ago

Calling Shared Libraries from Simulink by Mikhail

This paper discusses several approaches for calling shared libraries from Simulink models (simulink, sfunction, legacy code tool)

Calling Shared Libraries from Simulink

simlib_test

simlib_test_dyn

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

hpf_regression_testing

DefaultDecimalBase(DBaseNew)

image thumbnail

updated 10 months ago

IAPWS_IF97 functional form with no slip by Mark Mikofski

Water and steam properties and derivatives based on the IAPWS IF97. Functional form. No slip. (control design, simulation, chemistry)

IAPWS_IF97 Example

IAPWS_IF97(fun,in1,in2)

image thumbnail

updated 10 months ago

Algorithmic Trading with Bloomberg EMSX and MATLAB by Nicole Wilson

Files used in the webinar which can be viewed at http://www.optinum.co.za/webinars/contact_main.php (finance, demo, webinar)

Algorithmic Trading with MATLAB and Bloomberg EMSX: Onlin...

Algorithmic Trading with MATLAB: Intraday trading

Bloomberg EMSX API: Simple Examples

image thumbnail

updated 11 months ago

Android Sensor support from MATLAB by MathWorks Mobile Sensor Connectivity Team

Use MATLAB to acquire sensor data from built-in sensors on your Android device. (android, mobile sensor, accelerometer)

Capturing Azimuth, Pitch, and Roll Example

Capturing and Mapping GPS Example

Count steps with acceleration data from your Apple or And...

image thumbnail

updated 11 months ago

iPhone and iPad Sensor support from MATLAB by MathWorks Mobile Sensor Connectivity Team

Use MATLAB to acquire sensor data from built-in sensors on your iPhone or iPad. (iphone, ipad, mobile sensor)

Capturing Azimuth, Pitch, and Roll Example

Capturing and Mapping GPS Example

Count steps with acceleration data from your Apple or And...

image thumbnail

updated 11 months ago

Commodities Trading with MATLAB by Anshuman Mishra

Demos from the 'Commodities Trading with MATLAB' webinar - July 25, 2013. (algorithmic trading, automated trading, trading)

Commodities Trading with MATLAB - Backtesting with varyin...

Commodities Trading with MATLAB - Catch-up strategy acros...

Commodities Trading with MATLAB - Cross Sectional Momentum

image thumbnail

updated 11 months ago

A Few Modulations by Jared

ASK, BPSK, FSK and QPSK modulations done by hand. (communications, signal processing, modulations)

ask_mod

bpsk_mod

fsk_mod

image thumbnail

updated 11 months ago

DirLOT Toolbox by Shogo Muramatsu

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

Quick Start of DirLOT Toolbox

...

...

image thumbnail

updated 12 months ago

Machine Learning with MATLAB by Abhishek Gupta

These are the supporting MATLAB files for the MathWorks webinar of the same name. (blackbox modeling, nonparametric, partitional clusterin...)

Clustering Corporate Bonds

Machine Learning using MATLAB

ImportBankData(filename, startRow, endRow)

image thumbnail

updated 12 months ago

Variable Precision Integer Arithmetic by John D'Errico

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

demo_vpi

base2vpi(B,base)

bin2vpi(B)

image thumbnail

updated 12 months ago

nearestSPD by John D'Errico

Finding the nearest positive definite matrix (positive definite mat..., covariance matrix, covariance)

nearestSPD_demo

nearestSPD(A)

image thumbnail

updated 1 year ago

NumSim toolbox by Mathieu Gendron

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

Acoustic field simulation

Analyse_geometry_definition

Blender use

image thumbnail

updated 1 year ago

ForwardandBackwardEulerExplorer by JM Modisette

Launches an interactive GUI for comparing forward and backward Euler. (demo, gui, teaching)

WhyExplicitvsImplicit

ForwardandBackwardEulerExplorer

ForwardandBackwardEulerExplorer()

image thumbnail

updated 1 year ago

Functional Programming Constructs by Tucker McClure

A set of files for treating many operations, like "if", "for", and even "()", as functions. (functional programmin..., anonymous function, function handle)

Introduction to Functional Programming with Anonymous Fun...

curly(x, varargin)

dowhile(x, continue_fcn, f, cleanup_fcn)

image thumbnail

updated 1 year ago

Polynomial Toolbox: polyBox Version 2.1 by Matthew Harker, Paul O'Leary,

Polanomial approximation, polynomials as admissible functions, a comprehensive tutorial. (polynomials, covariance, convolution)

Demonstrate 2: Constrained Polynomials and Beam Measurements

Demonstrate the Constrained Polynomial Approximation

Example of Constrained Polynomials

image thumbnail

updated 1 year ago

MMX - Multithreaded matrix operations on N-D matrices by Yuval

N-D matrix operations. Like Boettcher's ndfun or Tursa's mtimesx, only faster. (multiply, backslash, multithreaded)

MMX - Multithreaded matrix operations on N-D matrices

build_mmx(verbose)

matlab_mprod(a,b)

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)

Find Green Object

Green Object Detection App

BallDetectionGUI(varargin)

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

Pairs Trading Strategy by tadeveloper

A pairs trading strategy implemented in MATLAB. (computational finance, trading, backtesting)

MATLAB pairs trading strategy

PairsTradingStrategy(sys)

image thumbnail

updated 1 year ago

Publish the main and the subfunctions together by Neelakanda Bharathiraja

Publishes the main and the subfunctions together into any format as supported by publish command (publish release)

main_sample_function

main_sample_function

publish_all_functions(function_name,varargin)

image thumbnail

updated 1 year ago

Create Video of Rotating 3D Plot by Alan Jennings

Specify a set of view angles and this function creates a video for use in presentations. (video, movie, mpg)

CaptureFigVid_Example

CaptureFigVid(ViewZ, FileName,OptionZ)

WellMadeVid.mp4

image thumbnail

updated 1 year ago

Comparing different methods to solve an Inverted Pendulum problem by Roni Peer

A simple reporting tool that shows how you can model an inverted pendulum in a few methods. (report, comparison, mupad)

Dynamics of a Single Link

example_syms.m

SLSingleLink

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)

MAIN

constraints.m

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

image thumbnail

updated 1 year ago

mex wrapper for International Reference Ionosphere (IRI) Model by Alexey Skazik

mex-wrapper for an empirical model IRI (ionosphere, geophysics, international referen...)

iri_test

image thumbnail

updated 1 year ago

Display multiple images on individual axes and optionally link them by Shalin Mehta

imagecat generates a 'catalog' of images useful for visualizing steps in image processing. (image display, multiple images, montage)

TestBench_imagecat

h=imagecat(varargin)

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)

Non-negative least-squares (NNLS) using L-BFBS-B

compile_mex

lbfgsb

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

Automatic Terrain Generation by Tucker McClure

A set a tools for generating artificial terrain and other rough phenomena mapped over a 2D surface. (terrain, landscape, mapping)

Demonstration of Algorithmic Terrain Generation

generate_brownian_mesh(n, zm)

generate_brownian_tri(n, nm, r0, el, rr)

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)

Examples of Numerical Approximation of the Inverse Laplac...

euler_inversion(f_s, t, M)

euler_inversion_sym(f_s, t, M, P)

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

Optimal Control Using Control Vector Parameterization

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

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

image thumbnail

updated 1 year ago

Avantes to Matlab by Kotya Karapetyan

Read spectral data from Avantes USB2 spectrometer files (avantes, spectrometer, optics)

Reading spectra from Avantes binary files (demonstration)

addtolog(string)

avantesBinaryRead(filename)

image thumbnail

updated 1 year ago

MATLAB Tools for Scientist by Asawari Samant

Files from the webinar: MATLAB Tools for Scientists- Introduction to Data Analysis and Visualization (dose response, data import, gui)

Characterization of Dose-Response Behavior

Dose Response Analysis

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

Fast K-means clustering by Sebastien PARIS

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

test_yael_kmeans

gene_mvgm(d , K , sig)

mexme_yael_kmeans(options)

Contact us