image thumbnail

updated 3 hours ago

Chebfun by Chebfun Team

Chebfun is an open-source package for numerical computation with functions to 15-digit accuracy (approximation, interpolation, quadrature)

image thumbnail

updated 20 days ago

Chebfun V4 by Chebfun Team

Numerical computation with functions instead of numbers. (numerical analysis, interpolation, approximation)

A greedy algorithm for choosing interpolation points

A keyhole contour integral

A parameter dependent ODE with breakpoints

image thumbnail

updated 1 month ago

RegularizeData3D by Jamal

Produces a smooth surface from scattered 3D input data. (3d data, regularizing, approximation)

RegularizeData3D(x,y,z,xnodes,ynodes,varargin)

TestRegularizeData3D_Bicubic_vs_Bilinear.m

TestRegularizeData3D_Coarse_v_Fine_Output_Grids.m

image thumbnail

updated 3 months ago

polyfitn by John D'Errico

Polynomial modeling in 1 or n dimensions (polyfit, modeling, regression)

polyfitn_demo

polydern(p,diffvar)

polyfitn(indepvar,depvar,modelterms)

image thumbnail

updated 3 months ago

SLM - Shape Language Modeling by John D'Errico

Least squares spline modeling using shape primitives (spline, splines, cubic)

slm_tutorial

hermite2slm(harray)

lse(A,b,C,d,solverflag,weights)

image thumbnail

updated 4 months ago

EzyFit 2.42 by Frederic Moisy

A free curve fitting toolbox for Matlab (approximation, interpolation, curve)

Discover Ezyfit: A free curve fitting toolbox for Matlab

about_ef (Ezyfit Toolbox)

axis0 (Ezyfit Toolbox)

image thumbnail

updated 4 months ago

ODE Solver through Galerkin Method by Marcos Cesar Ruggeri

This program solves Ordinary Differential Equations by using the Galerkin method. (differential equation..., ode, galerkin)

[approx,exac,err]=odegalerkin(poly,bc,n)

image thumbnail

updated 6 months ago

Support Vector Regression by Ronnie Clark

A MATLAB implementation of Support Vector Regression (SVR). (regression, nonlinear, machine learning)

svr(xdata,ydata,x,alpha, b, c, epsilon)

svr_test.m

image thumbnail

updated 11 months ago

Vectorized Bisection Search by Sky Sartorius

Robust root-finding method that handles n-dim inputs and therefore has key advantages over FZERO. (bisection, search, root)

bisection(f,lb,ub,target,options)

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 almost 2 years ago

N Dimensional Cardinal Spline (Catmull-Rom) Spline Interpolation by Dr. Murtaza Khan

N -Dimensional cubic Cardinal spline (Catmull-Rom) Interpolation (approximation, interpolation, cardinal spline)

[MatNbyNPlusOne]=crdatnplusoneval(P0,P1,P2,P3,T,n)

[Pu] =evalcrdnd(P0,P1,P2,P3,T,u)

main.m

image thumbnail

updated almost 2 years ago

Unbounded Resolution for Function Approximation by Alan Jennings

A continuous function is optimized for varying outputs and increasing parameterization dimension (functional, optimization, interpolation)

[Cost_out,CostGrad]=CostFunc_lwr_8(Pnt,Opt)

[Out_out,OutGrad]=OutputFunc_lwr_8(Pnt,Opt)

[PointsOut]=Fmin_ConditionNum(CovIn,N,Opt)

image thumbnail

updated 2 years ago

Simpson's 1/3 and 3/8 rules by Jered Wells

SIMPSON: Simpson's rule for quadratic and cubic numerical integration (simpson, numerical, integration)

simpson(x,y,dim,rule)

image thumbnail

updated 2 years ago

SPLINEFIT by Jonas Lundgren

Fit a spline to noisy data. (approximation, interpolation, cubic spline)

SPLINEFIT EXAMPLES

ppdiff(pp,j)

ppint(pp,a,b)

image thumbnail

updated almost 3 years ago

QUADGR by Jonas Lundgren

Gauss-Legendre quadrature with Richardson extrapolation. (quadrature, integral, approximation)

quadgr(fun,a,b,tol,trace,varargin)

image thumbnail

updated almost 3 years ago

ALTSUM by Jonas Lundgren

Convergence acceleration of alternating series. (sum, approximation, mathematics)

altsum(a,method)

image thumbnail

updated almost 3 years ago

Best polynomial approximation in uniform norm by Andrew Knyazev

For a given function on an interval, the code calculates the min-max approximation by a polynomial. (mathematics, statistics, optimization)

polyfitinf(M,N,K,X,Y,EPSH,MAXIT,REF0)

image thumbnail

updated 3 years ago

Newton - Raphson method by Andrea Cirillo

Find the zero of a regular function with Newton - Raphsons' method. (optimization, mathematics, newton)

