image thumbnail

updated 1 month 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 5 months ago

Find local extrema places and values by Peter Csordas

Returns structure with local extrema (minimum, maximum) places and values. (signal processing, minimum, maximum)

out=extrems(in,varargin)

image thumbnail

updated 9 months ago

Limit figure size by Jan Simon

Set minimal or maximal size of a figure (figure, size, resize)

LimitSizeFig(FigH, Prop, Ext)

uTest_LimitSizeFig(doSpeed)

image thumbnail

updated 1 year ago

KTHVALUE (v2.1, jun 2012) by Jos (10584)

select the k-th smallest element in a (randomized) list (matrix, sort, select)

kthvalue(L,K)

image thumbnail

updated 1 year ago

Simple example of genetic algorithm for optimization problems by Andrea Cirillo

It is used to generate useful solutions to optimization and search problems. (algorithm, genetic, optimization)

[p_min, iter, f]=genetic_algorithm (func, numMaxInd, numF, ...

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. (extrema, min, local)

varargout =peakfind(x_data,y_data,varargin)

image thumbnail

updated almost 2 years ago

Allstats by Francisco de Castro

Many statistics of a vector or matrix (statistics, mean, mode)

allstats(A,varargin)

image thumbnail

updated 2 years ago

2D minimal bounding box by julien diener

Compute quickly the minimal bounding box of a set of 2D points (rectangle, bounding box, minimum)

minBoundingBox(X)

image thumbnail

updated 2 years ago

Simple Example of Simulated Annealing Optimization by Francesco Pizzo

Example of developing a hybrid solution (Simulated Annealing + Pattern Search) for a case of study. (optimization, simulated annealing, minimum)

U=energy(Qs,rs,drs,z_s)

Xp=perturbation(X,sigma)

[X f_old]=best_initial(X1,X2,X3,X4)

image thumbnail

updated 2 years ago

Simple example of PSO algorithm by Andrea Cirillo

Matlab function to find the minimum of a objective function with the PSO Algorithm (pso, function, minimum)

[p_min, f_min, iter]=pso(func, numInd, range, n_var, tolera...

image thumbnail

updated 2 years ago

Simple example of the Simplex Method by Andrea Cirillo

It's a function that finds the minimum value of a two variables function with the simplex method. (function, method, mathematics)

simplexMethod(fun, init_point, step_size, toll, numMaxIter)

image thumbnail

updated 2 years ago

Minimum Entropy Deconvolution (MED 1D and 2D) by Geoff McDonald

Generates a 1D FIR filter iteratively to minimize the entropy of the filtered signal(s). (minimum entropy decon..., deconvolution, 1d)

med2d(x,filterSize,termIter,termDelta,plotMode)

image thumbnail

updated 2 years ago

Pattern search method: deterministic iterative zero order algorithm by Andrea Cirillo

It finds the relative minimum of a two variables function with the Pattern search method. (optimization, mathematics, deterministic)

pattern_search(f, p0, step_size, tolerance, N_it)

image thumbnail

updated 2 years ago

Minimum distance between two polygons by sjye

Computes the minimum distance between two different shape polygons. (Vertex-vertex case) (polygon, minimum, distance)

min_dist_btwn_two_polygons(P1,P2)

image thumbnail

updated 2 years ago

Least squares with minimum-norm solution by Ivo Houtzager

Least squares with minimum-norm solution (squares, minimum, linear algebra)

lsmin.m

lsmind.m

make_lsmin.m

image thumbnail

updated 3 years ago

Derivative-based Optimization by Nassim Khaled

Derivative-based Optimization using The Gradient Descent (3d, derivative, minimum)

Gradient_Descent_maximum.m

Gradient_Descent_minimum.m

image thumbnail

updated 4 years ago

Minimum distance between two polygons by Guillaume JACQUENOT

This function computes the minimum euclidean distance between two polygons P1 & P2. (distance, polygon, minimum)

curveintersect(varargin)

min_dist_between_two_polygons(P1,P2,Display_solution)

image thumbnail

updated almost 5 years ago

2D minimal segments distance by Roberto Olmi

Computes the minimal distace between two segments (2d, euclidean, segments)

d=segDistance(P,Q)

image thumbnail

updated 5 years ago

Minimal Bounding Box by Johannes Korsawe

Minimal bounding box around points in the (x,y,z) space (bounding, box, cuboid)

minboundbox(x,y,z,metric,level)

plotminbox(cornerpoints,col)

image thumbnail

updated almost 6 years ago

Maximum Or Minimum for N Dimension Array by Serhend Arvas

These functions return the subscripts of the maximum or minimum in an Array (maximum, max, min)

Output=maxNsarvas(V)

Output=minNsarvas(V)

[mn,idx,col]=minn(A)

image thumbnail

updated almost 7 years ago

Hungarian Algorithm by Alexander Melin

An algorithm to find the minimum edge weight matching for an arbitrary bipartite graph. (matching, weight, maximum)

Hungarian(Perf)

image thumbnail

updated 7 years ago

fgridmin.m by Kenneth Johnson

global minimization utility (optimization, global optimization, utility)

fgridmin(y)

image thumbnail

updated 7 years ago

Quick search for local extremes by Miroslav Balda

New fast and reliable function for finding local extremes in a real vector. (matrices, minimum, maximum)

extr(x,exact) % True extreme positions

image thumbnail

updated 8 years ago

peaks by Nagi Hatoum

Find the peaks and troughs in a vector. (peak, through, maximum)

[p,t]=peaks(s)

image thumbnail

updated 9 years ago

Accurate Confidence Intervals by Tim Ross

Computes especially accurate confidence intervals for proportions, rates, and their differences. (statistics, probability, confidence interval)

binopdf_01ok(x,n,p)

binopdf_of_p(p, x, n)

get_ci_cs1(x,n,alpha)

Contact us