Hello,
I have a random signal 'x' of matrix dimensions 100x5000 i.e. I have 100 signals of 5000 samples each with fs=1000.
I want to find the power of these 100 signals and plot them versus angle(1:100) to view meshplot of the beam pattern.
How can I go about doing this? Please help.

 Akzeptierte Antwort

Honglei Chen
Honglei Chen am 6 Jan. 2012

0 Stimmen

What kind of signal you have? If you have a signal of WSS, you can probably use var directly.
doc var

3 Kommentare

zozo
zozo am 6 Jan. 2012
signal=sin(2*pi*200*t)+randn(size(t)); % freq 200 Hz,
fs=1000;
Honglei Chen
Honglei Chen am 6 Jan. 2012
Then you can to do var(signal-sin(2*pi*200*t). You need to be careful when you interpret the result because this way you measure the power of noise. Hence, at your desired location, you actually have least noise power.
zozo
zozo am 6 Jan. 2012
got it..thank you

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

vijay
vijay am 31 Okt. 2013

0 Stimmen

do u have cmplete code for this ...write here

Gefragt:

am 6 Jan. 2012

Beantwortet:

am 31 Okt. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by