- #1

magnifik

- 360

- 0

my transfer function is

m = 1;

b = 2;

k = 1000;

num = [ 1000 ];

den = [ m b k ];

transferfunction = tf(num, den)

so it's equal to H(s) = 1000/(s^2 + s + 1000)

i am given that the input is 1 from 0 < t < 10 and 0 elsewhere

i know that x(t) in terms if unit step is x(t) = U(t)*U(10 - t) ---

**how do i express this in MATLAB?**

after this, my plan is to do q = ilaplace(transferfunction) and conv(q, x) to get the output. is this a correct method?