Search code examples
matlabmathwireless

how to calculate the power of a signal in MATALB?


I have a plot of my received signal, I do not have the equation of the signal. The signal is in time domain. also I have it in frequency domain by using fft() how can I calculate the power of this signal?


Solution

  • The power of a signal is the squared of this rms value. You can use: rms(signal)^2 where signal is your signal and rms() is a Matlab function