Error converting Logical to Char (Horzcat Error)

1 visualizzazione (ultimi 30 giorni)
kaushal karande
kaushal karande il 18 Gen 2021
Commentato: angry paul il 20 Apr 2021
afe = audioFeatureExtractor( ...
'SampleRate',fs, ...
'FFTLength',512, ...
'Window',hann(frameSamples,'periodic'), ...
'OverlapLength',frameSamples - hopSamples, ...
'barkSpectrum',true);
numBands = 50;
setExtractorParams(afe,'barkSpectrum','NumBands',numBands,'WindowNormalization',false);
In this line of code, I am receiving an error of converting logical to char (Horzcat error). How to solve this issue?
  7 Commenti
Walter Roberson
Walter Roberson il 20 Apr 2021
For example the user might have had
barkSpectrum' true);
when
barkSpectrum',true);
was needed.
angry paul
angry paul il 20 Apr 2021
sorry,I didn't miss the comma before the true,but I am still receiving an error of converting logical to char (Horzcat error).

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Matrices and Arrays in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by