zero=newton_raphson(funzione,tolleranza)

image thumbnail

updated 3 years ago

Check Whether a Point Lies Inside,Outside or On a Circle by Divakar Roy

Checks whether a point lies inside,outside or on a circle defined by 3 other points. (approximation, interpolation, circle)

result=iscircle(X,Y,x,y)

image thumbnail

updated 3 years ago

B-spline tools by Jan Tore Korneliussen

Basic toolbox for polynomial B-splines on a uniform grid. OO overloading of common operators. (splines, approximation, interpolation)

B-spline toolbox

bspline0( x )

bspline1( x )

image thumbnail

updated 3 years ago

Simpson's Rule Integration by Juan Camilo Medina

Computes an integral "I" via Simpson's rule in the interval [a,b] with n+1 equally spaced points (integration, mathematics, simpsons rule)

simpsons(f,a,b,n)

image thumbnail

updated 3 years ago

Leibniz Approximation of pi by Ben Nuttall

This program computes the decimal places of pi using Leibniz's formula. Watch them converge! (pi, leibniz, leibniz formula for p...)

pi1.m

pi2.m

pi3.m

image thumbnail

updated 3 years ago

Piecewise Hermite Cubic Interpolation by Juan Camilo Medina

Interpolates with a Hermite cubic polynomial using the function values and corresponding derivatives (interpolation, hermite, mathematics)

y=p3hermite(x,pointx,pointy,yprime,plt)

image thumbnail

updated 3 years ago

Newton's Method by Harmon Amakobe

Finds better successive approximations for the root of a function using Newton's Method. (newtons method, newton, method)

newt(func,gss,ite,tol)

image thumbnail

updated 3 years ago

Bisection's method by Andrea Cirillo

It's a matlab function that finds a regular real function's zero with the bisection's method. (optimization, mathematics, bisection)

p_min=bisection(func,int,iter,tol_x,tol_f)

image thumbnail

updated 3 years ago

Image and Terrain Modeling using Incremental Delaunay Triangulation by Omid Sakhi

This program model image/digital elevation data using incremental Delaunay triangulations. (image, terrain, modeling)

aIDT(input_im,max_allowed_error,max_number_of_iterations)

aRDT(input_im,number_of_vertex)

aReCon(dt,z)

image thumbnail

updated 3 years ago

polyfit3 by Antoni J. Canós

Fit polynomial to data, with new features as forced to zero coefficients and data weighting. (approximation, interpolation, fitting)

polyfit3(x,y,n,nul,w)

image thumbnail

updated almost 4 years ago

Bisection by Wolfgang Putschögl

Computes the root of a function f by bisectioning. (approximation, solve, mathematics)

bisection(f,a,b,delta)

image thumbnail

updated almost 4 years ago

Gradient from Neural Network by Alan Jennings

Function that takes a NN and creates a new NN that gives the gradient. (neural networks, function, gradient)

NN_DerivativeValidate

NN_GradientFunction(net)

image thumbnail

updated almost 4 years ago

Surface Fitting using gridfit by John D'Errico

Model 2-d surfaces from scattered data (approximation, interpolation, modeling)

gridfit_demo

gridfit(x,y,z,xnodes,ynodes,varargin)

test_main.m

image thumbnail

updated 4 years ago

Line Simplification by Wolfgang Schwanghart

Recursive Douglas-Peucker Polyline Simplification (Iterative Endpoint Fit) (approximation, interpolation, polyline)

dpsimplify(p,tol)

dpsimplify(p,tol)

image thumbnail

updated 4 years ago

Cardinal Spline (Catmull-Rom) Spline by Dr. Murtaza Khan

Evaluates and plot 2D Cardinal Spline (Catmull-Rom) Spline. (approximation, interpolation, cardinal spline)

[xt,yt] =EvaluateCardinal2D(P0,P1,P2,P3,T,u)

