Toggle navigation
MATLAB ®
Tutorial I:
Under the terms of the GNU General Public License
GPL
the First Course in Differential Equations
Toggle navigation
MATLAB ®
Tutorial I:
Under the terms of the GNU General Public License
GPL
the First Course in Differential Equations, part 1.1: Miscellany
Email:
Prof. Vladimir Dobrushkin.
(Friday, September 20, 2019 11:03:36 AM)
Return to
Applied Mathematics - I
Applied Mathematics - II
Computing information for the first course APMA0330
Computing information for the second course APMA0340
Matlab tutorial page for the second course
MuPad page for the second course
MuPad page for the first course
Preface
Introduction
+
Installing Matlab
Getting started
Publishing files
Case sensitivity
Equal signs
Complex numbers
Arrays and vectors
Calculations
Logical operators
Functions
Matlab Commands
Chebfun
Solving equations
Derivative
Existence
Uniqueness
Picard iterations
Adomian iterations
Part I: Plotting
+
Plotting functions
Plotting solutions to ODEs
Discontinuous functions
Direction fields
Implicit plot
Parametric plots
Labeling figures
Figures with arrows
Electric circuits
Plotting with filling
Polar plot
Some famous curves
Cycloids
Miscellany
Part II: First Order ODEs
+
Solving first order ODEs
Singular solutions
Plotting solutions to ODEs
Direction fields
Separable equations
Autonomous equations
Equations reducible to the separable equations
Equations with linear fractions
Exact equations
Integrating factors
Function of
x
Function of
y
Function of
xy
Function of
x/y
Function of
x
² +
y
²
Common factors
Homogeneous factors
Special factors
Approximation of integrating factors
Linear equations
RC circuits
Bernoulli equations
Riccati equations
Qualitative analysis
Bifurcations
Landau theory
Validity interval
Orthogonal trajectories
Population models
Pursuit
Applications
Part III: Numerical Methods
+
Numerical solution using ode23 and ode45
Fixed point iteration
Bracketing methods
Secant methods
Padé approximation
Euler's methods
Backward method
Heun method
Modified Euler method
Runge--Kutta methods
Runge--Kutta methods of order 2
Runge--Kutta methods of order 3
Runge--Kutta methods of order 4
Polynomial approximations
Error estimates
Adomian Decomposition Method
Modified Decomposition Method
Finite Difference Schemes
Variational iteration method
Multistep methods
Multistep methods of order 3
Multistep methods of order 4
Milne method
Hamming method
Applications
Part IV: Second and Higher Order ODEs
+
Differential equations of higher order
Reduction higher order ODEs
Linear operators
Fundamental sets of solutions
General solutions
Complex roots
Reduction of order
Annihilator operators
Method of undetermined coefficients
Variation of parameters
Operator methods
Euler equations
Factorization
Inhomogeneous Euler equations
Part IV N: Nonlinear ODEs
+
Numerical solutions
Boundedness of solutions
Spring problems
Free vibrations
Damped vibrations
Forced vibrations
Resonance
Nonlinear models
Driven models
Pendulum
Simple pendulum
Solution of pendulum equation
Period of pendulum
Real pendulum
Driven pendulum
Rocking pendilum
Pumping swing
Dyer model
Electric circuits
Adomian Decomposition Method
Applications
Part V: Series and Recurrences
+
Recurrences
Discrete logistic recurrence
Generating functions
Lagrange Inversion Theorem
Review of power series
Convergence acceleration
Series solutions for the first order equations
Examples for first order ODEs
Series solutions for the second order equations
Examples for second order ODEs
Euler equations
Regular singular points
Distinct exponents
Equal exponents
Integer difference
Complex exponents
Polynomial solutions
Bessel's equations
Nonlinear ODEs
Picard iterations for the second order ODEs
ADM for first order ODEs
ADM for second order ODEs
Modified Decomposition Method
Part VI: Laplace Transformation
+
Definition of Laplace transform
Heaviside and Dirac functions
Laplace transform of discontinuous Functions
Table of Laplace transforms
Inverse Laplace transform
Convolution integral
Residue method
Solving IVPs with Laplace transform
Nonhomogeneous ODEs
ODEs with discontinuous input
Nonconstant coefficient IVP’s
Bessel functions
MLDM
Elzaki transform
Mechanical and Electrical applications
Part VII: Boundary Value Problems
+
Boundary Value Problems
Green functions
Picard iterations
Finite difference schemes
Shooting methods
Tridiagonal linear systems
Numerov method
Adomian Decomposition
Variational iteration method
Blasius layer
Falkner--Skan layer
Heat transfer
Singular BVPs
Glossary
Example:
Plotting multiple curves on one graph
Example:
**DESCRIPTION OF PROBLEM GOES HERE** This is a description for some MATLAB code. MATLAB is an extremely useful tool for many different areas in engineering, applied mathematics, computer science, biology, chemistry, and so much more. It is quite amazing at handling matrices, but has lots of competition with other programs such as Mathematica and Maple. Here is a code snippet plotting two lines (
y vs. x
and
z vs. x
) on the same graph. Click to view the code!
SHOW CODE
figure(1) plot(x, y, 'Color', [1 0 0]) %blue line hold on plot(x, z, 'Color', [0 1 0]) %green line
Copy
Two
n
-by-
n
matrices
A
and
B
are called
similar
if there exists an
invertible
n
-by-
n
matrix
S
such that