What is the dimension of the output? [code]conv([1;2],[1;2])[/code]

Answer: a
Explanation: The dimension of the output is sum of the dimensions of length of each input-1. The dimension of each is 1*1 so the output will have 1 row but the length of columns is 2+2-1 which is equal to 3. Hence, option 1*3 is correct only.
 

Tìm kiếm

Back
Top