How can i store multiple audio files in a variable ?

Technical Source
1 min readMar 19, 2024

--

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];

NOTE:-

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help , Finance Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

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.

SEE COMPLETE ANSWER CLICK THE LINK

--

--

Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.