clc; clearvars; close all; % loading data load data; % Normal, Asthma , .., --> that is variable which i used to store audio files in them overall_dataset =[Normal; Asthma; Pneumonia; BRON; COPD; HeartFailure];
Kshitij Singh answered .
2025-11-20
Unless the files are all the same sampling frequency and the same number of samples and the same number of channels, then I recommend
overall_dataset = {Normal; Asthma; Pneumonia; BRON; COPD; HeartFailure};
along with storing the sampling frequency for each in a numeric vector unless you know that they are all the same.