Question: Matlab help, code want run eval command Calculate and plot the total response of the spring mass damper system with m = 1 0 0
Matlab help, code want run eval command
Calculate and plot the total response of the springmassdamper system with m kgzeta and k Nm to the signal defined by
with maximum force of N Assume that the initial conditions are zero, and let T pi s
Here is my code:
clcclear,close all;
m ;
c ;
k ;
T pi;
syms s t
exprexpsttT;
exprexpstTtT;
F exppisintexprtpiintexprtpipi;
X Fmscsk;
x simplifyilaplaceX;
t ::;
xn evalx;
plottxn
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
