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.

 채택된 답변

Honglei Chen
Honglei Chen 2012년 1월 6일

0 개 추천

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

댓글 수: 3

zozo
zozo 2012년 1월 6일
signal=sin(2*pi*200*t)+randn(size(t)); % freq 200 Hz,
fs=1000;
Honglei Chen
Honglei Chen 2012년 1월 6일
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 2012년 1월 6일
got it..thank you

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

vijay
vijay 2013년 10월 31일

0 개 추천

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

카테고리

질문:

2012년 1월 6일

답변:

2013년 10월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by