MATLAB Tutorial
MATLAB Tutorial
1 Problems
This section focuses on solving the transport problems numerically, the next
section has some basics to know for solving these equations using MATLAB.
1
Fig. 2: Falling Film on an Inclined Surface
Below are some of the important aspects necessary while solving ODEs:
• The keywords, function and end, are used to specify starting and ending
of the function.
• name: Stores the return value.
2
2.2 ODE Solver
bvp4c: A MATLAB function used to solve 2 point BVPs. These are the major
types of BVPs which we have seen in the course and tutorials.
It has 3 arguments viz. ODE System to be solved (provided using a function),
Boundary Conditions and Initial Guess Value.
An example of a such kind of BVP: y ′′ + y ′ = y, y(0) = 0, y ′ (0) = 0 (1)