Hi everyone,
I found that if there are some zero values in the front of the signal, the amplitude of fft will be reduced,in the case of a single-frequency signal.
I want to study the propagation of the sound field of the parametric array loudspeaker. I set up sensors at each point of the axial direction,and use extractAmpPhase function to calculate the sound pressure of the difference frequency.
But the sensor signals which are far away from the source will have some zero values before the sound propogates there, which affects the computation of the sound pressure value of the difference frequency.
I have read the sourcecode of this function,and it seems that it doesn't remove the zero values at the beginning of the signal.I would like to ask if k-wave have considered this phenomenon and how to solve this problem.
k-Wave
A MATLAB toolbox for the time-domain
simulation of acoustic wave fields
Question about influence of zero values of signal of extractAmpPhase function
(2 posts) (2 voices)-
Posted 9 months ago #
-
The assumption of this function is that you’re sampling a periodic signal. Take a look at the “Heating By A Focused Ultrasound Transducer” example to see how you can change when to start recording (so you skip the zeros at the beginning) and how to set the sampling appropriately.
Posted 8 months ago #
Reply
You must log in to post.