Study the autocorrelation function

In summary, the conversation is about finding the autocorrelation function and the use of free e-books to study it. The participant also discusses a specific equation and asks for help in finding its solution through the application of fundamental theorems of calculus. The expert advises on how to solve the equation and suggests finding the autocorrelation for arbitrary values of n. The conversation ends with the participant asking about the autocorrelation of two different functions.
  • #1
T.Engineer
87
0
I would like to know how to find the autocorrelation function.
If there are any links for free e-books that can I downloaded to study the autocorrelation function and its properties in details.
Thanks!
 
Physics news on Phys.org
  • #3
  • #5
I am going to find the autocorrelation function for the following equation
Hn(t)= (-1)^n * e^(t^2)* d^n/dt^n * e^(-t^2)

So, I didnt find the previous links can help me to solve this problem.
 
Last edited:
  • #6
You need to solve

Lims-->0-ss Hn(t)Hn(t+s)ds / (2s).

Note,
-ss Hn(t)Hn(t+s)ds = ∫t-zz-t Hn(t)Hn(z)dz
 
Last edited:
  • #7
You need to solve

Lims-->0∫-ss Hn(t)Hn(t+s)ds / (2s).

Note,
∫-ss Hn(t)Hn(t+s)ds = ∫t-zz-t Hn(t)Hn(z)dz


but I want to understand why you suggest this. I want to understad exactly by steps how can I find a solution.
Thanks alot.
 
  • #9
Thanks a lot EnumaElish!
I will try to read these and I will reply you.
Thanks alot.
 
  • #10
EnumaElish said:
You need to solve

Lims-->0-ss Hn(t)Hn(t+s)ds / (2s).

Note,
-ss Hn(t)Hn(t+s)ds = ∫t-zz-t Hn(t)Hn(z)dz

I couldn't solve the equation
t-zz-t Hn(t)Hn(z)dz

may be I should to follow such courses that explain Autocorrelation function or may be I must make reveiw for the integrals.
I want to advise me, please.
 
  • #11
For starters,

∫Hn(t)Hn(z)dz = Hn(t)∫Hn(z)dz.

Then, insert Hn(z) = (-1)^n * e^(z^2)* d^n/dz^n * e^(-z^2). Now you have:

Hn(t)∫(-1)^n * e^(z^2)* d^n/dz^n * e^(-z^2)dz = Hn(t)(-1)^n ∫e^(z^2)* fn(z) dz

where fn(z) = d^n/dz^n * e^(-z^2).

You need to work on solving ∫e^(z^2)* fn(z) dz.
___________________
CORRECTION: Lims-->0-ss Hn(t)Hn(t+s)ds should have been LimT-->0-TT Hn(t)Hn(t+s)ds.

Then, defining z = t+s, we have-TT Hn(t)Hn(t+s)ds = ∫-TT Hn(t)Hn(z)dz.

This does not change the substance of the advice I have given until now.
 
Last edited:
  • #12
EnumaElish said:
For starters,

∫Hn(t)Hn(z)dz = Hn(t)∫Hn(z)dz.

Then, insert Hn(z) = (-1)^n * e^(z^2)* d^n/dz^n * e^(-z^2). Now you have:

Hn(t)∫(-1)^n * e^(z^2)* d^n/dz^n * e^(-z^2)dz = Hn(t)(-1)^n ∫e^(z^2)* fn(z) dz

where fn(z) = d^n/dz^n * e^(-z^2).

You need to work on solving ∫e^(z^2)* fn(z) dz.
___________________
CORRECTION: Lims-->0-ss Hn(t)Hn(t+s)ds should have been LimT-->0-TT Hn(t)Hn(t+s)ds.

Then, defining z = t+s, we have-TT Hn(t)Hn(t+s)ds = ∫-TT Hn(t)Hn(z)dz.

This does not change the substance of the advice I have given until now.



let g(z)=∫e^(z^2)* fn(z) dz
for n = 1

fn(z)= d/dz e^-(z^2)= -2 z e-(z^2)
So, g(z) = ∫-2 z * e^(z^2)* e-(z^2) dz
= ∫-2 z *e^[(z^2)-(z^2)] dz
= ∫-2 z dz
=-z^2

is not that true?
 
  • #13
Your calculation looks right.

