I have collected some data of pressure distribution of an acoustic field along an axis, i.e. Pressure_vs_distance, at a specific source frequency (Let's say 0.5 MHz). Now, I want to obtain the frequency components of this data (which will be n*0.5 MHz) but every code I try, I can't extract those frequencies and the FFT diagram is like a vertical line at zero. The data and figure are provided below. Could you please help me to see what's wrong?
P.S: My own guess is the number of axial data. But, even when I increased it, the result didn't change (shape of the fft diagram).
Pressure (MPa) _vs_axial distance (cm)
data (Size~ 2 Mb): https://ufile.io/wjhlo
L=length(y);
dx=9.43479300064157e-05;
fs=1/dx;
out=fft(y,L)/L;
figure
plot(fs/2*linspace(0,1,(length(out)/2)+1),abs(out(1:(length(out)/2)+1)))
title('One sided Spectrum')
xlabel('Normalized frequency')
ylabel('Magnitude')