Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ES 3011 C-2018
- Lab #1: Introduction to MATLAB and Simulink
- INTRODUCTION
- In this lab, you and a partner will follow a set of instructions outlined and learn the basics of MATLAB
- and Simulink. This session is geared for you to become comfortable and knowledgeable with this
- software for use in future labs.
- Please have the following outline for your report:
- 1. A few sentences of introduction of the topic of the lab.
- 2. Your code from MATLAB.
- 3. Screenshots of your final Simulink Model.
- 4. A paragraph concluding the report explaining the goals, what you learned, and any other
- conclusions.
- MATLAB TUTORIAL
- 1. Go to CANVAS and open the MATLAB_Tutorial File
- 2. Read and go through exercises from Chapter 1, 2, and 3 through ‘Identity Matrix’, but skip 3D
- Plotting, multi-dimensional arrays, and structures as we won’t need this.
- 3. Create a script in MATLAB that does the following:
- a. Adds two 3x3 Identity matrices and multiplies that result by the vector [
- 1
- 2
- 3
- ].
- b. Plots the function y=sin(t) from 0 to 10 seconds with labeled axes and a title.
- c. Finds the roots of 𝑠
- 4 + 3𝑠
- 3 − 15𝑠
- 2 − 2𝑠 + 9. Hint: First declare ‘s=tf(‘s’)’ and use
- zero(_yourFunction_) to find the roots.
- 4. Take screenshots of outputs.
- 5. Copy and Paste your code from MATLAB.
- SIMULINK TUTORIAL
- 1. Go to CANVAS and open the Simulink_Tutorial File.
- 2. Start with Chapter 2 and read through the basics of Simulink. No submission needed from this
- section.
- 3. In Chapter 3, follow through the tutorial and take a screen shot of the final Simulink model.
- Make sure your screen shot has the time and date displayed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement