Borrar filtros
Borrar filtros

output time measurements

1 visualización (últimos 30 días)
Sonia Wiemann
Sonia Wiemann el 23 de Abr. de 2012
I have a sound signal that has been gated with the code "signal=uint8(output>= .02);" This gives me a list of "0's" and "1's" the 1"s representing the length of pulses in the sound signal. "0" = noise. I have assigned time points with the code "plot((0:length(signal)-1)/44.1, signal); The sampling rate is 44.1 samples in a mS. How could I tell the program to tell me the length of "1" values in mS so I do not have to manually count samples? There would be more than one section of "1's" in the signal.

Respuestas (0)

Categorías

Más información sobre Audio I/O and Waveform Generation 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