Hilbert transform of a bandpass signal I have a bandpass signal x. I am taking hilbert transform of it. I want to reconstruct amplitude and phase of the signal.Therefore, i am using Hilbert transform.

hil = hilbert(x);

f = ?

amp = abs(hil);

figure, plot(f,abs(hil);

phase = angle(hil);

figure, plot(f,angle(hil)


Here how to define the frequency axis, so i can get the amplitude graph 's length equal to my bandwidth. Moreover, is this the correct way for amplitude and phase reconstruction? My bandwidth is here 40 KHz. Thank you everyone in advance
You need to use a bank of bandpass filters before applying the Hilbert transform to get per frequency band amplitude and phase change over time.