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 singlefrequency 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 kwave have considered this phenomenon and how to solve this problem.
kWave
A MATLAB toolbox for the timedomain
simulation of acoustic wave fields
Question about influence of zero values of signal of extractAmpPhase function
(2 posts) (2 voices)
Posted 5 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 4 months ago #
Reply
You must log in to post.