필터 지우기
필터 지우기

output time measurements

조회 수: 1 (최근 30일)
Sonia Wiemann
Sonia Wiemann 2012년 4월 23일
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.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by