Refine by Product

Refine by Time Frame

image thumbnail

updated 23 hours ago

MPC Matrices by Pantelis Sopasakis

Computes the matrices needed to formulate an economic MPC problem for a distributed water network. (mpc, economic mpc, scheduling)

mpc_matrices(S, P, x, D, k, ops)

image thumbnail

updated 23 hours ago

NXT-LTD: Line Tracking Dancing Robot Demo by Siddharth

Modeling Logic for Robot Control with Simulink and Stateflow (control logic, state machines, modes)

allBusObjects()

clean_up_project()

project_paths()

image thumbnail

updated 24 hours ago

Dicom Import GUI by Christian Wuerslin

Sorts DICOM files into series and lets you select the series you want to load in a GUI (dicom, medical images, data import)

DicomImport(sPath, lRecursive, csAdditionalTags)

image thumbnail

updated 24 hours ago

Benchmark Problem 02 - Matlab Code by Yogananda Jeppu

This is the Matlab code for the model Benchmark Problem 02. (verification and vali..., aircraft control laws, simulink blocks)

Mutant1.m

Mutant2.m

Original.m

image thumbnail

updated 24 hours ago

DICOM to NIfTI converter by Guilherme Coco Beltramini

Simple DICOM to NIfTI converter. Gradient table for DTI files is also created. (dicom, nifti)

dicom2nifti(dcmfile,elim_grad,elim_slc)

dti_grad_table(dcmhdr,Ngrad,corr_rot,out_folder)

make_nii(varargin)

image thumbnail

updated 24 hours ago

Uniform Sampling of a Sphere by Anton Semechko

Create an approximately uniform triangular tessellation of a unit sphere (thomson problem, particle system, uniform sampling of a...)

TR=IcosahedronMesh

TR=SubdivideSphericalMesh(TR,k)

TR=TriQuad(TR)

image thumbnail

updated 1 day ago

Discrete Orthogonal Polynomial Toolbox: DOPBox Version 1.3 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)

[R Q]=rq(A)

circulant( noPoints, coeffs, option);

dop( m, n )

image thumbnail

updated 1 day ago

Function for importing and plotting STL files in MATLAB by siddhesh rane

This file will import and plot ASCII STL file in MATLAB. (stl file, file import, 3d printing)

readSTL( filename)

image thumbnail

updated 1 day ago

Filter Characteristics by Abdelmonem Dekhil

Getting of filter characteristics using Matlab. (signal processing, simulation, system identification)

filter_plot(a,b,tabtast,nfreq)

image thumbnail

updated 1 day ago

Filter Plot by Abdelmonem Dekhil

Plotting of the zeros and poles of a digital filter. (signal processing, simulation, modeling)

zp_plot(option,a,b);

image thumbnail

updated 1 day ago

Inverter 180 degree mode by Prateek Bhatnagar

There are two configurations of the inverter , one of them is 180 degree mode inverter. (inverter basics, working of an inverte..., triggering of pulse g...)

inverter1edited

image thumbnail

updated 1 day ago

Arduino S Function for MPC4725 I2C DAC by Guillermo

This is an S Function driver for the MPC4725 I2C Digital to Analog 12 bit converter. (simulink, i2c, arduino)

MPC4725_toggle

image thumbnail

updated 1 day ago

Infinite Bernoulli mixture by Sam Gershman

Nonparametric Bayesian clustering of binary data. (machine learning, statistics, clustering)

dpmm_bernoulli(X,varargin)

image thumbnail

updated 1 day ago

Duration (CDF) Plot by Roger Parkyn

A simple plotter for ranked data against empirical probability. (hydrology, probability, duration plot)

duration_plot(y_data, varargin)

image thumbnail

updated 1 day ago

Disk usage by Igor

Queries free and total space of a volume (disk, disk space, disk usage)

disk_free( path )

image thumbnail

updated 1 day ago

Hyperspectral Image Index Analysis by Aristidis Vaiopoulos

This program calculates 8 image indices: Bias,Correlation,DIV,Entropy,ERGAS,Q,RASE and RMSE. (entropy, ergas, hyperspectral image a...)

bias_f(x,y)

ccc_f(x,y)

div_f(x,y)

image thumbnail

updated 1 day ago

edfRead by Brett Shoelson

A simple file reader for European Data Formatted (EDF-) files. (edf european data for...)

