# Thread: help me to plot this equation in Matlab....

1. ## help me to plot this equation in Matlab....

this is a differential equation...and taking the inverse laplace transform it became a step function....

this is the function...

y(t) = 1/2[(sin2(t-1)u(t-1)/2)+cos(2t)]

2. Originally Posted by thegeniusguy
this is a differential equation...and taking the inverse laplace transform it became a step function....

this is the function...

y(t) = 1/2[(sin2(t-1)u(t-1)/2)+cos(2t)]

> t=0:0.1:10;
> plot(t,y)                                                                            -->