Discussion Overview
The discussion revolves around a homework problem involving the convolution of a cosine function with an impulse function in Matlab. Participants are attempting to plot the result and troubleshoot an error related to vector lengths.
Discussion Character
- Homework-related, Technical explanation
Main Points Raised
- One participant presents a Matlab code snippet for convolving a cosine function with an impulse function and encounters a vector length error during plotting.
- Another participant explains that the error arises because the vectors being plotted must be of the same length and references the behavior of the conv function in Matlab.
- A third participant expresses confusion about whether the issue lies with the conv function or the plot function.
- A subsequent reply asserts that the problem is with the user's understanding rather than the functions themselves, questioning the user's objectives.
- The original poster reiterates their intent to solve the homework question using Matlab.
Areas of Agreement / Disagreement
Participants do not reach a consensus on the nature of the problem, with some focusing on the technical aspects of the code and others on the user's understanding of the functions involved.
Contextual Notes
The discussion highlights potential misunderstandings regarding the output length of the conv function and its implications for plotting, but does not resolve these issues.