Recent content by lcw1972

  1. L

    Matlab Code Help for x[n]=x(n2Ts)

    Hi, U mean I just use below code to plot it out? >> T=0.25; >> x=2*T*(A*sin(wo*n).3*(n>=0));
  2. L

    Matlab Code Help for x[n]=x(n2Ts)

    Homework Statement x(t)=4sin(0.5t).3u(t) x[n]=x(n2Ts) The 1st equation, x(t)=4sin(0.5t).2u(t) Code : >> A=2; >> wo=0.5; >> t=5:0.25:50; >> x=A*sin(wo*t).3*(t>=0); >> plot(t,x), grid on >> xlabel('t (s)'); ylabel('Amplitude(unit)') But the second one,x[n]=x(n2Ts), I don't know...
Back
Top