Error using Horzcat Dimensions

2 vues (au cours des 30 derniers jours)
Angela Boone
Angela Boone le 4 Fév 2021
Commenté : Stephen23 le 4 Fév 2021
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 commentaire
Stephen23
Stephen23 le 4 Fév 2021
What size is m ?

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 4 Fév 2021
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.

Catégories

En savoir plus sur Audio I/O and Waveform Generation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by