edfread(fname, varargin)

image thumbnail

updated 1 day ago

regexpBuilder by Michael Ryan

regexpBuilder is GUI that aims to simplify the creation of regexps in Matlab. (regexp, gui)

bigOutput(varargin)

findjobj(container,varargin)

regexpBuilder(varargin)

image thumbnail

updated 1 day ago

latexfigure by Matthias Pospiech

This package enables the use of all fonts that are supported by LaTeX in a figure. (graphics export, latex, pdflatex)

dvi2png(dviFile, pngFile, dpi)

dvi2ps(dviFile, psFile)

fix_lines(fname, fname2)

image thumbnail

updated 1 day ago

Cumulative Simpson's rule by Damien Garcia

The Simpson's rule uses parabolic arcs instead of the straight lines (numerical integration)

cumsimps(x,y,dim)

image thumbnail

updated 1 day ago

Simpson's rule for numerical integration by Damien Garcia

The Simpson's rule uses parabolic arcs instead of the straight lines used in the trapezoidal rule (numerical integration)

simps(x,y,dim)

image thumbnail

updated 1 day ago

Negative Binomial Regression by Surojit Biswas

NB2 Negative-Binomial regression. (statistics, mathematics, optimization)

nbreg( x, y, varargin )

image thumbnail

updated 1 day ago

Fuzzy Color Histogram by Aqeel

Extracting a 1-D fuzzy color histogram by applying fuzzy inference system tool. (fuzzy logic, fuzzy inference syste..., color histogram)

image thumbnail

updated 1 day ago

figmenu: An automatic figure-selection menu by Douglas Schwarz

Easily switch between figures using a menu that is created automatically. (figure, menu)

figmenu(arg,cmd)

image thumbnail

updated 1 day ago

The Long-term Evolution of Geosynchronous Transfer Orbits by David Eagle

Interactive MATLAB script that predicts the long-term evolution of geosynchronous transfer orbits. (aerospace, mathematics, simulation)

atan3 (a, b)

ceqm1 (t, y)

eci2orb1 (mu, r, v)

image thumbnail

updated 1 day ago

FUNCTION PLOTTER IN ONE VARIABLE by RAHUL RANJAN

differential, integral, and plot of default or user defined mathematical function (calculus, differentiation, integration)

FUN_PLOTTER(varargin)

image thumbnail

updated 1 day ago

Sudoku by Ulrich Reif

A minimalist Sudoku solver. (sudoku)

Y=Sudoku(X)

image thumbnail

updated 1 day ago

Circle detector by Morisson C

Fast circle detection via linear (matched filter) transform (image processing, signal processing)

circ_ht(img,rmin,rmax,sens,num)

demo.m

image thumbnail

updated 1 day ago

User by Lanang Prayogo

To estimate range of user (communications)

User.m

image thumbnail

updated 1 day ago

Read netCDF files by M Sohrabinia

Reads netCDF data for given fields from a list of given files (read netcdf files, read nc fields, timeseries from netcd...)

[varargout]=readncfiles(subroutine,varargin)

image thumbnail

updated 1 day ago

Check if XLS file is open by Guilherme Coco Beltramini

This function checks if an XLS-file is open. If it is open in MS Excel, it can be closed. (xls file)

xls_check_if_open(xlsfile,action)

image thumbnail

updated 1 day ago

DTI gradient table by Guilherme Coco Beltramini

Generate the gradient table from a DTI DICOM file in scanner and in patient coordinates (dti, gradient table, dicom)

dti_grad_table(dcmhdr,Ngrad,corr_rot,out_folder)

image thumbnail

updated 1 day ago

Check Missing Semicolons. by Harry Smith

Use if you have a mystery variable printing to screen from one or more functions/scripts. (semicolon)

checksemicolons( functionnames )

image thumbnail

updated 1 day ago

Kehl, a fast (no loop) method to compute MSD by maxime

Kehl computes the mean squared displacements (MSD), with no loop. Fully vectorized code. (msd, mean squared displace..., diffusion)

Kehl(Trajectory)

image thumbnail

updated 1 day ago

3D image rotation by Ningzhi

imrotate_3D rotates image volume A by angle degrees in a counterclockwise direction around its cen (image processing)

[OutMat]=imrotate_3D(InMat,degree)

image thumbnail

