Main Content

34,212 results in File Exchange

Euler-Lagrange tool package

Version 1.5.0.0 by Mischa Kim

Use the Euler-Lagrange equation to derive differential equations

Use the Euler-Lagrange tool to derive differential equations based on the system Lagrangian. The Lagrangian is defined symbolically in terms of the generalized coordinates and velocities, and the

- EulerLagrange Derives the system differential equations based on the
- Pendulum_demo This demo illustrates the usage of the EulerLagrange tool
  • 6.8K (All time)
  • 7 (Last 30 days)
  • 4.5 / 5
  • Community
  • 24 Oct 2016

Euler-Lagrange Solver

Version 1.0.2 by Morten Veng

A function that solves the Euler-Lagrange Equations using the Symbolic Math Toolbox.

A function that solves the Euler-Lagrange Equations using the Symbolic Math Toolbox. It comes with three examples: 1) a generic point-mass model, 2) a 6-DOF quadrotor model and 3) an inverted

  • 690 (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 7 Jul 2021

Euler–Lagrange equation

Version 1.0.0.1 by Hitoshi Takeshita

Solve Euler–Lagrange equation automatically.

  • 2.6K (All time)
  • 1 (Last 30 days)
  • 4.8 / 5
  • Community
  • 1 Sep 2016

Matlab Euler-Lagrange Library

Version 1.5 by mansour torabi

Using this library one can derive differential equations for any dynamic systems and solve response of the system for a given conditions.

Matlab: Euler-Lagrange Library for Derving Equations of Dynamic SystemsUsing the above library, one can derive differential equations for any dynamic systems and solve response of the system for a

  • 1K (All time)
  • 9 (Last 30 days)
  • 2.8 / 5
  • Community
  • 16 Jul 2024

Physical modeling in academia: the rotary pendulum with low-cost hardware

Version 1.2.0.1 by Mischa Kim

Model, analyze and deploy the rotary pendulum system

implementation models for LEGO Mindstorms NXT and EV3, a video showing the controlled LEGO system in action, and a hardware construction manual. For the traditional modeling approach the Euler-Lagrange tool is

- EulerLagrange Derives the system differential equations based on the
  • 3.5K (All time)
  • 4 (Last 30 days)
  • 4.4 / 5
  • Community
  • 1 Sep 2016

Multi-Pendulum simulation

Version 1.2.0.0 by Tillmann Stübler

Simulation of a multi-pendulum for any number of segments.

derived from Euler-Lagrange equations. The multi pendulum is a beautiful example of how a simple physical system can produce unpredictable, chaotic behaviour. It's also a nice example of using

  • 442 (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 21 Nov 2016

Dynamics Simulator for Kinematic Chains

Version 1.0.0.0 by Bassam Jalgha

This is a library that performs a dynamics simulation of a robotic arm.

The library is a basic dynamic simulator for kinematic chains. You just need to provide the symbolic Denavit-Hartenber parameter matrix. 'ComputeDynamics' function uses the Euler-Lagrange method to

  • 1.6K (All time)
  • 1 (Last 30 days)
  • 4.0 / 5
  • Community
  • 22 Aug 2011

Double Pendulum

Version 1.0.0 by Mohammad alshikh khalil

A double pendulum consists of one pendulum attached to another.

A double pendulum movement simulation using Matlab script editor by solving the Euler-Lagrange differential equations for theta1 and theta2

  • 222 (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 25 Jan 2021

Kinematic Filtering for human and robot Trajectories

Version 1.0.0.0 by Yaron Meirovitch

Kinematic Filtering computes the smoothest trajectory representing the noisy input trajectory

those constraints.===== Algorithm [2] ========Solving boundary value problem for the Euler-Lagrange Equations of the jerk-accuracy functional.[x, y, ... ]=filter_JA(trj_ns); filter_JA computes the

- This is a demo showing how to call Jerk-Accuracy filtering on noisy
- This is a first version of optimal kinematic filtering (IEEE T-RO Meirovitch et al., 2016).
  • 585 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 22 Dec 2016

Lagrange Mechanics

Version 1.5.0.0 by Peter van Alem

Simulation of double and coupled pendulum

Simulation of motion of pendula (2D & 3D) by solving Euler Lagrange equations

  • 1.5K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 24 Aug 2024

Euclidian projection on ellipsoid and conic

Version 1.4.0.0 by Bruno Luong

Projecting a point on ellipsoid or conic in n-dimensional space

center.Or on generalized conic E = { x : x'*A*x + b'*x + c = 0 }.The projection is the minimization problem: min | x - P | (or max | x - P|) for x in E.Method: solve the Euler Lagrange equation with respect

  • 1.1K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 25 May 2010

13 DOF motorcycle model W. Ooms

Version 1.0.0.0 by Lucas Tassilo Scharbrodt

create and watch realistic simulations of motorcycle maneuvers - theoretical mechanics

Yamaha FJR 1300). The motorcycle parts are rear wheel, swingarm, main body, steering head, front fork and front wheel. Using the Euler-Lagrange formalism of classical mechanics 13 second order non linear

- - input of q and qd so that tire forces and alphas and kappas can be
  • 762 (All time)
  • 8 (Last 30 days)
  • 4.7 / 5
  • Community
  • 9 Jul 2018

Gyroscope-Gyrocompass

Version 1.5.0.0 by karlosgk

Numerical solution of gyroscope-gyrocompass Lagrange equations

The mfile 'gyroscope_plot' produces:-Generalized coordinates, velocities/time (euler angles 313)-Phase subspaces-State space -Energies/time-Generalized momenta/time-Simulation: symmetry axis pathThe

- Generalized coorditates are Euler angles 3-1-3 (ph)-preccesion,(th)-nutation, (ps)-spin
  • 1.5K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 17 Jan 2013

motorcycle model

Version 1.2.0.0 by Wesley

13 dof motorcycle model

- - input of q and qd so that tire forces and alphas and kappas can be
  • 2.1K (All time)
  • 7 (Last 30 days)
  • 4.4 / 5
  • Community
  • 4 Apr 2012

Spherical-Robot-Norma-Dynemics

Version 1.0.1 by Saeed Moazami

This file represents the dynamics of Norma, a spherical robot. Please refer to https://arxiv.org/pdf/1908.02243 for more details

turning maneuvers as a nonholonomic robot. The advantage of the proposed mechanical design lies in its convenience of physical implementation, agility, and accurate mathematical model. The Euler Lagrange

  • 120 (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 13 Jul 2021

animated spinning top with Cardan mounting

Version 1.1.0.0 by Alexander Erlich

Plots an animated spinning top with Cardan mounting from raw animation data.

The 3D animation is created using the surf and drawnow commands. An example animation file is provided. The rotation is based on Euler/Cardan angles and performed with individually computed rotation

  • 2.4K (All time)
  • 1 (Last 30 days)
  • 4.7 / 5
  • Community
  • 1 Aug 2010

Animated Double Pendulum

Version 1.1.0.0 by Alexander Erlich

Show animation of the double pendulum's (mostly) chaotic behavior.

  • 13.1K (All time)
  • 3 (Last 30 days)
  • 4.3 / 5
  • Community
  • 4 Oct 2010

Rigid motions and robotics toolbox

Version 1.1 by Antonio Tristán Vega

3D rigid transforms and robotics with quaternions and dual quaternions (OO interface)

capabilities of the toolbox include: + Newton-Euler recursive dynamics, i.e. finding forces and torques at each joint from known kinematics. + Lagrange-Euler dynamics, i.e. matrix

- http://es.mathworks.com/help/matlab/matlab_oop/class-attributes.html
- Simple test for the SCORBOT ER 4u-related software
- http://es.mathworks.com/help/matlab/matlab_oop/class-attributes.html
  • 1.3K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 28 Mar 2017

Belocerkowski-Davidov method for solving gas dynamical system.

Version 1.0.0.0 by ilia

This program is the part of my BC work.

  • 411 (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 16 Jun 2009

Numerical Methods

Version 1.0.0.0 by Mohammad Daneshian

This repository contains mathematic numerical calculations

1-curve fitting & interpolations : Lagrange Interpolation, linear interpolation, linear regression, newton_interpolation1, quadratic interpolation2-integration & derivation

  • 148 (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 5 Jan 2021

Several kinds of Mathematical examples!

Version 1.0.0.0 by Giovani Tonel

Here there are several kinds of Mathematical problems!

Chapter II/SECTION 1/2/3bld020101.m Interpolation of 1/(1 + x*x)bld020102.m Lagrange polynomials for n = 3bld020103.m Example for Bezier polynomial of degree n = 3bld020104.m Hermite polynomials for

- BILD026C, Euler explizit: Stabilitaetsbereich
- BILD024, Loesung DGL in dgl.m mit Euler Explizit
- Beispiel zum D'Alembert-Lagrange-Prinzip
- BILD018, Lagrange-Grundpolynome fuer n = 3
- Bubble-Funktion
- Beispiel fuer Bezier-Polynom vom Grad n = 3
- natuerlicher kubischer Interpolations-Spline
- BILD030101, Beispiel 1, Dennis-Schnabel
- BILD019, Hermite-Grundpolynome fuer n = 3 , H_0i
- Berechnet ARENSTORF-Orbits mit Mondmasse MU = 0
- berechnet Bezier-Polygon p (auf [0,1]) gegeben durch Bezier-Punkte b
- BILD019B, Hermite-Grundpolynome fuer n = 3, H_1i
- Abb. 156, Fortsetzung nach Allgower-Georg
- bld040102, Legendre-Transformation
- Beispiel zur Poisson-Gleichung
- BILD020202.M, Tschebyscheff-Polynome fuer n = 3
- Legendre-Polynome
- POISSON-Gleichung, Geometriedaten
- Zeichnet geschlossene Spline-Kurve
- Testen der Orientierung beim QR-Algorithmus
- Pitchfork-Bifurkation
- kubisches Hermite-Polynom
- BILD052, Slater-Bedingung
- Paraboloid-Koordinaten
- BILD029B, Stabilitaetsbereiche der impliziten ADAMS-Verfahren
- BILD029A, Stabilitaetsbereiche der expliziten ADAMS-Verfahren
- BILD037, Beispiel 1, Dennis-Schnabel
- Rechnung fuer Kepler-Problem
  • 3.6K (All time)
  • 1 (Last 30 days)
  • 4.5 / 5
  • Community
  • 2 Aug 2007

Computing Lagrange points L1-L3

Version 1.0.3 by Bill McKeeman

Detailed computation and discussion of Lagrange Points L1-L3 and a few words about L4-L5.

The placement of the JWST (Hubble follow-on telescope) at Lagrange Point L2 has increased interest in these unusual points in space. They were first mentioned by Euler and carefully analyzed by

  • 207 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 23 Mar 2022

ELARA - Flexible Robot Simulation and Control Toolbox

Version 0.1 by Maximilian Herrmann

A MATLAB toolbox for the efficient simulation and optimal control of rigid-flexible robotic systems

:- `OCPIntegratorVI`: First/second-order variational/discrete Euler-Lagrange transcription (DMOC)- `OCPIntegratorRK`: Second-/fourth-order ODE transcription with explicit Runge-Kutta integration (`RK2` and `RK4

- Example Simulation of a one-link tendon-actuated continuum manipulator
- Compute the time derivative of the right-trivialized derivaive of the retraction map
- Hat map for so(3) / 3 dimensions R3 -> so(3), i.e. 3x3 matrix
- Hat map for 6 dimensions, R6 -> se(3), i.e. 4x4 matrix
- Example Simulation of a PD-Controlled "Surgical" Rigid-Soft Manipulator
- Example Simulation of a Rigid-Flexible System
  • 11 (All time)
  • 4 (Last 30 days)
  • -- / 5
  • Community
  • 31 May 2026

Avionics and UAV Control Systems Library

Version 1.0.0 by Mustafa Serdar

R&D portfolio for UAV flight dynamics, control systems, and autonomous navigation algorithms

calculating rigid body dynamics using **Euler Equations**.* **Features:** Motor Mixing Algorithm (Quad-X), Aerodynamic Drag, and 3D Visualization.### 2. 👁️ Computer Vision & Autonomous Tracking

  • 74 (All time)
  • 10 (Last 30 days)
  • 5.0 / 5
  • Community
  • 1 Dec 2025

Function to Convert between DCM, Euler angles, Quaternions, and Euler vectors

Version 1.11.0.0 by John Fuller

Function to convert rotation data between 4 types: DCM, Euler Angles, Quaternions, and Euler Param.

SpinCalc is a consolidated matlab function that will convert any rotation data between the 4 types included. Will also convert between 2 different Euler angle set types.Multiple orientations can be

  • 15.3K (All time)
  • 2 (Last 30 days)
  • 4.8 / 5
  • Community
  • 25 Jan 2013

Euler c2d Transformations (c2d_euler)

Version 2.2.2.0 by Tamas Kis

Transforms a continuous transfer function to a discrete transfer function using the forward and backward Euler methods.

c2d_euler Transforms a continuous transfer function to a discrete transfer function using the forward and backward Euler methods.SyntaxHz = c2d_euler(Hs,T,type) Hz =

  • 1.5K (All time)
  • 7 (Last 30 days)
  • 5.0 / 5
  • Community
  • 16 Jul 2024

Euler-Bernoulli beam

Version 1.2.0 by Andreas Döring

Analytical solution for Euler-Bernoulli beam with n simple supports.

The live script getEulerBernoulliExamples.mlx shows the exemplary use of the live function getEulerBernoulliFunction.mlx.The live function getEulerBernoulliFunction.mlx returns beam displacement and

  • 533 (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 8 May 2024

Inverse dynamics with recursive Newton-Euler

Version 1.0.0.0 by Auralius Manurung

Inverse dynamics with recursive Newton-Euler of an open kinematic chain and standard DH-parameters

Inverse dynamics with recursive Newton-Euler of an open kinematic chain described with standard DH-parametersOptional:Robot toolbox is used for comparison: http://www.petercorke.com/RTB/Download and

  • 1.4K (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 6 Nov 2021

Lagrange Polynomial Coefficents

Version 1.0.0.0 by marco.bilucaglia

Computation of the Coefficients of Lagrange Polynomial of order-n

Differently from other similar functions, poly_lagrange does not need points to directly evaluate the polynomial: it gives, as output, only the coefficients of Lagrange Polynomial to be evaluated

  • 312 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 19 Feb 2016

Lagrange interpolation in 2D

Version 1.0.0.0 by Daniel Klawitter

a simple m-file to perform a lagrange interpolation in 2D

this mfile only works on rectangular sets of points.it performs a lagrange interpoaltion in x direction as first and after that the points on these xCurves are interpolated in y-direction.

  • 2.3K (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 27 Nov 2009

wavesoftware

Version 1.0 by Zhuojia FU

Wavesoftware includes numerical simulation of acoustic, water and elastic wave problems

- LAGRANGE Plot the Lagrange function for Tikhonov regularization.
- BIDIAG Bidiagonalization of an m-times-n matrix with m >= n.
- GEN_FORM Transform a standard-form problem back to the general-form setting.
- NU Brakhage's nu-method.
- PLOT_LC Plot the L-curve.
- QUASIOPT Quasi-optimality criterion for choosing the regularization parameter.
- L_CORNER Locate the "corner" of the L-curve.
- L_CURVE Plot the L-curve and find its "corner".
- SHAW Test problem: one-dimensional image restoration model.
- STD_FORM Transform a general-form reg. problem into one in standard form.
- PINIT Utility init.-procedure for "preconditioned" iterative methods.
- FOXGOOD Test problem: severely ill-posed problem.
- PNU "Preconditioned" version of Brakhage's nu-method.
  • 622 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 22 Mar 2016

Adaptive-Euler-Elastica-Image-Inpainting

Version 1.0 by Dang N. H. Thanh

An Adaptive Image Inpainting Method Based on Euler's Elastica with Adaptive Parameters Estimation and the Discrete Gradient Method

AbstractEuler's Elastica is a common approach developed based on minimizing the elastica energy. It is one of the effective approaches to solve the image inpainting problem. Nevertheless, there are

  • 101 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 9 Sep 2020

regtools

Version 1.1.0.0 by Per Christian Hansen

Analysis and Solution of Discrete Ill-Posed Problems.

- LAGRANGE Plot the Lagrange function for Tikhonov regularization.
- GEN_FORM Transform a standard-form problem back to the general-form setting.
- BIDIAG Bidiagonalization of an m-times-n matrix with m >= n.
- CORNER Find corner of discrete L-curve via adaptive pruning algorithm.
- PMR2 Preconditioned MR-II algorithm for symmetric indefinite problems
- L_CURVE Plot the L-curve and find its "corner".
- SHAW Test problem: one-dimensional image restoration model.
- GRAVITY Test problem: 1-D gravity surveying model problem
- NU Brakhage's nu-method.
- SPLSQR Subspace preconditioned LSQR for discrete ill-posed problems.
- RRGMRES Range-restricted GMRES algorithm for square inconsistent systems
- MR2 Solution of symmetric indefinite problems by the MR-II algorithm
- PINIT Utility init.-procedure for "preconditioned" iterative methods.
- SPLSQR Subspace preconditioned LSQR for discrete ill-posed problems.
- QUASIOPT Quasi-optimality criterion for choosing the reg. parameter
- PNU "Preconditioned" version of Brakhage's nu-method.
- FOXGOOD Test problem: severely ill-posed problem.
- STD_FORM Transform a general-form reg. problem into one in standard form.
- L_CORNER Locate the "corner" of the L-curve.
- PLOT_LC Plot the L-curve.
  • 31K (All time)
  • 36 (Last 30 days)
  • 4.8 / 5
  • Community
  • 1 Feb 2015

Chebfun - current version

Version 5.6.0.0 by Chebfun Team

Numerical computation with functions

- Compute Lagrange basis functions.
- Rotates a BALLFUN using Euler angles
- Three chebfun3 obejcts of the identity on [-1, 1, -1, 1, -1, 1].
- Convert Chebyshev-T coeffs. to Chebyshev-U coeffs.
- AAA and AAA-Lawson (near-minimax) real or complex rational approximation.
- Trigonometric AAA and AAA-Lawson (near-minimax) real or complex
- Gauss-Jacobi-Lobatto quadrature nodes and weights.
- Gauss-Jacobi-Radau quadrature nodes and weights.
- Laguerre points and Gauss-Laguerre quadrature weights.
- Null space of an array-valued CHEBFUN.
- Class for managing Chebfun construction-time preferences.
- A pseudo-arclength continuation algorithm for ODEs in Chebfun.
- Generate an ellipsoid-like surface. (Not necessarily an ellipsoid!)
- Compare time-stepping schemes in 1D/2D/3D.
- Compute solution at t_{n+1} from solution at previous time-steps.
- log-log scale plot of a CHEBFUN.
- Real-valued, spherical harmonic of degree L, order M.
- Evaluate a phi-function.
- Projection onto BMC-II symmetry.
- Hermite points and Gauss-Hermite quadrature weights.
- Barycentric interpolation on a 1st-kind Chebyshev grid.
- Write text with a complex-valued CHEBFUN.
- Find the order of the pole in a function handle at 1 or -1.
- Extract the j-k block from a discretization.
- Array-valued CHEBFUN orthogonalization.
- Short-cut for constructing CHEBFUN variables.
- Alternating direction implicit method for solving AX-XB=F.
- Abstract class for coefficient-based discretization of
- Definite integral of a CHEBTECH on the interval [-1,1].
- Evaluate a gamma-function.
- Discrete tensor-matrix contraction.
- inverse of the poloidal-toroidal decomposition.
- Provides a succinct answer to almost any Chebfun-related question in the
- BALLFUNV class for representing vector-valued functions on the unit ball.
- Convert a quasimatrix to an array-valued CHEBFUN.
- Convert columns of a quasimatrix or array-valued CHEBFUN to a cell.
- Abstract class for representing time-stepping schemes.
- Convert componentwise matrices of Chebyshev-Fourier
- Real-valued DISKFUN test.
- Flux integral of a Chebfun3v object through a 2D-surface.
- Return the angles of the Chebyshev points of 1st kind in [-1, 1].
- Solve non-stiff ODEs. Output a CHEBFUN.
- Solve non-stiff differential equations. Output a CHEBFUN.
- Plot for SINGFUN objects in 3-D space.
- Class for distributions based on Dirac-deltas on arbitrary intervals
- A chebfun of the identity on [-1,1].
- Find a low-order polynomial which satisfies the BCs of a LINOP.
- Assign columns (or rows) of an array-valued CLASSICFUN.
- 3-D contour plot of a SPHEREFUN.
  • 11.4K (All time)
  • 24 (Last 30 days)
  • 4.9 / 5
  • Community
  • 1 Aug 2024

Natural frequencies & buckling loads of columns using Finite Element Method

Version 1.3.0.0 by KSSV

Natural frequencies and Euler buckling load are calculated using finite element method technique

These files calculate the natural frequencies and Euler buckling load using Finite element technique. Hermitian beam elements are used as interpolation functions. Assembled mass, geometric stiffness

- Thoretical Natural Frequencies and Euler Buckling load for columns with various
- To find the natural frequqencies and Euler buckling load of a column
  • 6.6K (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 22 Sep 2011

Weighted Essentially Non-Oscillatory (WENO) Scheme for Euler

Version 1.0.0.1 by Manuel A. Diaz

A Fifth order WENO solver for the Euler system of equations

  • 1.1K (All time)
  • 3 (Last 30 days)
  • 4.5 / 5
  • Community
  • 30 Aug 2018

lagrange interpolation and derivative

Version 1.0.0.0 by Geoff Wawrzyniak

This function performs the Lagrange interpolation of a function and its derivative.

This function performs the Lagrange interpolation of a function (y) or its derivative (dy/dx). usage: y=lagrange(x,pointx,pointsy,0) ordy=lagrange(x,pointx,pointsy,1) or

- %LAGRANGE approx a point-defined function using the Lagrange polynomial interpolation
  • 4.7K (All time)
  • 1 (Last 30 days)
  • 4.0 / 5
  • Community
  • 24 Aug 2006

Special Functions math library

Version 1.0.0.0 by Paul Godfrey

Collection of Special Functions programs.

the complex Gamma, complex LogGamma, complex error, complex psi, complex Riemann zeta, vectorized factorial, vectorized double factorial functions as well as Bernoulli, Euler, Genocchi, and totient

- Euler Euler number
- Euler-Mascheroni constant = -Psi(1) = 0.5772156649015328606...
  • 12.3K (All time)
  • 3 (Last 30 days)
  • 4.7 / 5
  • Community
  • 26 Aug 2004

MATLAB Support for MinGW-w64 C/C++/Fortran Compiler

Install the MinGW-w64 C/C++/Fortran compiler for Windows

  • 1.2M (All time)
  • 6.4K (Last 30 days)
  • 2.9 / 5
  • MathWorks
  • 22 Jul 2026

Lagrange polynomial interpolation

Version 1.0.0.0 by Carlo Castoldi

Lagrange polynomial interpolation

Approx a point-defined function using Lagrange polinomial interpolation method

- %LAGRANGE approx a point-defined function using the Lagrange polynomial interpolation
  • 45.2K (All time)
  • 3 (Last 30 days)
  • 3.7 / 5
  • Community
  • 31 Mar 2016

Acrobot Derivation and Simulation

Version 1.2.0.0 by Matthew Kelly

Derive equations and simulate acrobot (double pendulum)

  • 513 (All time)
  • 1 (Last 30 days)
  • 1.0 / 5
  • Community
  • 12 Dec 2015

Lagrange Interpolation

Version 1.0.0 by Karthi Ramachandran

Simple MATLAB file for Lagrange Interpolation

  • 285 (All time)
  • 2 (Last 30 days)
  • 4.5 / 5
  • Community
  • 7 Feb 2020

Euler–Maruyama Method

Version 1.0.0 by Emma Gau

Simulate Brownian particle motion by the Euler–Maruyama method

, solutions arise under an initial condition and boundary conditions. Therefore solutions of stochastic differential equations exist and are unique (see app.). For this simulation, the Euler–Maruyama (EM

  • 1K (All time)
  • 4 (Last 30 days)
  • 5.0 / 5
  • Community
  • 14 Nov 2018

Euler spiral

Version 1.2.0.0 by Ankur Pawar

This script plots Euler spiral and some of its variants.

Euler spiral is generated by evaluating Fresnel integral. By changing some of the parameters, different type of spirals are generated. EulerSpiral.m make simple plot. EulerSpiralDeco.m make ribbon

- Function plots, cornu spiral also known as euler spiral.
  • 2.4K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 6 May 2016

Lagrange's equations

Version 1.0.0.0 by Ivanovich

Lagrange is a function that calculate equations of motion (Lagrange's equations)

Lagrange is a function that calculate equations of motion (Lagrange's equations) d/dt(dL/d(dq))- dL/dq=0. It Uses the Lagrangian that is a function that summarizes thedynamics of the system

- Lagrange is a function that calculate equations of motion (Lagrange's
  • 6.4K (All time)
  • 8 (Last 30 days)
  • 4.6 / 5
  • Community
  • 19 Feb 2009

maximum entropy method

Version 1.0.0 by babak znl

this is a mat-lab function that calculates the Lagrange multipliers of the maximum entropy problem (example provided)

  • 744 (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 9 Oct 2018

Euler/Fixed Angles Properties

Version 1.1.0.0 by Husam Aldahiyat

Graphical display of Euler and Fixed Angles

Easy to use GUI that gives Euler angles for different rotation matrices and gives rotation matrices for different Euler angles. Also it animates the angle rotations one by one for more understanding.

- EUL obtain Euler Angles from R Matrix
  • 4.3K (All time)
  • 2 (Last 30 days)
  • 4.9 / 5
  • Community
  • 9 Jan 2011

Euler angle, DCM, Quaternion, and Euler Vector Conversion/Teaching GUI

Version 1.3.0.0 by John Fuller

A GUI that helps users learn how Euler angles and other rotational data relate to one another.

This is an instructional GUI to be used for learning how Euler angles, DCMs, quaternions, and Euler vector parameters relate in the rotation of cartesian frames (A to B). Can also be used to convert

- A GUI that helps users learn how Euler angles and other rotational data relate to one another.
  • 8.8K (All time)
  • 8 (Last 30 days)
  • 4.3 / 5
  • Community
  • 12 Sep 2012

Huygens-Fresnel integral approximation on the GPU

Version 2.0.0.0 by Dominik Hofer

Simulate electromagnetic wave propagation through free-form apertures, or off rough surfaces. Speed up the computation by using the GPU.

- - rotate vectors/points by Euler angles x -> y -> z
- - reshape three m-by-n matrices to a 3-by-(m*n) vector
- - reshape a 3-by-(m*n) vector to three m-by-n matrices
- - plot x- and y- slices of image data
- - use the Huygens-Fresnel principle to superpose phasors from
- - calculates the complex E field vector for every point
- - plot an objects surface in reference position
- - show the relations of various objects
- - create an empty figure with a single axis; set figure
- - add surface roughness to a plane
- - compute size, number of grid points and resolution
- - change all figure text interpreters to LaTex
- - check for basic inputs like the surface normal, the normal
- - compute the surface normals in every grid point
- - pad X by one element in each direction, maintain the
- - create an options structure, define some general
- - calculates the complex E field vector for every point on a
- - plot an objects surface in reference position
- - compute the effect of incident light on a surface
- - create a light source type structure
- - compute the ideal reflection of incident light in every
- - call the respective 'create' function
- - Compute the surface normal of a plane, given its
- - plot intensity
- - calculate sum of phasors
- - map a variable to GPU memory
- - evaluate a function of (x,y) to get a map of
- - return coordinate vectors and matrices
- - diplay time, runtime and a message string; depending on
  • 1.9K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 23 Oct 2020

Montalvo Models, Simulations and Scripts

Version 1.0.1 by Carlos Montalvo

This is my public repo of all my MATLAB Screen cast codes and other random codes written in MATLAB

bot to knock the other bot out of the screenTraffic - Simulate traffic on a multi-lane highwayColor_Illusions - A script to illustrate color illusionsProject Euler - Go Check out projecteuler.net - Here

- Problem 6 - Project Euler
- Problem 5 - Project Euler
- Exports figures in a publication-quality format
- 1 - D Beam Deflection with Finite Difference Method
- y = atan(x) from -1 to 1
  • 1.4K (All time)
  • 4 (Last 30 days)
  • 5.0 / 5
  • Community
  • 30 Jun 2023

Numerical Methods for Physics, 2e

Version 1.0.0.0 by Alejandro Garcia

Companion Software, physics, problem solving, companion software, numerical methods

- interp - Program to interpolate data using Lagrange
- balle - Program to compute the trajectory of a baseball
- orthog - Program to test if a pair of vectors
- Runge-Kutta integrator (4th order)
- sorter - Function to sort particles into cells
- lorenz - Program to compute the trajectories of the Lorenz
- colide - Function to process collisions in cells
- lsfdemo - Program for demonstrating least squares fit routines
- Function used by the N-variable Newton's method
- orbit - Program to compute the orbit of a comet.
- Returns right-hand side of Kepler ODE; used by Runge-Kutta routines
- Returns right-hand side of 3 mass-spring system
- relax - Program to solve the Laplace equation using
- schro - Program to solve the Schrodinger equation
- sampler - Function to sample density, velocity and temperature
- neutrn - Program to solve the neutron diffusion equation
- fftpoi - Program to solve the Poisson equation using
- Adaptive Runge-Kutta routine
- pendul - Program to compute the motion of a simple pendulum
- sprfft - Program to compute the power spectrum of a
- ftdemo - Discrete Fourier transform demonstration program
- mover - Function to move particles by free flight
- dsmceq - Dilute gas simulation using DSMC algorithm
- newtn - Program to solve a system of nonlinear equations
- dftcs - Program to solve the diffusion equation
- advect - Program to solve the advection equation
- Returns right-hand side of Lorenz model ODEs
- traffic - Program to solve the generalized Burger
- dsmcne - Program to simulate a dilute gas using DSMC algorithm
  • 12K (All time)
  • 1 (Last 30 days)
  • 4.5 / 5
  • Community
  • 21 Nov 2002

animEuler

Version 1.0.0.0 by Dmitry Savransky

Animate sets of Euler rotations using arbitrary Euler angles and rotation order.

[coordSys,as] = animEuler(h,rotSet,angs) animates the rotation of a dextral coordinate system using three arbitrary Euler angles (angs) about three axes (rotSet) in figure (h). rotSet is an array of

- animEuler animates sets of arbitrary Euler rotations.
  • 2.4K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 29 Apr 2009

OTT: Optical Tweezers Toolbox

Version 1.5.9 by Isaac Lenton

Toolbox for simulating optical tweezers

- calculates rotation matrix using Euler-Rodrigues formula.
- computes the re-normlaised beam waist for high-order
- estimates equilibrium positions from position-force data
- attempt to find and characterise traps from position-force data
- gennerate a beam with an annular far-field profile
- representation of a Bessel beam and Bessel-like beams with OAM
- gennerate a beam with an annular far-field profile
- constructs a T-matrix using the point matching method
- construct T-matrix from Mie scattering coefficients
  • 1.7K (All time)
  • 17 (Last 30 days)
  • 5.0 / 5
  • Community
  • 28 Jun 2022

sssMOR Toolbox

sssMOR is a MATLAB toolbox for model order reduction of large-scale dynamical systems in state-space

- simForwardEuler - Integrates sss model using forward (explicit) Euler
- simBackwardEuler - Integrates sss model using backward (implicit) Euler
- ISH2OPT - Evaluate Meier-Luenberger necessary conditions for H2-optimality
- SSRED - Reduced state-space LTI system (ssRed) class
- SIMRK4 - Integrates sss model using Runge-Kutta 4
- DIAG - Transforms an LTI system to (block)-diagonal representation
- EIG - Compute eigenvalues and eigenvectors of a sparse state-space model
- MODELFCTMOR - Model function-based model order reduction
- PORKV - Pseudo-Optimal Rational Krylov (Input)
- SSS - Create sparse state-space (sss) model, convert to sss model
- ISRK - Iterative SVD-Rational Krylov Algorithm
- runme - download third-party software and benchmark models
- LOADSSS - Creates an sss-object from .mat file data
- PORKW - Pseudo-Optimal Rational Krylov (Output)
- MTIMES - Computes the product of two LTI systems.
- LYAPCHOL - Solve Lyapunov equations
- EIGS - Compute eigenvalues of the sparse state space system using sparse matrices.
- SHIFTVEC - convert shift definition to single row notation
- SETDIFFVEC - Computes the difference between two unsorted vectors
- IRKA - Iterative Rational Krylov Algorithm
- SSS_GETTINGSTARTED - Introductory demo to sss toolbox
- MINUS - Computes difference of two sparse LTI systems.
- ISSD - Check strict dissipativity of sparse LTI system
- SSSMOR_GETTINGSTARTED - Introductory demo to sssMOR toolbox
- GETDESIREDOUTPUT - Get only the desired output from a function
- DONWLOADTHIRDPARTY - download additional software used by sss
- MODALMOR - Modal truncation order reduction of LTI systems
- ITERATIVEREFINEMENT - Use iterative LSE solver to refine LSE solution
- TBR - Performs model order reduction by Truncated Balanced Realization
- RKICOP - Rational Krylov with an iteratively calculated optimal point
- SECOND2FIRST - Convert a 2nd order system to state space representation
- CPLXPAIRALL - Sort arrays of complex numbers into complex conjugate pairs
- PLUS - Computes sum of two sparse LTI systems.
- ISMEMBERF2 - Determine which elements are within a radius
- CURE - CUmulative REduction framework
- DECAYTIME - Computes the time period in which a sparse LTI system levels off
- ISPD - Determines if a matrix is positive definite
- SPARK - Stability Preserving Adaptive Rational Krylov
- PARSEOPTS - Creates an optional struct after parsing
- BODETOFIG - Transforms MATLAB bode/step/impulse plot into normal figure
- SPY - Plot sparsity pattern of sss system
- GETSYLVESTER - Get matrices of Sylvester's equation for Krylov subspaces
- RESIDUE - Computes residues, poles and feedthrough of an LTI system
- PROJECTIVEMOR - Reduces dynamic model by projection
- PARTITION - Partitions a matrix into submatrices
- RKOP - Determination of optimal expansion point for Laguerre series
- CIRKA - Confined Iterative Rational Krylov Algorithm
- ARNOLDI - Arnoldi algorithm for Krylov subspaces with multiple shifts
- SOLVELSE - Solve linear system of equations
  • 1.4K (All time)
  • 4 (Last 30 days)
  • 5.0 / 5
  • Community
  • 11 Sep 2017

psssMOR Toolbox

psssMOR - A Parametric Sparse State-Space and Model Order Reduction Toolbox

- simBackwardEuler - Integrates sss model using backward (implicit) Euler
- simForwardEuler - Integrates sss model using forward (explicit) Euler
- ISH2OPT - Evaluate Meier-Luenberger necessary conditions for H2-optimality
- DIAG - Transforms an LTI system to (block)-diagonal representation
- runme - download third-party software and benchmark models
- ISRK - Iterative SVD-Rational Krylov Algorithm
- SSS - Create sparse state-space (sss) model, convert to sss model
- Model Order Reduction App for large-scale, sparse state-space models
- PORKV - Pseudo-Optimal Rational Krylov (Input)
- MODELFCTMOR - Model function-based model order reduction
- EIG - Compute eigenvalues and eigenvectors of a sparse state-space model
- PSSS - Create a parametric sparse state-space (psss) model
- LOADSSS - Creates an sss-object from .mat file data
- SIMRK4 - Integrates sss model using Runge-Kutta 4
- PORKW - Pseudo-Optimal Rational Krylov (Output)
- SSRED - Reduced state-space LTI system (ssRed) class
- SIMUPDATE - Update for simulation functions
- SYNTHETICPARAMETRICMODEL - SyntheticParametricModel benchmark
- MINUS - Computes difference of two sparse LTI systems.
- ISMEMBERF2 - Determine which elements are within a radius
- BODETOFIG - Transforms MATLAB bode/step/impulse plot into normal figure
- IRKA - Iterative Rational Krylov Algorithm
- RESIDUE - Computes residues, poles and feedthrough of an LTI system
- BASISTRANSFORMATION - Transform system matrices to another basis
- GETDESIREDOUTPUT - Get only the desired output from a function
- ISSD - Check strict dissipativity of sparse LTI system
- MICROTHRUSTERUNIT - MicrothrsusterUnit benchmark
- ISPD - Determines if a matrix is positive definite
- SHIFTVEC - convert shift definition to single row notation
- LYAPCHOL - Solve Lyapunov equations
- CIRKA - Confined Iterative Rational Krylov Algorithm
- FEMBEAM3D - FemBeam3D benchmark
- PARTITION - Partitions a matrix into submatrices
- SOLVELSE - Solve linear system of equations
- PARSEOPTS - Creates an optional struct after parsing
- RKICOP - Rational Krylov with an iteratively calculated optimal point
- SECOND2FIRST - Convert a 2nd order system to state space representation
- SSSMOR_GETTINGSTARTED - Introductory demo to sssMOR toolbox
- SPARK - Stability Preserving Adaptive Rational Krylov
- RKOP - Determination of optimal expansion point for Laguerre series
- LOADMICROTHRUSTERUNIT - Load the microthrusterUnit benchmark
- PARAMETRICTESTMODEL - Artificially constructed parametric test model
- PROJECTIVEMOR - Reduces dynamic model by projection
- SPY - Plot sparsity pattern of sss system
- CURE - CUmulative REduction framework
- ADAPTIVESAMPLING - Adaptive refinement of parameter sample points
- MODALMOR - Modal truncation order reduction of LTI systems
- simDiscrete - Integrates discrete time model
- LOADSYNTHETICPARAMETRICMODEL - Load the syntheticParametricModel benchmark
  • 393 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 12 Sep 2017

MatthewPeterKelly/Lagrange_Mechanics_Derivations

Version 1.0.0.0 by Matthew Kelly

Tutorial using Lagrange equations to derive equations of motion for mechanical systems.

  • 444 (All time)
  • 4 (Last 30 days)
  • 5.0 / 5
  • Community
  • 11 Dec 2015

Numerical Methods for Physics

Version 1.0.0.0 by Alejandro Garcia

Companion Software

- interp - Program to interpolate data using Lagrange
- rndoff - Demo program illustrating round-off error
- Adaptive Runge-Kutta routine
- balle - Program to compute the trajectory of a baseball
- fftpoi - Program to solve the Poisson equation using
- Adaptive Runge-Kutta routine
- traffic - Program to solve the generalized Burger
- orbrka - Program to compute the orbit of a comet
- sorter - Function to sort particles into cells
- Runge-Kutta integrator (4th order)
- pendul - Program to compute the motion of a simple pendulum
- orbec - Program to compute the orbit of a comet
- Function to compute 3 mass-spring system
- newtn - Program to solve a system of nonlinear equations
- orbe - Program to compute the orbit of a comet
- sftdemo - Discrete Fourier transform demonstration program
- jacobi - Program to solve the Laplace equation using
- spinview - Routine to rotate a 3D plot
- Function used by the N-variable Newton's method
- mover - Function to move particles by free flight
- galrkn - Program to solve the Poisson equation in
- sampler - function to sample density and velocities
- factn - Naive program for computing factorial
- dsmceq - Dilute gas simulation using DSMC algorithm
- lsftest - Program for testing least squares fit routines
- facts - Program for computing factorial
- dsmcne - Program to simulate a dilute gas using DSMC algorithm
- Function used by the N-variable Newton's method
- sprfft - Program to compute the power spectrum of a
- colide - Function to process collisions in cells
- aftcs - Program to solve the advection equation
- pendul - Program to compute the motion of a simple pendulum
- orbrk - Program to compute the orbit of a comet
- lorenz - Program to compute the trajectories of the Lorenz
- dftcs - Program to solve the diffusion equation
- schro - Program to solve the Schrodinger equation
- deriv - Program to compute the numerical derivatives of the
  • 6.3K (All time)
  • 2 (Last 30 days)
  • 4.4 / 5
  • Community
  • 30 Aug 2002

imMinkowski

Version 1.6 by David Legland

Measure of geometric parameters in 2D or 3D images (surface area, perimeter, Euler Number...)

formula)* the(2D) Euler NumberParameters available for 3D images are:* the volume,* the surface area (measured using the Crofton formula),* the surface area of the interface between two labels* the mean

- compute Euler-Poincare Characteristic (EPC) of a structure.
- Look-Up Table for computing mean breadth of a 3D image.
- Tests input points for coplanarity in 3-space.
- apply a lut to a gray-scale image.
- Look-Up Table for computing surface area of a 3D binary image
  • 4.6K (All time)
  • 1 (Last 30 days)
  • 4.9 / 5
  • Community
  • 11 Jan 2021

6 DoF Vehicle Model in Simulink

Version 2.0 by Srivatsan Srinivasan

Model for yaw studies. Discrete-time model, euler-fwd integration. RT code compile-able. All-wheel steer-drive. 2015-20 Matlab compatible.

  • 1.4K (All time)
  • 7 (Last 30 days)
  • 5.0 / 5
  • Community
  • 6 Jan 2021

Scripts and Models for Chapter 5 of the book - MATLAB/Simulink Essentials by Sulaymon ESHKABILOV

Version 1.0.0.0 by Sulaymon Eshkabilov

Models and scripts - solutions of various types ODEs of 1, 2, 3 and n-th order

The models and scripts given in this folder are solutions of ODEs of 1, 2, 3 and n-th order IVPs which highlight numerical solution search methods of ODEs via Euler, Adams, Adams-Moulton, Runge-Kutta

- HELP: HIRES_EM.m solves The HIRES problem with EULER-Forward method.
- FFun.m - function file is called for Runge-Kutta method
- HELP: HIRES_RK.m solves HIRES problem with Runge-Kutta method scripts
  • 215 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 21 Nov 2016

Load more