After what instant in time will the signal output become zero? [code]p=conv([ones(1,100)],[ones(1,50),zeros(1,50)]);[/code]

After what instant in time will the signal output become zero?
Code:
p=conv([ones(1,100)],[ones(1,50),zeros(1,50)]);
A. 150
B. 149
C. 151
D. Error
 
Answer: b
Explanation: The graphical convolution gives an intuitive method to realize such cases. We observe that the second vector completely overlaps the first vector at an instant of 100 units in time. Now since we’ve flipped the second vector, we observe that the pulse of ones leaves the first vector at the instant of 149 units in time and we’re left with zeros. From here on, the output becomes 0 and hence, the correct option is 149.
 

Tìm kiếm

Back
Top