What is the output of the following code? [code]a=con([1 2],[1 2]); b=cconv([1 2],[1 2]);[/code]

Vy Bùi

New member
What is the output of the following code?
Code:
a=con([1 2],[1 2]);
b=cconv([1 2],[1 2]);
A. a=b
B. a<b
C. a>b
D. a!=b
 
Answer: a
Explanation: Circular and linear convolution produce the same equivalent results in MATLAB and hence the correct option is a=b. This can also be checked from the tabular method for linear and circular convolution.
 

Tìm kiếm

Back
Top