I am really new to use Matlab, can somebody help me?
Write a function in Matlab that generates the output y(t):
I did not study Matlab before, but I have to use Matlab to solve EE question. The following is my cord.
Please help me:
function u1=unit_step(x) if x>=0 u1=1; else u1=0; end function u2=unit_step(x) if x>=t u2=0; else u2=1; end f = @(x) (x-t).*exp(x-t).*u1.*x^2.*exp(-x).*sin(x).*u2 Q = integral(f,-Inf,Inf)
———————Error using HW2_7 (line 2) Not enough input arguments.
Best Answer