MATLAB Answers

Computation of Signal power

1 view (last 30 days)
Jayant chouragade
Jayant chouragade on 29 Oct 2020
Commented: Sindar on 30 Oct 2020
Hi,
I am bit confused in computing power of a guassian pulse modulated signal.
Fc=50e6;
t=0:1/Fs:255/Fs;
tau1=400e-9;
tau2=80e-9;
St=sin(2*pi*Fc*t).*exp(-4*pi*(((t-tau1)/tau2).^2));
At present I am computing power as below:
Power=mean(St.^2,2);
Is it right? or am missing something.
Looking forward to your comments and suggestions.

  1 Comment

Sindar
Sindar on 30 Oct 2020
Definitions of power vary by field. A few things:
  • currently, your power will change if you alter sampling rate. This should fix that:
Power=mean(St.^2,2)/Fs^2;
  • sometimes, "power" means total energy, not energy per time. Use sum in that case
  • This signal is effectively zero for most of it's duration. If this is a single pulse (vs a periodic signal), average energy depends on your choice of sampling duration

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!