Post Go back to editing

ADI IIO Oscilloscope dBFS Scale


How do I calculate a power spectrum in dBFS scale from the data captured from plutosdr and ADI IIO scope in Matlab? Currently I'm doing 10*log10(abs(fft(samples_IQ)).^2/num_of_points), how do I scale this to dBFS

Thank you for the response

Modified question
[edited by: bhs09 at 4:32 PM (GMT 0) on 16 Mar 2020]