I took the FFT of a signal and am currently plotting amplitude (V) vs. frequency (Hz). I'd like to change the Y-Axis units to dB. How would I go about doing this? What would be the units?
It is from my understanding that:
dB = 10log10(power/reference_power)
= 20log10(voltage/reference_voltage)
= 20log10(amplitude/reference_amplitude) (units of amplitude is volts)
= 20log10(amplitude) (reference amplitude can be thought of as 1 Volt)
Is this the correct way to convert from amplitude to dB? Also, wouldn't this make the units be "dB (V)"?
Thanks!