image thumbnail

updated 3 months ago

minimize by Rody Oldenhuis

Minimize constrained functions with FMINSEARCH or FMINLBFGS, globally or locally (optimization, constrained optimizat..., derivativefree optimi...)

image thumbnail

updated 3 months ago

RKN1210 - A 12th/10th order Runge-Kutta-Nyström integrator by Rody Oldenhuis

Integrator for second-order ODE's with very stringent error tolerances. (integration, ode, rungekuttanystrom)

image thumbnail

updated 3 months ago

Determine the distance between two ellipses (in 3D) by Rody Oldenhuis

Determine the minimum distance (and corresponding angles) between two ellipses (geometry, ellipse, quartic)

image thumbnail

updated 3 months ago

Distance between points and ellipse by Rody Oldenhuis

Compute the distances between an ellipse and an arbitrary number of points, in 3D (distance, ellipse, point cloud)

image thumbnail

updated 3 months ago

Test functions for global optimization algorithms by Rody Oldenhuis

Test functions for global optimization algorithms (global optimization, particle swarm, genetic algorithm)

image thumbnail

updated 4 months ago

Convert seconds to human readable string(s) by Rody Oldenhuis

Convert an amount of seconds to hours/days/weeks/etc. (hours, week, days)

image thumbnail

updated 4 months ago

String representation of any data type by Rody Oldenhuis

Generate string representations of all MATLAB data types and user-defined classes. (string manipulation, to string, string conversion)

image thumbnail

updated 4 months ago

toHTML - convert Unicode string(s) to HTML by Rody Oldenhuis

Convert a (cell) string to its Unicode representation in HTML. (unicode, html, uicontrol)

image thumbnail

updated 4 months ago

Mouse-friendly FIGURE by Rody Oldenhuis

Same as FIGURE, but zooming/panning is done more conveniently with scroll wheel/clicks. (figure, plot, axes)

image thumbnail

updated 4 months ago

Kepler State Transition Matrix (MEX) by Rody Oldenhuis

Compute Kepler state transition matrix for an arbitrary number of time steps. M and C++ version. (aeronautics, aerospace, kepler)

image thumbnail

updated 4 months ago

Produce list of all cases in the current 'switch' block by Rody Oldenhuis

Generate a list of all cases handled by the current 'switch' control structure (code, automation, programming aid)

image thumbnail

updated 4 months ago

CONST structure by Rody Oldenhuis

STRUCT with immutable fields (code, structures, structure)

image thumbnail

updated 4 months ago

Check whether directory is on current MATLAB path by Rody Oldenhuis

Small low-level utility to check whether (list of) directories is/are on the current search path (path, check, membership test)

image thumbnail

updated 4 months ago

Robust solver for Lambert's orbital-boundary value problem by Rody Oldenhuis

Solves any Lambert-problem robustly. Can be compiled to increase efficiency. (orbital mechanics, space, space mechanics)

image thumbnail

updated 4 months ago

Sparse block diagonal concatenation by Rody Oldenhuis

Sparse version of BLKDIAG() (blkdiag, block diagonal, sparse)

image thumbnail

updated 4 months ago

newline by Rody Oldenhuis

Returns the newline character for this platform. (newline, text, fprintf)

image thumbnail

updated 4 months ago

First derivative of (normalized) associated Legendre polynomials by Rody Oldenhuis

First derivative of (normalized) associated Legendre polynomials (legendre, associated legendre p..., derivative)

image thumbnail

updated 4 months ago

Tsjiolkovsky's equation by Rody Oldenhuis

Compute any parameter in Tsjiolkovsky's equation (rocketry, space, rocket equation)

image thumbnail

updated 4 months ago

Settings dialog by Rody Oldenhuis

Set or change arbitrary structure via a dialog (gui, dialog box, msgbox)

image thumbnail

updated 4 months ago

Oblique Spherical Triangle toolbox by Rody Oldenhuis