[xvec,yvec]=EvaluateCardinal2DAtNplusOneValues(P0,P1,P2,P...

TestEvaluateCardinal2D.m

image thumbnail

updated 4 years ago

Spline based function approximation for HDL synthesis by Sean Little

This is a suite of simple utilities that allow for efficient approximation of complex functions in a (hdl, hdl coder, spline)

[x,pp]=create_lut3(fcn, rng, tol)

example

nearestpoint(x,y,m) ;

image thumbnail

updated 4 years ago

Matrix Analysis of Three Dimensional Bar Structures MABS3D by Marcos Cesar Ruggeri

This program is an extension of MABS2D to three-dimensional space (3D). (approximation, fea, fem)

mabs3d.m

image thumbnail

updated 4 years ago

Triangular Mesh Refinement by Dirk-Jan Kroon

This function will refine a triangular mesh with 4-split spline interpolation (approximation, interpolation, triangular)

Fnew=makenewfacelist(F,HT_index, HT_values)

Ne=vertex_neighbours(FV)

Ne=vertex_neighbours_double(Fa,Fb,Fc,Vx,Vy,Vz)

image thumbnail

updated 4 years ago

Sub-Sample Peak Fitting 2D by Eric

Find sub-sample location of global maximum in a 2-dimensional numerical matrix. (approximation, fit, peak)

peakfit2d(Z)

image thumbnail

updated 4 years ago

Fast and Robust Curve Intersections by Douglas Schwarz

Computes intersection points of two curves. (approximation, interpolation, intersect intersectio...)

intersections(x1,y1,x2,y2,robust)

image thumbnail

updated 4 years ago

NURBS Toolbox by D.M. Spink by Paul

NURBS Toolbox by D.M. Spink re-uploaded. The previous link has broken. (approximation, bspline, interpolation)

basisfun(i,u,p,U)

bspdegelev(d,c,k,t)

bspderiv(d,c,k)

image thumbnail

updated 4 years ago

Matrix Analysis of Two Dimensional Bar Structures MABS2D by Marcos Cesar Ruggeri

This program solves bar structures of constant area through matrix analysis of structures. (aerospace, aeronautics, aerodef)

mabs2d.m

image thumbnail

updated almost 5 years ago

nanderivative.m v2.1 (Jul 2009) by Carlos Adrian Vargas Aguilera

N-order derivative of vector data by interpolating nearby points, ignoring NaNs. (approximation, interpolation, diff)

nanderivative(Y,X,N,K,MET)

image thumbnail

updated almost 5 years ago

A Numerical Tour of Signal Processing by Gabriel Peyre

A set of Matlab experiments that illustrates advanced computational signal and image processing. (time frequency, wavelets, tutorial)

[p,ellipse]=phantom(varargin)

b=dct(a,n)

b=dct2(arg1,mrows,ncols)

image thumbnail

updated almost 5 years ago

Thin Plate Spline Network with Radiohead Example by Travis Wiens

Thin plate splines can be used to interpolate nonuniform data, such as the Radiohead dataset, which (approximation, interpolation, thin plate spline)

[a, xc]=train_thin_plate_spline(x,y)

y_hat=sim_thin_plate_spline(x,x_c,a);

tps_radiohead_example.m

image thumbnail

updated 5 years ago

2D Cubic Beizer Curve by Dr. Murtaza Khan

Evaluate and plot 2D cubic bezier curve for given four control points. (approximation, interpolation, cubic)

Funct_Bezier(Px,Py,n)

TestCubicBezier.m

image thumbnail

updated 5 years ago

Approximation of Circle Using Cubic Bezier Curve by Dr. Murtaza Khan

Approximation of unit radius circle with four parametrix bezier curves (approximation, interpolation, circle)

PlotBezier1(Px,Py,n)

[Qx,Qy]=CubicBezier1(Px,Py,n)

TestCircleApproxByCubicBezier.m

image thumbnail

updated 5 years ago

Approximation of 2-D Data by Natural Cubic Spline by Dr. Murtaza Khan

Approximation (Data Fitting) by Natural Cubic Spline. (approximation, interpolation, natural cubic spline)

SquareDistance=TwoNormSqDist(p1,p2)

[bx,by,finalbreaks,MaxSqDist]=ncs2dapprox(x,y,varargin)

[fx,fy,index]=MergeSortRemoveDuplicates(fxSet1,fySet1,Set...

image thumbnail

updated 5 years ago

Bezier Interpolation in N-Dimension Space by Dr. Murtaza Khan

Bezier interpolation for given four control points. Each control point can be in N-Dimensional. (approximation, interpolation, bezier)

[Q]=bezierInterp(P0,P1,P2,P3,varargin)

bezierInterpTest.m

image thumbnail

updated 5 years ago

cubic Bezier least square fitting by Dr. Murtaza Khan

Approximation of data using cubic Bezier curve least square fitting (approximation, interpolation, cubic)

FindBezierControlPointsND(p,varargin)

Q=bezierInterp(P0,P1,P2,P3,varargin)

[MatGlobalInterp]=BezierInterpCPMatSegVec(p0mat,p1mat,p2m...

image thumbnail

updated 5 years ago

Richardson Extrapolation by Rhys

A generalized Richardson extrapolation routine with many bells and whistles. (taylor, richardson, extrapolation)

richardson( A1s, kis, t, exact )

image thumbnail

updated 5 years ago

Calculate roots of Chebyshev polynomials. by Russell Francis

Calculate the roots of a Chebyshev polynomial of arbitrary degree. (approximation, interpolation, chebyshev)

ChebyshevRoots( n, type, range )

image thumbnail

updated 5 years ago

interpsinc.m by Michael Minardi

This M-File interpolates a sampled function using sin(x)/x (approximation, interpolation, interpolate)

interpsinc(xi,f,varargin)

Contact us