Advertisement
Guest User

Untitled

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