Question: Please show the MATLAB coding for the Lab portion. Skill-Assessment Exercise 3.2 PROBLEM: Represent the translational mechanical system shown in Figure 3.9 in state space,
Please show the MATLAB coding for the Lab portion.
Skill-Assessment Exercise 3.2 PROBLEM: Represent the translational mechanical system shown in Figure 3.9 in state space, where x3(t) is the output. 1 N/m IN-s/m -X2(1) -X3(1) 1 N/m 1 N-s/m si kg 10000 kg 0000 4 1 kg f) A FIGURE 3.9 Translational mechanical system for Skill-Assessment Exercise 3.2 ANSWER: 0 1 0 0 0 0 0 - 1 -1 0 1 0 0 1 0 0 0 1 0 0 = Z + 0 ft 0 0 1 -1 -1 1 0 0 0 0 0 1 0 0 0 1 0 -1 0 y=[0 0 0 0 1 012 where z = [X1 i1 x2 iz x3 i3]" Experiment 3.2 Objectives To learn to use MATLAB and the Symbolic Math Toolbox to (1) find a symbolic transfer function from the state-space representation and (2) find a state-space representation from the equations of motion. Minimum Required Software Packages MATLAB, the Symbolic Math Toolbox, and the Control System Toolbox Prelab 1. Perform Prelab 1 and Prelab 2 of Experiment 3.1 if you have not already done so. 2. Using the equation T(s) = C(sI A)-'B to find a transfer function from a state-space representation, write a MATLAB program using the Symbolic Math Toolbox to find the symbolic transfer function from the state-space representation of the translational mechanical system shown in Skill-Assessment Exercise 3.2 and found as a step in Prelab 1. 3. Using the equations of motion of the translational mechanical system shown in Skill-Assessment Exercise 3.2 and found in Prelab 1, write a symbolic MATLAB X3(s) program to find the transfer function, for this system. F(s)' Lab 1. Run the programs composed in Prelabs 2 and 3 and obtain the symbolic transfer functions by the two methods. Skill-Assessment Exercise 3.2 PROBLEM: Represent the translational mechanical system shown in Figure 3.9 in state space, where x3(t) is the output. 1 N/m IN-s/m -X2(1) -X3(1) 1 N/m 1 N-s/m si kg 10000 kg 0000 4 1 kg f) A FIGURE 3.9 Translational mechanical system for Skill-Assessment Exercise 3.2 ANSWER: 0 1 0 0 0 0 0 - 1 -1 0 1 0 0 1 0 0 0 1 0 0 = Z + 0 ft 0 0 1 -1 -1 1 0 0 0 0 0 1 0 0 0 1 0 -1 0 y=[0 0 0 0 1 012 where z = [X1 i1 x2 iz x3 i3]" Experiment 3.2 Objectives To learn to use MATLAB and the Symbolic Math Toolbox to (1) find a symbolic transfer function from the state-space representation and (2) find a state-space representation from the equations of motion. Minimum Required Software Packages MATLAB, the Symbolic Math Toolbox, and the Control System Toolbox Prelab 1. Perform Prelab 1 and Prelab 2 of Experiment 3.1 if you have not already done so. 2. Using the equation T(s) = C(sI A)-'B to find a transfer function from a state-space representation, write a MATLAB program using the Symbolic Math Toolbox to find the symbolic transfer function from the state-space representation of the translational mechanical system shown in Skill-Assessment Exercise 3.2 and found as a step in Prelab 1. 3. Using the equations of motion of the translational mechanical system shown in Skill-Assessment Exercise 3.2 and found in Prelab 1, write a symbolic MATLAB X3(s) program to find the transfer function, for this system. F(s)' Lab 1. Run the programs composed in Prelabs 2 and 3 and obtain the symbolic transfer functions by the two methods
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
