image thumbnail

updated 1 month ago

Optimization Griewangk Function by Particle Swarm Optimization by mirui wang

An example of Particle Swarm Optimization in the optimization of Griewangk Function. (pso, particle swarm optimi..., example)

Griewangk (X)

PlotG()

PSO31.m

image thumbnail

updated 1 month ago

Estimating a constant state using the Kalman Filter by Lazaros Moysis

Kalman Filter example for estimating a constant value (estimation, kalman, filter)

KalmanFilterExample.m

image thumbnail

updated 2 months ago

Solar Electric Vehicle Design by Rupesh Gosavi

Future Cars - Solar Electric Vehicle Design. (solar vehicle, solar panel, guide)

image thumbnail

updated 4 months ago

Model-based Policy Iteration Algorithm for Deterministic Cleaning Robot by Reza Ahmadzadeh

An Example for Reinforcement Learning using Model-based Policy iteration Approach (artificial intelligen..., cleaning robot, dynamic programming)

model_based_deterministic_policy_iteration

image thumbnail

updated 5 months ago

1D Finite Element Method (FEM) Example by Cheuk

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

FindJObj - find java handles of Matlab graphic objects by Yair Altman

Find java objects contained within a specified java container or Matlab GUI handle (gui tools, example, java)

findjobj(container,varargin)

image thumbnail

updated 10 months ago

res_meas by M. A. Hopcroft

GUI for resonator measurement and data download from Signal Analyzers and Oscilloscopes (example, application, resonator analyzer os...)

[bandwidth, Q, EE, varargout]=bandqr(res)

