Write an equation based in terms of singularity function and its piece wise function?

Gatsu

New member
Joined
Apr 8, 2020
Messages
1
1586359433099.png

I got;

y1(t) = 2u(t) - u(t-2) + u(t-4)- r(t-6)

Piece-wise function;

2 0<t<2
-1 2<t<4
1 4<t<6
2*(-t) 6<t<8

Is this correct ? If so can I use this information to plot it in Matlab?
 
Top