Borrar filtros
Borrar filtros

how can extract data from txt file?

6 visualizaciones (últimos 30 días)
GreyHunter
GreyHunter el 6 de Oct. de 2020
I am trying to read a specific name from the text file which correspond to mseconds( for example Jim and John occurances) and depends of the timing correspond to the name I would like to extract an audio signal but only the specified mseconds which are read from the txt file.
my current code:
filename= 'test.txt';
[y, Fs]= audioread(filename);
cutData= y(((Fs*(652-1))+1:Fs*(767-1)/2-10,:);
plot(linspace(0.652,0.767,length(cutData)),cutData);

Respuestas (0)

Categorías

Más información sobre Measurements and Feature Extraction en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by