Measuring intensity of sound
Mostrar comentarios más antiguos
Hi All,
I have a wav file 100 seconds and I have another excel file where I marked some area of that wav file like 6 to 10, 15 to 18 seconds and so on. Now, I want to calculate the intensity parameters (like maximum , minimum, mean)of the marked area. Please give me a matlab code of how to do it.
Thanks
Respuestas (2)
Harry
el 30 de Oct. de 2014
Here is the code you need:
max_val = max(x);
min_val = min(x);
mean_val = mean(x);
Image Analyst
el 31 de Oct. de 2014
extractedSignal = fullSignal(index1:index2);
theMin = min(extractedSignal);
theMax = max(extractedSignal);
theMean = mean(extractedSignal);
2 comentarios
Odrisso
el 31 de Oct. de 2014
Image Analyst
el 31 de Oct. de 2014
You forgot to attach them so I can't do anything. Or I could spend my time to create something myself but I don't want to spend the time to do that when you could just attach yours in a few seconds of your time.
Categorías
Más información sobre Audio I/O and Waveform Generation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!