[ Team LiB ] Previous Section Next Section

Additional Exercises

1:

Plot the following three curves on a single plot and a multiple plots (using the subplot command): 2 cos(t), sin(t), and cos(t)+sin(t). Use a time period such that two or three peaks occur for each curve. Use solid, dashed, and + symbols for the different curves. Use roughly 25–50 points for each curve.

2:

a. Calculate the rank, determinant, and matrix inverse of the following matrices (use help rank, help det, and help inv):

graphics/m01equ11.gif


3:

Find C·C–1 where

graphics/m01equ12.gif


4:

Calculate xTx, and calculate xxT where

graphics/m01equ13.gif


5:

Find the eigenvalues of the matrix

graphics/m01equ14.gif


6:

Find the solutions to the equation f(x) = 3x3 + x2 + 5x-6 = 0. Use roots and fzero.

7:

Integrate the equations, from t = 0 to t = 5

graphics/m01equ15.gif


with the initial condition x1(0) = x2(0) = 1. Use ode45 (Module 3) and plot your results.


    [ Team LiB ] Previous Section Next Section