Error using Horzcat Dimensions

조회 수: 2 (최근 30일)
Angela Boone
Angela Boone 2021년 2월 4일
댓글: Stephen23 2021년 2월 4일
I am trying to write a code that investigates real-time processing of audio signals for the purpose of generating echos. I am getting the horzcat error. If someone can explain to me how to fix my dimensions, that would be greatly appreciated.

답변 (1개)

Walter Roberson
Walter Roberson 2021년 2월 4일
We do not know what m is, but it is not a vector or array with one row, so y is not being initialized to one row as needed by that horzcat.
I recommend that you make y a column vector and change the padding appropriately. column vector would prevent confusion and clashes with the fact that audio data is expected to be one column per channel.

카테고리

Help CenterFile Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by