WOLFRAM NOTEBOOK

In[]:=
SetOptions[FourierTransform,FourierParameters{1,-1}];
In[]:=
(*Q6*)(*H(t)istheunitstepfunction.thereforethisisanaccumulator*)
In[]:=
xt[τ_]=Piecewise[{{0,τ<1||τ>3},{1,3>τ>1}}];(*INPUT*)ht[τ_]:=UnitStep[τ](*ImpulseResponseH(t)*)yt[τ_]:=Convolve[ht[x],xt[x],x,τ]Plot[yt[τ],{τ,-10,10},PlotRangeAll]
Out[]=
In[]:=
In[]:=
Manipulate[Show[Plot[{ht[(t-τ)],xt[τ]},{τ,-10,10},PlotRangeAll,PlotStyle{Orange,Black,Dashed},FillingBottom,PlotLabelStyle[StringForm["Convolved value at t = ``, y [ t ] = ``",t,N[yt[t],2]],Red,Bold,Larger]],Plot[yt[c],{c,-10,t}]],{{t,1.1},-5,7}]
Out[]=
t
Convolve[ht[τ],xt[τ],τ,y]
Out[]=
2
y3
-1+y
1<y<3
0
True
In[]:=
(*Plot[xt[τ]-yt[τ],{τ,-5,5},PlotRangeAll]*)
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.