Power calculation of various frequency components in a time varying signal

2 views (last 30 days)
Hi,
Just wanted to see if I am carrying out an apporporiate steps to achieve my aim.
I am have time varying signal x(t) or as defined in matlab "x" with multiple frequency components, which represents an electrical signal in mA. I am interested to see the resulting power contained at various frequencies in dBm or watts.
My method is as follows:
.to get the time varying power I write y=(x^2)*Resistance
.get the frequency spectrum of y as maybe yf=fft(y)
.and finally use yf to find the power at frequncies needed which should be in Watts
is this a correct method, if not what would you suggest.
Arsalan

Answers (1)

Daniel Shub
Daniel Shub on 13 Jan 2013
Seems reasonable enough.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!