Refine by Content Type

Refine by Time Frame

image thumbnail

updated 10 years ago

Gauss-Legendre by Jordi Soler Penades

Numericaly evaluates integral using Gauss-Legendre quadrature method. (integration, integral, gauss)

I=gausslege(f,a,b,n)

polegende.m

y=flege(f,a,b)

image thumbnail

updated 2 years ago

Uniform Filter Bank by Iman

This function can be used to design a uniform filter bank with M subbands. (optimization, signal processing, uniform filter bank)

P=P_NPR(M,m,m1)

PR_Nguyen.m

[c,ceq]=confun(h)

image thumbnail

updated 5 years ago

MATLAB in Physics - Symbolic Computation and Differential Equations by Matt McDonnell

The fourth lecture in a series on using MATLAB in undergraduate physics courses. (physics, demo, education)

centralPotentialODE(stateVect,charges,p,polarity,masses)

selectPathData(h,x,y,t,tSet,rangeFraction)

LorentzAttractor

image thumbnail

updated 5 years ago

Steepest descent method by Bapi Chatterjee

It solves an optimization problem by steepest descent method. (optimization, finance, steepest descent)

steepestdescent.m

image thumbnail

updated 5 years ago

DFP quasi Newton method by Bapi Chatterjee

It solves an optimization problem by DFP quasi Newton method. (optimization, finance, quasi newton)

quasi_newton_dfp.m

image thumbnail

updated 4 years ago

Create 3D-interactive HTML File from MATLAB surface by Sven Koerner

This function uses the abiliy from MuPad to create javaview-files (jvd, jvx) and html - documents. (3d, mesh, surface)

