How to save regular audio files as variables with for loop?

1 view (last 30 days)
I want to save regular audio files as aa1.wav, aa2.wav ... aai.wav in a variable via audioread syntax.
For example,
load handel.mat
for i=1:2
Y{i} = audioread('aa1.wav');
end
How can I do?

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by