yugandar
Newbie level 1

dear friends
i am new to matlab and i am doing my ME Project for which i have to write a matlab code for the following signal
x(t)=A(1+B(u(t-t1)-u(t-t2))) Sin(wt)
where
t1<t2
and
u(t)=1 for t>=0
u(t)=0 for t<0
B=1
A=0.5
plz help me friends
i am new to matlab and i am doing my ME Project for which i have to write a matlab code for the following signal
x(t)=A(1+B(u(t-t1)-u(t-t2))) Sin(wt)
where
t1<t2
and
u(t)=1 for t>=0
u(t)=0 for t<0
B=1
A=0.5
plz help me friends