[X,y]=generate_data(DatasetFilenames,frameLength,Step,fs,Normalization,Balanced,problem);
时间: 2024-05-29 21:11:38 浏览: 65
As an AI language model, I can provide you with a basic understanding of the input parameters of the generate_data function in MATLAB.
DatasetFilenames: A cell array of filenames of audio files in the dataset.
frameLength: The length of the audio frame in seconds.
Step: The step size between consecutive audio frames in seconds.
fs: The sampling frequency of the audio.
Normalization: A boolean value indicating whether to normalize the audio signals or not.
Balanced: A boolean value indicating whether to balance the number of audio files in each class.
problem: A string indicating the type of problem, either classification or regression.
The output of the function is a set of feature vectors (X) and their corresponding labels (y).
阅读全文