zero‐padding at the end of the signals
36 ビュー (過去 30 日間)
Perform zero‐padding at the end of the signals in with shorter length such that the two signals will have the same length. Multiply the two signals. Plot and describe the resulting waveform.
I tried using my code however it says that "Arrays have incompatible sizes for this operation."
Please help me in correcting the codes. The output waveform should be similar in the image provided.
回答 (1 件)
Star Strider 2021 年 12 月 1 日
With this assignment:
the ‘y’ vector no longer has 220 elements, it now has 250.
To illustrate, this does not create one value equal to 42 , it creates a vector the last value of which is 42:
yv(5) = 42
So this result is entirely expected —
With the problem now defined, I defer to you for the solution.