image thumbnail

updated 15 days ago

Adaptive Robust Numerical Differentiation by John D'Errico

Numerical derivative of an analytically supplied function, also gradient, Jacobian & Hessian (hessian, jacobian, toolbox)

derivest_demo

multivariable_calc_demo

derivest(fun,x0,varargin)

image thumbnail

updated 1 month ago

2 Dimensional Temperature Profile - Finite Diff Method by Amir John Scheid

Allows user to set fixed disturbance in T in a plate. Calculates output. (finite difference, temperature, temperature profile)

temp_20.m

image thumbnail

updated 1 month ago

Numerical Integraton Tool with GUI by Amir John Scheid

Contains following methods: Simpsons, Simpsons 3/8, Monte Carlo, Trapezoidal. (monte carlo, integration, simpsons)

integration(varargin)

image thumbnail

updated 4 months ago

unit_opt.zip by Traian Emanuel Abrudan

A toolbox for optimization under unitary matrix contraint (optimization, matrix, unitary)

S_out=skew(S_in)

[W_final,J_dB,E_dB,U_dB]=riemann_grad_unit_opt(W0,grad_me...

cf_eval(Wk)

image thumbnail

updated 9 months ago

Simple Pendulum Simulation by James Adams

Simulates the motion of a simple pendulum. (pendulum, phase portrait, time series)

SimplePendulum_JA.m

image thumbnail

updated 10 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 1 year ago

Multidimensional matrix multiplication by Sandor Toth

The simple function performs fast matrix multiplication within multidimensional arrays. (matrix, multiplication, simple)

mmat(A,B,dim)

image thumbnail

updated 1 year ago

4-variable function - NUMERICAL INTEGRATION by Sree Prasanna Rajagopal

4-variable integration value (integration, numerical, computation)

intbymat4(f,xmin,xmax,ymin,ymax,smin,smax,hmin,hmax,xcuts...

image thumbnail

updated 1 year ago

Collocation-based spectral-element toolbox by Nathaniel Jewell

Functions and example codes for a collocation spectral-element scheme (Chebyshev or Legendre) (numerical, spectral, pseudospectral)

...

...

[x,D]=legDc(N);

image thumbnail

updated almost 2 years ago

toSingle by Ben Barrowes

Converts all numeric variables in the workspace, or optionally all doubles only, to single precision (numerical, precision)

toSingle(doublesOnly)

image thumbnail

updated almost 2 years ago

Newton Rapshon merthode by Mohammed Al-Mostafa

Newton Raphson methode iteration finder (numerical, mathematics)

image thumbnail

updated 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 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 almost 3 years ago

PWLINT: Piecewise Linear Integration by Andrew Davis

Return positive and negative areas, assuming a piecewise linear function (signal processing, mathematics, numerical)

pwlint(x,y)

image thumbnail

updated 3 years ago

newton raphson by osman onur g├╝rler

it's a homework study for numerical analysis class (newton, raphson, numerical)

newtonENGLISH.m

image thumbnail

updated 3 years ago

Gauss Seidel Method by Mohammad Saadeh

Gauss Seidel Method for a system of equations (gauss seidel, numerical, system equation)

Gauss_Seidel.m

image thumbnail

updated 4 years ago

Y-bus by arvind singh

admittance matrix (numerical, matrix, mathematics)

ybus_final.m

image thumbnail

updated almost 6 years ago

Numerical Differentiation by Husam Aldahiyat

Performs single dimensional differentiation numerically. (differentiation, numerical, differences)

[d]=datnum(n,m)

numdiff()

image thumbnail

updated 6 years ago

Iterative Adaptive Simpson and Lobatto Quadrature by Matthias Chung

Iterative Adaptive Simpson and Lobatto Quadrature (integration, quadrature, simpson)

adaptiveLobatto(fcn, a, b, varargin)

adaptiveSimpson(fcn, a, b, varargin)

image thumbnail

updated 6 years ago

fixed point itration by AHHA

fixed point iteration for numerical method (fixed point, numerical method, numerical)

image thumbnail

updated 6 years ago

rombquad by Matt Fig

Performs Romberg quadrature. (integration, romberg quadrature, numerical)

rombquad(f,a,b,m)

image thumbnail

updated 6 years ago

Fredholm integral equations by Kendall Atkinson

Solves a variety of one variable Fredholm integral equations (integral equation, fredholm, numerical)

Fie(lambda,a,b,behavior,kernel,RHS,AbsTol,RelTol)

TestAlgSing(num_problem,lambda,a,b,alpha,AbsTol,RelTol)

TestAll

image thumbnail

updated 8 years ago

asort: a pedestrian alphanumeric string sorter by us

numerically sorts an array or cell array of strings. (sort, alphanumeric, numerical)

asdemo

varargout=asort(inp,varargin)

image thumbnail

updated 8 years ago

Rombint.m by Martin Kacenak

This function performs the numerical evaluation of an integral using the Romberg method. (integration, romberg, numerical)

[res]=rombint(funfcn,a,b,decdigs,varargin);

image thumbnail

updated almost 9 years ago

gaussleg by Matt Fig

Calculates the integral of function f from a to b using ngp Gauss points. (integration, gaussian legendre qua..., numerical)

gaussleg(f,a,b,gp,varargin)

image thumbnail

updated almost 9 years ago

Gaussian Quadrature for Triangles by Greg von Winckel

Compute Gauss nodes and weights for a triangle (integration, triangle, triangular)

[X,Y,Wx,Wy]=triquad(N,v)

image thumbnail

updated 9 years ago

Summed Newton-Cotes Rules by Greg von Winckel

2-11 Point Summed Newton-Cotes Rules (integration, summed newtoncotes, numerical)

Q=cotes(f,a,b,N,nodes)

image thumbnail

updated 9 years ago

Hermite Quadrature by Greg von Winckel

Computes the Hermite weights for user-defined nodes. (integration, hermite, interpolation)

[H0,H1]=hermquad(x)

image thumbnail

updated 9 years ago

chb by Giampiero Campa

change base (base, change, strings)

chb(A,a,b)

image thumbnail

updated 9 years ago

enum: a pedestrian enumerator by us

To create an enumerating vector from a list of terminators. (matrices, enumerate, index)

e=enum(n,varargin)

image thumbnail

updated 9 years ago

Gegenbauer-Gauss-Lobatto Quadrature by Greg von Winckel

Computes weights and nodes for Gegenbauer-Gauss-Lobatto quadrature. (integration, gegenbauer ultraspher..., numerical)

[x,w,C]=gglnodes(N,a)

image thumbnail

updated almost 10 years ago

Numerical Integration on an Arbitrary Grid by Greg von Winckel

Computes weights for numerical integration on arbitrary grid points. (integration, numerical, interation)

A=arbquad(x)

image thumbnail

updated almost 10 years ago

numerical.zip by David Terr

Archive containing numerical function files. (numerical, function, mathematics)

Fibonacci(n)

GeneralizedFibonacci(n,a,b)

GeneralizedLucas(n,a,b)

image thumbnail

updated 10 years ago

SIMPSUM by Vassili Pastushenko

Next to TRAPZ should be SIMPSON integration. (integration, numerical, simpson)

image thumbnail

updated 10 years ago

Pseudospectral Differentiation on an Arbitrary Grid by Greg von Winckel

Numerically differentiates a function on an arbitrary grid. (differential equation..., pseudospectral, collocation)

D=collocD(x);

image thumbnail

updated 10 years ago

Finite Difference Weights by Greg von Winckel

Computes the finite difference for a uniform grid. (differential equation..., finite, difference)

W=ufdwt(h,pts,order)

image thumbnail

updated 10 years ago

Legendre Collocation Differentiation by Greg von Winckel

Numerically differentiates functions sampled at the LGL nodes. (differential equation..., legendre, polynomials)

[x,D]=legDc(N);

image thumbnail

updated 10 years ago

Legendre-Gauss Quadrature Weights and Nodes by Greg von Winckel

Computes the Legendre-Gauss weights and nodes for solving definite integrals. (integration, legendre, quadrature)

[x,w]=lgwt(N,a,b)

image thumbnail

updated 10 years ago

Legende-Gauss-Radau Nodes and Weights by Greg von Winckel

Computes the Legendre-Gauss-Radau nodes and weights. (integration, legendre, radau)

[x,w,P]=lglnodes(N)

image thumbnail

updated 10 years ago

Using Numerical Computing with MATLAB in the Classroom by Cleve Moler

M-files used in the webinar held on April 27, 2004. (webinar, moler, numerical)

bigscreen(arg)

bizcard

blackjack(N)

image thumbnail

updated 10 years ago

Legende-Gauss-Lobatto nodes and weights by Greg von Winckel

Computes the Legendre-Gauss-Lobatto weights, nodes and vandermonde matrix. (integration, legendre, polynomials)

[x,w,P]=lglnodes(N)

image thumbnail

updated 12 years ago

Data Analysis in the Earth Sciences Using MATLAB by Gerard Middleton

Companion Software (earth sciences, data, nature)

arc(r, az1, az2);

arc2(r, az1, az2);

barth(X, k)

Contact us