Clear Filters
Clear Filters

how to save two variables csv file

1 view (last 30 days)
sam aldoss
sam aldoss on 8 Oct 2018
how to save two variables csv file in matlab for x and t from wav file ,and do that for multiple wav file
I use this code to read the wav file
% load an audio file [x, fs] = audioread('a66.wav');
x = x(:, 1); % get the first channel N = length(x); % signal length t = (0:N-1)/fs; % time vector
save a66.csv x -ascii -double

Answers (0)

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!