kpib(instrument, GPIB, command, value, channel, aux, verb...

measure_res(tools,center,spans,average,avenum,verbose)

image thumbnail

updated 12 months ago

GUI Tool for picking a font by Johnny Hu

GUI for picking a font that works well both in HG and in Java (GUIDE). (gui tools, example, guide)

fontpicker(varargin)

image thumbnail

updated 1 year ago

UIINSPECT - display methods-properties-callbacks of an object by Yair Altman

Inspect an object handle (Java/COM/HG); display its methods/properties/callbacks in a unified window (gui tools, example, java)

uiinspect(obj, fig)

image thumbnail

updated 1 year ago

Java-based data table by Yair Altman

Spreadsheet display/editing/sorting of data with multiple features (gui tools, example, table)

createTable.m

image thumbnail

updated 1 year ago

3D IMAQ Waterfall by Marta

Acquires images and displays a live histogram and corresponding 3D waterfall plot. (example, application, imaq)

imaqwaterfall(varargin)

image thumbnail

updated 1 year ago

Runge Kutta DAE solver by Stefan Schiessl

Differential algebraic systems can be solved with an adapted Runge Kutta method. (runge kutta, differentialalgebraic..., dae)

getFex(y, para)

getIdxFlatY( para )

newton(functionf, dfunctionf, yest, yold, ...

image thumbnail

updated 1 year ago

sliderPanel by Brett Shoelson

A new UICONTROL object with a slider as a child of a uipanel, with auto-linked edit box and labels. (gui tools, example, uicontrol slider pane...)

sliderPanel(parent,PanelPVs,SliderPVs,EditPVs,LabelPVs,nu...

image thumbnail

updated 1 year ago

Band Trading Strategy by tadeveloper

A band trading strategy implemented in MATLAB. (band trading, trading strategy, quant)

BandTrader(sys)

image thumbnail

updated 1 year ago

Example MATLAB class wrapper for a C++ class by Oliver Woodford

An example of how to safely encapsulate a C++ class in a MATLAB class, via a mex interface. (c, mex, wrapper)

class_interface

image thumbnail

updated 1 year ago

Superformula generator 2d by Giuseppe Cardillo

generator of superformula plot (gui tools, example, gielis)

Gielis2d(varargin)

image thumbnail

updated 1 year ago

setFigDockGroup by Yair Altman

Sets a figure's docking group container (gui tools, example, figure group java)

setFigDockGroup(varargin)

image thumbnail

updated almost 2 years ago

GUI for TE/TM electromagnetic plane waves propagation through multilayered structures by Lorenzo Luini

GUI for the analysis of TE/TM E.M. plane waves propagation through multilayered structures (gui tools, example, electromagnetic)

TE and TM electromagnetic plane waves propagation

PlaneWaveGUI_v2_1.m

image thumbnail

updated almost 2 years ago

Teaching Numerical Gradients and Hessians by Brendan Wood

Simple, well-commented Matlab code to demonstrate how to take numerical derivatives and Hessians. (teaching, learning, derivative)

fun(X, NFV)

num_grad(func, X, NFV, h)

num_hess(func, X, NFV, h)

image thumbnail

updated almost 2 years ago

Manage and Dock Figures into Group by Anh Huy Phan

SETFIGDOCKED docks figures at specified positions in group of figures (gui tools, example, setfigdocked setgroup...)

setfigdocked(varargin)

image thumbnail

updated 2 years ago

Particle Filter Color Tracker by Sebastien PARIS

Tracking an object in a video with a Color Particle Filter (tutorial, example, particle filter bhatt...)

mexme_pf_color_tracker.m

test_pf_colortracker.m

test_pf_colortracker2.m

image thumbnail

updated 2 years ago

Display a text file by Samuel Cheng

Display a text file in a popupmenu. (gui tools, example, popupmessage)

popupmessage(textfile,titlename,command);

image thumbnail

updated 2 years ago

uipickfiles: uigetfile on steroids by Douglas Schwarz

Many-featured, platform independent file and directory picker. (gui tools, example, uigetfile uigetfiles ...)

uipickfiles(varargin)

image thumbnail

updated 2 years ago

MOUSEINPUT_TIMEOUT by Gautam Vallabha

Captures continuous mouse movements with timeout (gui tools, example, input)

mouseinput_timeout(timeoutval, axesHandle)

image thumbnail

updated 2 years ago

Block Matching Algorithms for Motion Estimation by Aroh Barjatya

Review of various block matching algorithms used for motion estimation in MPEG coding. (tutorial, example, motion estimation)

costFuncMAD(currentBlk,refBlk, n)

imgPSNR(imgP, imgComp, n)

minCost(costs)

image thumbnail

updated 2 years ago

Snake : Active Contour by Dirk-Jan Kroon

Snake Segmentation (Kass et al), 2D/3D including GVF and balloon force (Easy to read code) (snakes, active, contour)

B=SnakeInternalForceMatrix2D(nPoints,alpha,beta,gamma)

B=SnakeInternalForceMatrix3D(FV,alpha,beta,gamma)

ExternalForceImage2D(I,Wline, Wedge, Wterm,Sigma)

image thumbnail

updated almost 3 years ago

statusbar by Yair Altman

set/get status bar(s) for GUI figures & Matlab desktop (gui tools, example, statusbar desktop jav...)

statusbar(varargin)

image thumbnail

updated almost 3 years ago

getHWnd - retrieve the underlying Windows handle for Matlab figure(s) by Yair Altman

Enable C++ GUI integration by retrieving the HWnd handle of matlab figure(s) (gui tools, example, java)

gethwnd(hFig)

image thumbnail

updated almost 3 years ago

GetJFrame - Retrieves a figure's underlying Java frame by Yair Altman

Enable multiple window callbacks and properties not exposed by Matlab (gui tools, example, figure window callbac...)

getjframe(hFig)

image thumbnail

updated almost 3 years ago

enable/disable figure by Yair Altman

enable/disable an entire figure window (gui tools, example, enable disable figure...)

enableDisableFig(hFig, newState)

image thumbnail

updated almost 3 years ago

Counter Example by Michelle Hirsch

An example using generic dll calling to use the counter on an NI daq card. (example, application, counter)

GPCTR_Change_Parameter(varargin)

GPCTR_Control(varargin)

GPCTR_Set_Application(varargin)

image thumbnail

updated almost 3 years ago

MATLAB GUI Makeover by Brian Cody

Static GUI made over to scale nicely with the size of the figure window. (gui tools, example, gui)

Rearranging CHARGUI to Make it Resizable and Dockable

image thumbnail

updated almost 3 years ago

BorderLayout by Brian Cody

Simple layout manager for GUIs designed to mimic the Java BorderLayout. (gui tools, example, layout manager gui bo...)

...

ExampleApplication

ExampleComplex.m

image thumbnail

updated 3 years ago

GPUCONV2 by Dirk-Jan Kroon

Example, Matlab R2010B Cuda CONV2 on GPU using Cuda kernels (cuda, conv2, gpu)

gpuconv2(A,B,SHAPE)

nvcc(varargin)

image thumbnail

updated 3 years ago

NVCC cuda compiler wraper by Dirk-Jan Kroon

Compile cuda kernels in Matlab, like nvcc('example.cu') (cuda, kernel, cuda kernel)

nvcc(varargin)

image thumbnail

updated 3 years ago

Deploying Multiple Shared Libraries by Peter Webb

Example code for "Deploying Multiple Shared Libraries" post in the "Art of MATLAB" blog. (mandelbrot, fractal, libraries)

m=mandelbrot(width, iterations)

showimage(im)

image thumbnail

updated 3 years ago

Deploying a Shared Library by Peter Webb

Example code for "Deploying Shared Libraries" posting in the "Art of MATLAB" blog. (vigenere, cryptography, cipher)

decrypt(ciphertext, key)

encrypt(plaintext, key)

vigenere

image thumbnail

updated 3 years ago

uibutton: GUI pushbuttons with better labels by Douglas Schwarz

Creates pushbutton uicontrol labeled with TeX or LaTeX strings. (gui tools, example, pushbutton tex latex ...)

uibutton(varargin)

image thumbnail

updated 3 years ago

Simulink serial - example model by Steven Kolak

Using Simulink with serial devices - example model (example, application, serial)

Simulink_serial_example

image thumbnail

updated 3 years ago

MATLAB serial - code example by Steven Kolak

MATLAB with serial devices - code example (example, application, matlab serial)

MATLAB_example_for_serial_devices.m

image thumbnail

updated 3 years ago

GPIB example for MATLAB by Steven Kolak

MATLAB GPIB - Example showing you how to use MATLAB with GPIB to configure and control instruments. (example, application, gpib)

MATLAB_GPIB.m

image thumbnail

updated 3 years ago

TeX Editor by Ben Hinkle

a GUI for editing LaTeX equations (gui tools, example, tex latex equation ed...)

texeditor(varargin)

image thumbnail

updated almost 4 years ago

progressbar by Steve Hoelzer

Simple, efficient, and user friendly replacement for waitbar. (gui tools, example, progress)

progressbar(varargin)

image thumbnail

updated almost 4 years ago

trapz and quad basic examples by AJP

Basic examples of using trapz and quad (trapz, quad, example)

y1=func1(t,a,d,w)

y2=func2(t,a,d,w)

trapz_quad_script.m

image thumbnail

updated almost 4 years ago

SendMailGUI by Marko Neitola

Sendmail GUI (gui tools, example, sendmail)

sendmailgui

image thumbnail

updated almost 4 years ago

Demo files from Image Processing Webinar by Robert Bemis

This package contains demos that were used during an Image Processing webinar (tutorial, example, image processing)

demo1_segment_rice.m

demo2_wshed_segment_afm.m

demo3_morph_segment_cell.m

image thumbnail

updated almost 4 years ago

Particle Size Analysis from Image Processing Webinar by Robert Bemis

Example used for Image Processing Webinar 04-Mar-2004. (tutorial, example, image analysis)

my_gui(varargin)

xtended_gui(varargin)

my_analysis.m

image thumbnail

updated 4 years ago

Changing Window Titles by Malcolm Wood

Provides the ability to change the titles of all windows in the MATLAB process (gui tools, example, window)

findAllWindows.m

setWindowTitle.m

window_example.m

image thumbnail

updated 4 years ago

Resizable MATLAB figures by Malcolm Wood

A simple mechanism for creating graphical user interfaces which resize tidily (gui tools, example, figure uicontrol resi...)

Creating a Resizable Figure

ASSERT(cond,msg)

centrefigure(parent,child,childsize)

image thumbnail

updated 4 years ago

TabPanel Constructor v2.8 (2010) by Elmar Tarajan

TabPanel Constructor offers the easiest way for creating of tabpanels in MATLAB! (gui tools, example, tabpanel)

Contact us