MATLAB: (input given as ?[?] = {1, 2,3} impulse given as ℎ[?] = {4,5,6} for 0 ≤ ? ≤ 2.) there is an error in the output..in sketching of y[n], we required a discrete in time signal but the output signal is continuous as seen clearly in screenshot below

n = 0:2; x =[1 2 3]; h=[4 5 6]; y=conv(x,h);
plot(y) xlabel('time axis'); title('output of a system'); ylabel('y axis')
Capture.PNG

Best Answer

stem(y);
Related Question