solves the general oblique spherical triangle (aerospace, aeronautics, spherical)

image thumbnail

updated 4 months ago

Skipping Stone - An interplanetary space mission design tool by Rody Oldenhuis

An easy-to-use tool to optimize trajectories for interplanetary missions using swingby manoevres (aerospace, satellite, space mission)

image thumbnail

updated 4 months ago

GODLIKE - A robust single-& multi-objective optimizer by Rody Oldenhuis

GODLIKE combines 4 global optimizers for both single/multi-objective optimizations (optimization, global optimization, multiobjective)

image thumbnail

updated 4 months ago

Constructor for function_handles by Rody Oldenhuis

Creates evaluable function handles for any function, possibly outside the MATLAB search path (function pathscriptin..., function, function_handle)

image thumbnail

updated 6 months ago

MATLAB TCP/IP - code example by Steven Kolak

MATLAB with TCP/IP - code example (external interface, lan, tcpip)

matlab_tcpip_example.m

image thumbnail

updated 11 months ago

Active Figure Zoom for Selecting Points by Tristan Ursell

Select points at a user-specified zoom level that moves around the image as you click. (figure, zoom, select)

[X,Y]=getline_zoom(Im1,varargin)

image thumbnail

updated 11 months ago

Adaptive Colormap Function Creates a Colormap Specific to Data by Tristan Ursell

Easily design and fit a colormap to the values in your data! (color, red, blue)

slide_map=rgbslide(mat_in,varargin)

image thumbnail

updated 12 months ago

Kernel Density Estimation by Hideaki Shimazaki

Fast kernel density estimation with an automatic bandwidth selection. (statistics, kernel, bandwidth)

sskernel(x,tin,W)

image thumbnail

updated 12 months ago

Locally Adaptive Kernel Density Estimation by Hideaki Shimazaki

Kernel density estimation with bandwidths locally adapted to data. (statistics, bandwidth, kernel)

sshist(x,N)

sskernel(x,tin,W)

ssvkernel(x,tin)

image thumbnail

updated 1 year ago

Connect Randomly Ordered 2D Points into a Minimal Nearest-Neighbor Closed Contour by Tristan Ursell

Connects randomly ordered 2D points into a minimal nearest neighbor contour. (contour, nearest, neighbor)

