필터 지우기
필터 지우기

variance equation of a white noise

조회 수: 3 (최근 30일)
Mona
Mona 2014년 11월 21일
댓글: Mona 2014년 11월 22일
Hi everyone,
I hope someone can answer this difficult question for me:
I am trying to implement a STFT transform algorithm on a noisy speech. I read a white noise wave and after preforming the STFT, I called D. Now, I need to solve this equation in matlab:
λd(k) = E{|Dk|^2}
I searched the net and found that this E is the variance function in matlab. But how do I calculate this function? Do I just take average of my D matrix and then square it and then subtract the kth element from it? or do I take the average and subtract the kth element squared?
Please help!!!
  댓글 수: 1
Star Strider
Star Strider 2014년 11월 22일
What are ‘d(k)’ and ‘Dk’? How do they relate to each other?
What are you solving for?

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

채택된 답변

Image Analyst
Image Analyst 2014년 11월 22일
If λd(k) depends on k, then what are you averaging over when you take the expected value? If you average over k to get the expected value, then λd(k) can no longer depend on k. Maybe you simply want
d = var(D);
  댓글 수: 1
Mona
Mona 2014년 11월 22일
No, I don't think my Lambda is dependent on K... I think I just need var(D)....Let me try..
Thanks to all

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

추가 답변 (1개)

Youssef  Khmou
Youssef Khmou 2014년 11월 22일
you can program E or use var function,
%var(x,0)
%var(x,1)

Community Treasure Hunt

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

Start Hunting!

Translated by