Matlab
Assignment 5: transfer function for solving ODE
Derive the differential equation for the following mass spring damper mechanism, Find the transfer
function; find its step input. Find the max overshoot, settling time, rise time.
𝑚 = 10, 𝑘2 = 3 𝑎𝑛𝑑 𝑡ℎ𝑒 𝑑𝑎𝑚𝑝𝑖𝑛𝑔 𝑐𝑜𝑒𝑓𝑓𝑖𝑐𝑒𝑛𝑡 𝑖𝑠 𝑐 = 1
Determine the transfer function of the following diagram using MatLab, where
𝐺1 = 𝐺2 = 𝐺3 = 𝐺5 = 𝐺5 = 𝐺6 = 1
2𝑠 + 10
And 𝐻1 = 𝐻2 = 1
𝑠+0.1
Find the block reduction using matlab commands, then ind the step response of the system.