optimization algorithms or any algorithms

조회 수: 5 (최근 30일)
RAYYAN
RAYYAN 2013년 8월 28일
Dear ALL
Hopefully you are keeping fine..
I need your help.
I want to generate a normal random sequence with mu=0 and sigma=1, and pass these sequence by filter as following:-
X=randn(1,100000); % generate normal random sequence.
A=[a1 a2 a3]; % the coefficients of the filter.
Y= filter(1,A,X); %The sequence after passed on the filter.
NOW, I have my Data set called C, which is correlated normal random sequence.
SO, I need to adjust the coefficients of the filter ( A ) to give me the best value of y when RC=RY.
RC=xcorr(C,100); % the correlation coefficient of my data set C;
RY=xcorr(Y,100); % the desired correlation coefficient of Y;
*Could please to help me how can I find the best value of A which make RY is near to RC value, by any optimization algorithm. * Thanks in advance
RAYYAN
  댓글 수: 5
Walter Roberson
Walter Roberson 2013년 8월 28일
Your purpose is to find the coefficients of a two (three?) pole filter that will best transform an uncorrelated normal distribution to match the correlated normal distribution C ?
RAYYAN
RAYYAN 2013년 8월 29일
Yes, exactly Mr.Walter
So, Could you please help me for that?

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

채택된 답변

Matt J
Matt J 2013년 8월 29일
You can solve for A algebraically using the Yule Walker equations
  댓글 수: 1
RAYYAN
RAYYAN 2013년 8월 30일
Thanks Matt
I will check it, and let you know..

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Digital Filtering에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by