===== Useful scripts and functions ===== * [[http://www.math.ntnu.no/emner/TMA4215/2011h/matlab/cardinal.m|cardinal.m]] -- Calculates the cardinal functions \ell_k(t). * [[http://www.math.ntnu.no/emner/TMA4215/2011h/matlab/euler.m|euler.m]] -- Solves ODEs using Euler's method. * [[http://www.math.ntnu.no/emner/TMA4215/2011h/matlab/gs.m|gs.m]] -- Solves systems of linear equations using Gauss--Seidel iteration. * [[http://www.math.ntnu.no/emner/TMA4215/2011h/matlab/impEuler.m|impEuler.m]] -- Solves ODEs using the improved Euler method. * [[http://www.math.ntnu.no/emner/TMA4215/2011h/matlab/lagrange.m|lagrange.m]] -- Lagrange polynomial interpolation. Uses ''cardinal.m''. * [[http://www.math.ntnu.no/emner/TMA4215/2011h/matlab/newton.m|newton.m]] -- Solves systems of nonlinear equations using Newton's method. Used together with ''newton_ex.m''. * [[http://www.math.ntnu.no/emner/TMA4215/2011h/matlab/newton_ex.m|newton_ex.m]] -- Example system of nonlinear equations and its Jacobian. Used together with ''newton.m''. * [[http://www.math.ntnu.no/emner/TMA4215/2011h/matlab/rk4.m|rk4.m]] -- Solves ODEs using the classical 4th order Runge--Kutta method. * [[http://www.math.ntnu.no/emner/TMA4215/2011h/matlab/stab.m|stab.m]] -- Plots the stabilty domain for a given stability function.