javaview(surface_handle, filename, destination, source, o...

image thumbnail

updated 4 years ago

Gravity Measurement Case Study by Robert Bemis

Scientific imaging case study with MATLAB and toolboxes. (tutorial, example, image acquisition)

FindImaqDevices(desiredFormat)

[x,y]=limits(a)

readme

image thumbnail

updated almost 4 years ago

Newton Method in N dimensions by Kyle Drerup

Simple implementation of Newton's method, in n dimensions, taking input of >=n equations. (newtons method, numerical analysis, root finding)

newton_n_dim(tolerance_rss,initial_estimate,sym_variables...

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

3 shot dynamic balancing by Muhammad Tauha Ali

it gives exact position and amount of mass to be added or removed for dynamic balancing (dynamic balancing, displacement, utilities)

3 shot dynamic balancing

shot3(varargin)

image thumbnail

updated 6 years ago

Routh Hurwitz array by J. Sebastian Palacio

Routh-Hurwitz method for determining the stability of a system from characteristic polynomial of its (routh hurwitz stabili..., array, polynomial)

image thumbnail

updated 3 years ago

Teaching System Dynamics with MATLAB & Simulink by Jerry Brusher

MATLAB, Simulink, MuPAD, & Simscape models of 2nd order systems used in “Teaching System Dynamics.” (system dynamics, physical modeling, symbolic computing)

odesys( ~,z,param )

publish_spring_mass_damper_free_response.m

simscape_base_excited_SMD_with_Pole_Zero_plot_FINAL

image thumbnail

updated 4 years ago

Newton-Raphson Method for Non-linear System of 3 variables by Jesus Hernandez

Newton Method to solve non-linear (also linear) systems of 3 variables.Very amicable (mathematics, roots)

newton3v1.m

image thumbnail

updated 6 months ago

EnsembleControlMassSpring.zip by Nathan

Simple example of ensemble control using a mass-spring model. (ensemble control, mass, spring)

[input]=CalculateInput(n,k,start,final,Ad,Bd,nominaleps)

EnsembleControlMassSpring.m

MassSpring

image thumbnail

updated 7 months ago

Snake Robot Serpentine Motion by Ali

Implementation of a IEEE paper based robotic snake model and controller for second year uni project (modeling, robotics, control design)

Animation_ClosedLoop.m

Animation_OpenLoop.m

IEEEsnake.m

image thumbnail

updated 12 years ago

Introduction to Linear Algebra by Gilbert Strang

Companion Software (mathematics, linear algebra, theory)

BASIS(A)

addvec(v,w)

atimesv(a,v)

image thumbnail

updated 5 years ago

Steepest Decent Method by Duc

Solves a multi-variable unconstrained optimization problem using the Steepest Decent Method (mathematics)

alphaVal=fminimum(phiAlpha1)

realVT=removeComplexVals(complexVT)

GradientAlgorithm.m

image thumbnail

updated 9 years ago

3D vector field simulator GUI by Rentian Xiong

VECTGUI is an easy-to-use 3D vector field simulator with a friendly GUI. (gui tools, example, 3d vector field)

vectgui(varargin)

image thumbnail

updated almost 2 years ago

Gaussian Elimination & Inverse Matrix Finder by Mohammed Al-Mostafa

Gaussian Elimination with pivoting& Inverse Matrix Finder using determinant and Gaussian elimination (matrix, mathematics)

Numerical.m

image thumbnail

updated 4 months ago

Mult&T by Franklin Pineda

Realizations and Control of Multivariable Linear Systems. (control design)

[A B C D T]=hoform(Gt,W)

[A B C D]=lcfform(Gt)

[A B C D]=lmpf2ss(D1,N)

image thumbnail

updated 1 day ago

punctureSurface by Paul Kassebaum

Create a 3D printable meshed surface (3d printing, stl, mesh)

punctureSurface(manifold, boundVert, holeSize, shellThick...

tPunctureSurface.m

image thumbnail

updated 6 months ago

Lagrange Mechanics by Peter van Alem

Simulation of double and coupled pendulum (lagrange mechanics, double pendulum)

DrawSpring2D.m

DrawSpring3D.m

CoupledPendula2D.m

image thumbnail

updated 4 years ago

Syms to TF Conversion by Crystal Nassouri

Simple M file to convert Symbolic Equations/Polynomials to ZPK TF form. (syms, sym, symbolic)

syms2tf(G)

image thumbnail

updated almost 2 years ago

Gyroscope-Gyrocompass by karlosgk

Numerical solution of gyroscope-gyrocompass Lagrange equations (large rotations, euler angles, gyroscope gyrocompass)

F=gyroscope(t,x,flag,L,R1,R2,R3,g,m,m1,m2,m3)

gyroscope_equations.m

gyroscope_plot.m

image thumbnail

updated 1 year ago

Finding roots of equations by Ehsan Behnam

Implementing Bisection and Newton-Raphson methods to find roots of equations (root of equations, bisection, newtonraphson)

find_one_root_by_bisectin(eq, x, intrvl, ...

newton_raphson(fx, x, intrvl)

root_bisection(fx, x, intrvl)

image thumbnail

updated 12 months ago

Friction Factor from Moody Diagram by Taesam Lee

Estimate Friction Factor instead obtaining from Moody Diagram (solve)

fout=Moody_Diagram_f_Est(Para,Category)

image thumbnail

updated 1 year ago

Nearest Neighbor Spatial Weights Matrix by Patrick Walsh

uses x,y coordinates to produce one of several types of nearest-neighbor spatial weight matrix. (spatial econometrics, spatial weights matri..., nearest neighbor)

S=nnSWM(xcoord,ycoord,N,Contig,RowStdOpt)

image thumbnail

updated 7 years ago

Geodesic solver by Bilwaj Gaonkar

Program uses metric tensor as input and generates geodesic equations in 4 d space time as output (chemistry, physics, geodesic)

image thumbnail

updated 8 years ago

Hybrid Symbolic and Numerical Simulation Studies of Time-fractional Order by YangQuan Chen

Matlab code to duplicate all figures in the paper, self-containing. (symbolic math, numerical inverse lap..., fractional)

[ft,t]=nilt(F,tm);

[x,f,options]=solvopt(x,fun,grad,options,func,gradc)

apprgrdn(x,f,fun,deltax,obj)

image thumbnail

updated 5 years ago

Newton Raphson method for Transcendental equations by Chandan

Evaluates the root of transcendental equation using Newton Raphson Method. (mathematics, newton raphson method, transcendental equati...)

NR_Transcendental()

image thumbnail

updated almost 2 years ago

Double spherical pendulum by karlosgk

Numerical solution of double spherical pendulum Lagrange equations along with their analytical form (large rotations, chaotic motion, double spherical pend...)

doublependulum3D(t,x,flag,l1,l2,m1,m2,g)

doublependulum3D_equations.m

doublependulum3D_plot.m

image thumbnail

updated 21 days ago

Lower Upper Complex NUmber by Adilson Batista

Solve linear system with complex number (mathematics, complex, linear algebra)

dec_LUx_PB_complex.m

image thumbnail

updated 5 years ago

Mult&T by Franklin Pineda

Find realizations of multivariable systems. Created for Msc. students at the UANDES and UAC. (control design, robust control, symbolic math)

[A B C D T]=hoform(Gt,W)

[A B C D]=lcfform(Gt)

[A B C D]=lmpf2ss(D1,N)

image thumbnail

updated 9 years ago

Widely Used Programming Environments in Electrical Engineering: MATLAB by Lorand Szabo

This book was written to help electrical engineers to use MATLAB for computations and visualization. (matlab, matrix operations, 2d)

cond_front=ffront(ya,yb)

f=def_funct(t,t1,a1,t2,a2,a3)

t=sincos(x,y)

image thumbnail

updated almost 9 years ago

oblique shock wave relations by Nir Kalush

Given two of three variables, finds the third variable (Mach num, Beta, Theta) ... (aerospace, aeronautics, aerodef)

image thumbnail

updated 6 months ago

Curvilinear Coordinates by Howard Wilson

Programs using curvilinear coordinates, and tensor concepts are given. (aerospace, aeronautics, aerodef)

[R,n,bco,bcn,gco,gcn,cs1,cs2]=runmet(x,y,z,n)

[X,Y,Z]=cone0(z,t,p)

[X,Y,Z]=cylin0(r,t,z)

image thumbnail

updated 3 days ago

Symbolic Derivatives for Econometric Tests by Alan Weiss

How to calculate derivatives required by Econometric Toolbox tests via Symbolic Math Toolbox (symbolic, econometrics, jacobian)

symbolic_econometric_tests.m

image thumbnail

updated 4 years ago

SDamala Toolbox by Angélica María Atehortúa Labrador

Dynamical systems Toolbox, for simulation and analysis dynamical systems deterministic (dynamical systems, mathematics, phase portrait)

About(varargin)

TC_bifur

[T,Res]=tc_explyapunov(f,to,dt,tf,ystart,ioutp)

image thumbnail

updated 2 years ago

SCOPE: interactively tabulate SEER excel variables by Rex Cheung

This takes SEER excel column data interactively, tabulate them, write back in table format. (data import, data export, optimization)

output=xls2tabulate2xls(xlsfilename)

image thumbnail

updated 9 months ago

Thrown Ball Simulation by Sulaymon Eshkabilov

Simulation models of TENNIS ball in VACUUM & AIR with & without spin by Sym MATH, ODEx, Simulink (odes, simulationsimulink mo...)

RUN_all.m

TENNIS_Ball

image thumbnail

updated 9 months ago

7 ways of solving Initial Value Problems of ODEs in MATLAB & Simulink by Sulaymon Eshkabilov

Symbolic MATH, ODEs, MuPAD, Simulink, scripts with Euler, Adams-Moulton & Runge-Kutta methods 4 IVPs (odes)

IVP_ODEs_7ways__.m

image thumbnail

updated almost 9 years ago

z-transform of 1D & 2D Savitzky-Golay Smoothing and Differentiation Filter by Abdulwahab Abokhodair

z-transform of 1D & 2D Savitzky-Golay Smoothing and Differentiation Filter (filtering, filter analysis, filter design)

ztdemo

ztrans1d(h);

ztrans2d(h);

image thumbnail

updated 7 years ago

system of equations solver by Chun Zheng

Models system of DEs(with 4th order Runga-kutta) and system of functions (differential equation..., runga, kutta)

approxPts=approxRK4(strFtn,h,ICXY,numGeneration)

listBoxGui(varargin)

nStr=modHorTxtEq(oldFtnStr,newFtnStr,caseNum)

image thumbnail

updated 4 years ago

Derivative-based Optimization by Nassim Khaled

Derivative-based Optimization using The Gradient Descent (gradient, descent, minimum)

Gradient_Descent_maximum.m

Gradient_Descent_minimum.m

image thumbnail

updated almost 2 years ago

MathExplorer: Learning Maths using MuPAD for Engineering Students by Martin Brown

A set of MuPAD notebooks which allow engineering students to visualize and experiment with maths. (mathematics, learning mathematics, symbolic maths)

image thumbnail

updated 5 months ago

EnsembleControlCrane.zip by Nathan

Example of ensemble control using an overhead crane model (ensemble control, crane, uncertain parameters)

[input]=CalculateInputCrane(n,k,start,final,Ad,Bd,theta_e...

CreateMovie.m

EnsembleControlCrane.m

image thumbnail

updated 3 years ago

Rsyso by Franklin Pineda

Finds realizations of SISO linear systems. Autonoma of Colombia University. (control design)

[A B C D T]=hoform(Gt,W)

[A B C D]=minhoform(sys)

[A B C D]=parallelform(Gt,val)

image thumbnail

updated 2 years ago

Automatic Solution and Log Linearisation of DSGE Models by Tom Holden

Code to analytically log linearise DSGE models in Matlab. Requires the symbolic toolbox. (dsge, economics, macroeconomics)

LogLin.m

image thumbnail

updated almost 4 years ago

Teaching Math and Physics with Symbolic Math Toolbox by Dan Doherty

Learn how symbolic computation can be used to teach concepts and solve problems in Math and Physics (mupad, symbolic math toolbox, calculus)

Contact us