[Xout,Yout,varargout]=points2contour(Xin,Yin,P,direction,...

image thumbnail

updated 1 year ago

1D Non-derivative Peak Finder by Tristan Ursell

Up-sample and filter noisy data to find peaks without using derivatives. (signal processing, interpolation, measurement)

varargout =peakfind(x_data,y_data,varargin)

image thumbnail

updated 1 year ago

Shimmer MATLAB Instrument Driver by Karol O'Donovan

Object oriented solution for Shimmer sensor data capture directly into Matlab (wireless sensor, body sensor netowrk, kinematic)

orientation3Dexample(comPort, captureDuration, fileName)

plotandwriteexample(comPort, captureDuration, fileName)

plotandwriteexamplelegacy(comPort, captureDuration, fileN...

image thumbnail

updated 1 year ago

Frechet Distance Calculator by Tristan Ursell

Estimate the similarity between curves in space using the scalar Frechet Distance. (curve, curves, path)

frechet(X1,Y1,X2,Y2,varargin)

image thumbnail

updated 1 year ago

Find Image Extrema by Tristan Ursell

Find local maxima, local minima, saddle points, and flat regions in an image. (image, maximum, maxima)

[x,y,z,c]=imextrema(im1,varargin)

image thumbnail

updated almost 2 years ago

Image Noise Reduction by Local Statistics by Tristan Ursell

Reduce image noise by measuring local pixel statistics and remapping intensities. (image processing, image, noise)

[varargout]=relnoise(Iin,sz,sigma,varargin)

image thumbnail

updated 2 years ago

Connected Component Analysis on an Undirected Graph by Tristan Ursell

Connected component analysis on undirected graphs, with thresholding and connectivity constraints. (graph, theory, undirected)

[groups,orphans]=graph_analysis(W,varargin)

image thumbnail

updated 2 years ago

Estimating Time-varying Neural Interactions by Hideaki Shimazaki

Matlab code for estimating time-varying interactions of neurons from spike data. (statistics, mathematics, optimization)

BayesFactor(model,cell_id)

BayesFactor(model,cell_id)

CompSync(raw,D,r)

image thumbnail

updated 2 years ago

Create a Simulated Image of Diffraction Limited Spots with Noise by Tristan Ursell

Create images with diffraction-limited spots of varying size and intensity, with noise. (image, create, creation)

[Iout,Inoise,spot_data]=spotmaker(im_sz,num_spots,varargin)

image thumbnail

updated 2 years ago

Copy Files in Batches using Search Terms by Tristan Ursell

Copy files matching search terms, from sub-directories matching search terms into a new directory. (array, cell, copy)

accumulator

image thumbnail

updated 2 years ago

File Name Search Function by Tristan Ursell

Generate a list of file names that meet a set of text search criteria. (file, search, find)

filenames=filefinder(searchpath,varargin)

image thumbnail

updated 2 years ago

Generate Random Numbers from a 2D Discrete Distribution by Tristan Ursell

Random numbers from any 2D discrete probability distribution, at any resolution. (discrete, distribution, generate)

[x0,y0]=pinky(Xin,Yin,dist_in,varargin)

image thumbnail

updated 2 years ago

Random Numbers from a Discrete Distribution by Tristan Ursell

Simple algorithm to generate random numbers from a user-defined discrete probability distribution. (random, number, variable)

gendist(P,N,M,varargin)

image thumbnail

updated 2 years ago

Fire and/or Custom Colormap Function by Tristan Ursell

Use the 'fire' colormap in Matlab, or create your own. (color, colormap, custom)

fire(m)

image thumbnail

updated 2 years ago

2D Distance Transform of Arbitrary Points by Tristan Ursell

Distance transform from arbitrary points at a user set resolution and range. (image, point, points)

[Xvec,Yvec,Dist]=clouddist(Xin,Yin,xlim,ylim,res)

image thumbnail

updated 2 years ago

Matrix Convolution with Sub-Pixel Resolution by Tristan Ursell

Convolve two matrices at sub-pixel resolution, using bilinear interpolation. (matrix, convolve, convolution)

matout=matoverlay(mat1,mat2,x,y)

image thumbnail

updated 2 years ago

image_save by Tristan Ursell

You know that annoying error when trying to write to an image stack in Matlab? (image, stack, save)

image_save(Im1,basename,varargin)

image thumbnail

updated almost 4 years ago

Simpsons Rule Demonstration by Charles Nelatury

Shows parabolas used in Simpson's rule (simpsons rule, numerical integration, demonstration)

simpsons_rule(f,I,m)

image thumbnail

updated almost 4 years ago

Trapezoid Rule Demonstration by Charles Nelatury

It lets you visualize the trapezoids used in approximating the definite integral. (numerical integration, trapezoid rule)

trapezoid_rule(f,I,m)

image thumbnail

updated 4 years ago

AVI to GIF convertor by Moshe Lindner

the program converts AVI-video files into an animated-GIF file. (avi, animated, gif)

avi2gif.m

image thumbnail

updated 4 years ago

animated-gif creator by Moshe Lindner

the program take set of images, and save it as an animated gif. (animation, gif, animated)

image2animation.m

image thumbnail

updated 4 years ago

gold index of refraction / dialectric constant as function of wavelength by Moshe Lindner

the function calculates values of index of refraction or values of dielectric constant of gold. (physics, photonics)

[E]=gold_eps(wl)

[N]=gold_n(wl)

Contact us