Now you need to put in the integration limits (-T, T), multiply with Hn(t)(-1)^n, then take the limit T --> 0.
 
  • #14
Now you need to put in the integration limits (-T, T), multiply with Hn(t)(-1)^n, then take the limit T --> 0.[/QUOTE]

we have fn(z) = -Z^2 for n =1
by multiplying it by (-1)^n
we will have Z^2
by multiplying it by Hn(t),
where Hn(t)= (-1)^n * e^(t^2)* d^n/dt^n [e^-(t^2)]
Then, we will have:
Z^2 * (-1)^n * e^(t^2)* d^n/dt^n [e^-(t^2)], where z = t+s
So, how I will find the integral and I have two variables (t and Z)??
Can you help me, Please.
 
Last edited:
  • #15
Remember, the integral is a definite integral. It has limits "from -T to T." You need to evaluate the integral according to the limits.

Before you multiply the integral with Hn(t), you need to apply the integ. limits to -z^2. This will make z "disappear." The z^2 will be replaced with a quadratic function of T, say q(T).

Do you understand what q(T) is? Can you derive it explicitly?
 
  • #16
EnumaElish said:
Remember, the integral is a definite integral. It has limits "from -T to T." You need to evaluate the integral according to the limits.

Before you multiply the integral with Hn(t), you need to apply the integ. limits to -z^2. This will make z "disappear." The z^2 will be replaced with a quadratic function of T, say q(T).

Do you understand what q(T) is? Can you derive it explicitly?

OK, I will have:
-z^2[tex]\left|^{T}_{-T}[/tex]
then I will get
-(T)^2 - [- (-T)^2]= 0
So, the autocorelation for
Hn(t)Hn(t+s)ds = 0

is that true!
 
Last edited:
  • #17
It seems to be true for n=1.

Can you solve the general case for arbitrary n?
 
  • #18
EnumaElish said:
It seems to be true for n=1.

Can you solve the general case for arbitrary n?

Actually, this is exactly what I am going to ask you about.
So, can you just help me a little bit?
And I have another question:
What about the autocorrelation of
Hn(t)Hm(t)dt , where m not equal to n
 
  • #19
I cannot see the LaTex equation for m. There seems to be a typesetting error.

EDIT: I can see it now.

For the Hn(t)Hn(t+s) case, you need to work on solving ∫e^(z^2)* fn(z) dz for arbitrary n.