updated 1 day ago

Moving Average Function by Glen

Calculates a moving average in an n-dimensional matrix in any dimension. (average filter, statistics, moving window)

result=movingmean(data,window,dim,option)

image thumbnail

updated 3 days ago

inuctancies for wire loops by Maxim Vedenyov

calculates self inductance and mutual inductance (inductance, mutual inductance, wire)

L=inductance_neuman(x1,y1,z1,x2,y2,z2)

L=self_inductance(x,y,r)

[xr yr]=squares_in_polygon(x,y,ss)

image thumbnail

updated 3 days ago

MKXLSFUNC: Easily integrate legacy spreadsheet tools into MATLAB by Sky Sartorius

Creates an m-file function that does analysis within your specified Excel-based analysis tool. (xls, xlsread, xlswrite)

MKXLSFUNC Example:

image thumbnail

updated 3 days ago

Tutorial on Polynomials in Matlab: polyBox Version 1.2 by Matthew Harker, Paul O'Leary,

A thorough tutorial on polynomials in matlab, which also adds functions for covariance computations (polynomials, covariance, convolution)

Tutorial on Polynomials in MATLAB

polyadd( f, g, Lf, Lg )

polyfitcov( x, y, d )

image thumbnail

updated 3 days ago

emgr - Empirical Gramian Framework by Christian

A framework for computating empirical gramians. Compatible with Octave and Matlab. (model reduction, empirical gramians, gram)

emgr(f,g,q,p,t,w,nf,ut,us,xs,um,xm,yd)

image thumbnail

updated 3 days ago

Region Adjacency Graph (RAG) by David Legland

Computes the graph of adjacent regions in a labeled image (rag, watershed, image)

demoImRAG

imRAG(img, varargin)

image thumbnail

updated 3 days ago

boxplotstack by Laurent S

Displays stacked box plots with labels. (box plot, stack)

boxplotstack(X,xtick,labels,opacity,bgcolor)

image thumbnail

updated 3 days ago

KML Toolbox v2.6 by Rafael Oliveira

Create KML/KMZ files and view them in Google Earth. Supports 3D models, contours, overlays, and more (kml, google earth, contour)

bitslice(a,lowbit,highbit)

kmldoc(topic)

kml

image thumbnail

updated 3 days ago

Eurotherm Modbus RS232 Control by Geoffrey Akien

Reads and writes information to Eurotherm controllers via Modbus RTU protocols. (modbus, eurotherm, rs232)

gettempobjdeviceaddress(serialObject)

isvalidtempobj(serialObject)

isvalidtempobjdeviceaddress(deviceAddress, parameter)

image thumbnail

updated 3 days ago

Pico Technology PicoLog Recorder data acquisition (DDE) by Geoffrey Akien

Retrieves data from a running instance of PicoLog Recorder via DDE - faster than DLL's. (picolog, pico, dde)

tc08connect(fileName)

tc08disconnect(tc08Handle)

tc08query(tc08Handle)

image thumbnail

updated 3 days ago

Jasco Pumps RS232 communicatios by Geoffrey Akien

Commands to read and control Jasco pumps via RS232 (rs232, pump, communications)

pumpobj(comPort)

pumpobjcomm(type, serialObject, command)

pumpobjconnect(serialObject)

image thumbnail

updated 3 days ago

Algorithm Development with MATLAB by Sumit

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

Find Green Object

Green Object Detection App

BallDetectionGUI(varargin)

image thumbnail

updated 3 days ago

Thar ABPR-20 RS232 communication via handheld emulation by Geoffrey Akien

Controls and reads from a Thar ABPR-20, by emulating the handheld controller. (communications, thar, rs232)

isfid(fid)

isrealtermhandle(input)

isrealtermininstalled

image thumbnail

updated 3 days ago

Jasco BPR RS232 communication by Geoffrey Akien

Drivers and higher level commands for controlling Jasco BPRs via RS232. (jasco, bpr, rs232)

bprobj(comPort)

bprobjclosevalve(serialObject)

bprobjcomm(serialObject, command)

image thumbnail

updated 3 days ago

Rank aggregation by Nejc Ilc

Summarizes ordered lists. (statistics, data exploration, rank aggregation)

aggregateRanks(R, N, method, complete, topCutoff)

betaScores(r)

correctBetaPvalues(p,k)

Contact us