Introduction to MATLAB & SIMULINK: A Project Approach, Third Edition

Solutions to the problems formulated in this book are given in this chapter. Readers should work out these problems on a computer as they read the book. Most of the solutions are also given in the form of MATLAB m-files or Simulink systems in the software accompanying this book. The names of the appropriate m- or mdl-files are given with each solution. An indication of which call is to be used for the solutions in MATLAB can (in the case of m-files) be read out by entering help
You should make sure that the installed MATLAB search path (see Section 1.2.9) contains the folder with the files from the accompanying software.
|
| Problem 1 Define the following matrices or vectors according to MATLAB and classify the corresponding variables: |
|
|
| Problem 2
|
|
|
| Problem 3 From the vector construct a matrix N consisting of 6 columns where each contain |
|
|
| Problem 4 Check whether the row vector of Problem 3 can be joined onto the matrix N that was... |