The Hn(t)Hm(t)dt case is not a regular AC function. Go back to the MathWorld link (http://mathworld.wolfram.com/Autocorrelation.html) and review the definition. The AC function has a single argument (a single function), for example, ac(t) = AC(Hn(t)) or equivalently ac = AC(Hn). What you are proposing has two arguments, Hn and Hm. So it doesn't fit the definition of AC.
 
Last edited:
  • #20
when I written:the autocorrelation of Hn(t)Hm(t)dt
I meant that what about the autocorrelation function between the first derivative of H(t) and the second derivative of H(t)
Such as :
the autocorrelation function of H1(t)H2(t).
Thanks alot!
 
  • #21
EnumaElish said:
I cannot see the LaTex equation for m. There seems to be a typesetting error.

EDIT: I can see it now.

For the Hn(t)Hn(t+s) case, you need to work on solving ∫e^(z^2)* fn(z) dz for arbitrary n.

The Hn(t)Hm(t)dt case is not a regular AC function. Go back to the MathWorld link (http://mathworld.wolfram.com/Autocorrelation.html) and review the definition. The AC function has a single argument (a single function), for example, ac(t) = AC(Hn(t)) or equivalently ac = AC(Hn). What you are proposing has two arguments, Hn and Hm. So it doesn't fit the definition of AC.


for n=1
∫e^(z^2)* fn(z) dz = -z^2
for n=2
∫e^(z^2)* fn(z) dz = [tex]\frac{3}{4}[/tex] z^3

So, should I continue for n=3,4,5,...
 
  • #22
T.Engineer said:
when I written:the autocorrelation of Hn(t)Hm(t)dt
I meant that what about the autocorrelation function between the first derivative of H(t) and the second derivative of H(t)
Such as :
the autocorrelation function of H1(t)H2(t).
Thanks alot!
The AC function has a very specific definition; and it is defined for a single parent function.

I am going to look at your question that way. You can write the AC function of H1*H2 by following the general definition of AC for function F:

ACF(t) = LimT--->0 -TT F(t) F(t+s) ds / (2T)

and making the substitution F = H1*H2.
 
Last edited:
  • #23
T.Engineer said:
for n=1
∫e^(z^2)* fn(z) dz = -z^2
for n=2
∫e^(z^2)* fn(z) dz = [tex]\frac{3}{4}[/tex] z^3

So, should I continue for n=3,4,5,...
You can continue and hope that you will "see" the general solution eventually by induction and guesswork. But the more direct approach is to try to solve the general case algebraically.
 
  • #24
The correlation is equal to the average of the product of two random variables and is defined as
cor(X,Y) = E[XY]
= ∫∞ −∞∫∞ −∞ xyf(x,y)dxdy

So, if the above equation seems to be correct, then I can define H1(t) as X and H2(t) as Y.
Can I work like this depending on the above?


And for a given set of variables, we use the correlation coefficient to give us the linear relationship between our variables. The correlation coefficient of two variables is defined in terms of their covariance and standard deviations, as seen below
ρ= cor(X,Y)/σχ σΥ

If there is no relationship between the variables then the correlation coefficient will be zero and if there is a perfect positive match it will be one.
If there is a perfect inverse relationship, where one set of variables increases while the other decreases, then the correlation coefficient will be negative one.

So, my second equastion is how to find the mean and variance for H1(t) and H2(t)
Hint: if Hn(t)= (-1)^n cos(2π fc t)* e^[(t^2)/4] *d^n/dt^n *e^[(t^2)/4]

Thanks alot!
 
Last edited:
  • #25
T.Engineer said:
The correlation is equal to the average of the product of two random variables and is defined as
cor(X,Y) = E[XY]
= ∫∞ −∞∫∞ −∞ xyf(x,y)dxdy
This is the definition of covariance, not correlation.

So, if the above equation seems to be correct, then I can define H1(t) as X and H2(t) as Y.
Can I work like this depending on the above?
To obtain Cov(X,Y), yes.


And for a given set of variables, we use the correlation coefficient to give us the linear relationship between our variables. The correlation coefficient of two variables is defined in terms of their covariance and standard deviations, as seen below
ρ= cor(X,Y)/σχ σΥ
The correct formula is ρ = Cov(X,Y)/(σχ σΥ) where ρ is the correlation coefficient between X and Y.

If there is no relationship between the variables then the correlation coefficient will be zero and if there is a perfect positive match it will be one.
If there is a perfect inverse relationship, where one set of variables increases while the other decreases, then the correlation coefficient will be negative one.
Correct.

So, my second equastion is how to find the mean and variance for H1(t) and H2(t)
Hint: if Hn(t)= (-1)^n cos(2π fc t)* e^[(t^2)/4] *d^n/dt^n *e^[(t^2)/4]

Thanks alot!
You should follow the approach in this post: https://www.physicsforums.com/showthread.php?p=1387935#post1387935
 
  • #26
You should follow the approach in this post: https://www.physicsforums.com/showthread.php?p=1387935#post1387935[/QUOTE]

Thank you very much for being patient with me!
Do you know what my exact problem is?
I am going to transmit a signal, which it is described by Hn(t).
I want to prove the orthogonality of this function by using different derivative for this signal, If they are orthogonal to each other or not.
So, I suggest to find the autocorrelation function for them, I mean between H1(t) and H2(t). After that I have to find the mean and the variance for the result of autocorrelation function.

Am I on the correct way?
 
  • #27
I am not sure I understand completely. Can you fill in the blanks in the following statement:

"I'd like to show function ___ is orthogonal to function ___."

If your answers are H1 and H2, then why does this have anything to do with the AC function? In this case, you need to prove Cov(H1,H2) = 0, which is different than the AC function.

On the other hand, if your statement is "I'd like to show function H[n] is orthogonal with itself (over time)" (i.e. AC=0), then you are correct to study the AC function.
 
  • #28
EnumaElish said:
I am not sure I understand completely. Can you fill in the blanks in the following statement:

"I'd like to show function _H1_ is orthogonal to function _H2_."

If your answers are H1 and H2, then why does this have anything to do with the AC function? In this case, you need to prove Cov(H1,H2) = 0, which is different than the AC function.

On the other hand, if your statement is "I'd like to show function H[n] is orthogonal with itself (over time)" (i.e. AC=0), then you are correct to study the AC function.

"I'd like to show function _H1_ is orthogonal to function _H2_."
 
Last edited:
  • #29
when we want to receive these signals, a correlation receiver will be used
So, the autocorrelation function for the transmitted signal should be determined and from the result of the autocorrelation function we will determine the Mean and Variance
 
  • #30
T.Engineer said:
"I'd like to show function _H1_ is orthogonal to function _H2_."
The way to show H1 is orthogonal to H2 is to show Cov(H1,H2) = 0. This does not have anything with the AC function, which is a very specific transformation of a single parent function (for example, H1) with itself, over time (over a very short time interval).
So, the autocorrelation function for the transmitted signal should be determined and from the result of the autocorrelation function we will determine the Mean and Variance
I am not a signal processing engineer. I don't know what a correlation receiver is.

My best understanding is this:
You are trying to find the autocorrelation coefficient of a signal. http://en.wikipedia.org/wiki/Autocorrelation#Signal_processing

You need to first determine the Rff(T) function.

Then you'd like to convert it into an AC coefficient as: r(T) = [Rff(T) - Meanf(T)^2]/Varf(T). http://en.wikipedia.org/wiki/Autocovariance (look under "Normalization")

Am I close?

You can determine Rff(T) analytically. But a simpler method is computer simulation. If you simulate N signals from your H1 function, then you can calculate the autocorrelation coefficient numerically (for n lags, or t - n), as in this link: http://w3eos.whoi.edu/12.747/notes/lect06/l06s02.html
 
Last edited:
  • #31
EnumaElish said:
My best understanding is this:
You are trying to find the autocorrelation coefficient of a signal. http://en.wikipedia.org/wiki/Autocorrelation#Signal_processing

You need to first determine the Rff(T) function.

Then you'd like to convert it into an AC coefficient as: r(T) = [Rff(T) - Meanf(T)^2]/Varf(T). http://en.wikipedia.org/wiki/Autocovariance (look under "Normalization")

Am I close?

yes, exactly! My points are to determine the mean and variance.
So, as I understand from your comments that if I will find the correlation coefficient then I can determine the mean and variance.
 
  • #32
No. Typically you need to:
1. Calculate the mean
2. Calculate the variance
3. Calculate Rff
4. Put 1, 2, 3 together to calculate r (the corr. coeff.).

Is this helpful? If not, why not?
 
  • #33
EnumaElish said:
No. Typically you need to:
1. Calculate the mean
2. Calculate the variance
3. Calculate Rff
4. Put 1, 2, 3 together to calculate r (the corr. coeff.).

Is this helpful? If not, why not?

Yes, it’s fine. I agree.
But I think I should start with determining Rff(T) and after that the mean and variance.
Is that’s right?
 
  • #34
Any order would be fine.
 

1. What is the autocorrelation function?

The autocorrelation function is a statistical tool used to measure the correlation between a time series and a lagged version of itself. It is commonly used in time series analysis to identify patterns and relationships within the data.

2. How is the autocorrelation function calculated?

The autocorrelation function is calculated by taking the correlation coefficient between a time series and a lagged version of itself at different time intervals. This can be done using mathematical formulas or statistical software.

3. What does a high autocorrelation coefficient indicate?

A high autocorrelation coefficient indicates a strong positive correlation between a time series and a lagged version of itself. This means that there is a strong relationship between the current value of the time series and its past values.

4. How is the autocorrelation function used in data analysis?

The autocorrelation function is used in data analysis to identify patterns and relationships within a time series. It can also be used to check for randomness in the data or to identify any underlying trends or cycles.

5. Can the autocorrelation function be used to make predictions?

Yes, the autocorrelation function can be used to make predictions in time series analysis. By identifying patterns and relationships within the data, it can help forecast future values of the time series. However, it should be used in conjunction with other forecasting methods for more accurate predictions.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
709
Replies
1
Views
805
  • Calculus and Beyond Homework Help
Replies
1
Views
559
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
569
  • Science and Math Textbooks
Replies
5
Views
893
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
Back
Top