Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please show hhow to do part d in matlab 2. Look at the solution of the problem 2.1 (Solution to homework#2, or Appendix G of

image text in transcribedPlease show hhow to do part d in matlab

2. Look at the solution of the problem 2.1 (Solution to homework#2, or Appendix G of the text book): a) Show that the state space form of the EOM is: 22 K)x. b) Write a Matlab code (and function) using integration technique to find the system response under the following conditions: 1) Initial conditions: when t = 0, v 1 =1, x,-x,-0, v,--. II) Time span:t-0 to 13s. III) Consider the values of all coefficients to be 1, and fa-0 c) Write a Matlab code using the "initial" command to find the system response, with the same condition explained in part (b) d) Write a Matlab code using the "lsim" command and find the response. Use conditions of part (b) but consider the initial conditions to be all zero, and u-sin(3t)-cos(t) as input 2. Look at the solution of the problem 2.1 (Solution to homework#2, or Appendix G of the text book): a) Show that the state space form of the EOM is: 22 K)x. b) Write a Matlab code (and function) using integration technique to find the system response under the following conditions: 1) Initial conditions: when t = 0, v 1 =1, x,-x,-0, v,--. II) Time span:t-0 to 13s. III) Consider the values of all coefficients to be 1, and fa-0 c) Write a Matlab code using the "initial" command to find the system response, with the same condition explained in part (b) d) Write a Matlab code using the "lsim" command and find the response. Use conditions of part (b) but consider the initial conditions to be all zero, and u-sin(3t)-cos(t) as input

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

9th Edition

0135188148, 978-0135188149, 9781642087611

More Books

Students also viewed these Databases questions