Finding duration of a signal

9 views (last 30 days)
Jessie Bessel
Jessie Bessel on 12 Apr 2018
Answered: Akira Agata on 18 Apr 2018
I have a signal which represent a shot sound with the following characteristics
In the Figure 1 is plot the Data. I think that they are data samples, right? Is there a method to see the signal "Data" in time domain? And can i find the duration of the sound?

Accepted Answer

Akira Agata
Akira Agata on 18 Apr 2018

Looking at your variable src1, SampleFrequency and Data length are 5000000 and 50000, respectively. So, assuming physical unit of SampleFrequency is [Hz], the duration of your signal should be 0.01 [sec] (= 50000/5000000).

More Answers (0)

Categories

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

Community Treasure Hunt

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

Start Hunting!