Questions tagged [covariance]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
43 views

How to determine covariance matrices $\mathbf P$, $\mathbf Q$, and $\mathbf R$ in Extended Kalman Filter

I am implementing an Extended Kalman-Filter and an Unscented Kalman-Filter for state and parameter estimation of a conveyer belt system. The problem is that I don't really know how to determine the ...
0
votes
1answer
51 views

Ideally Lowpass-filtered White Gaussian Noise: question about a derivation of variance and covariance

Consider white gaussian noise $\omega(t)$ that has passed through and ideal lowpass filter with bandwidth $B$. This filter has the impulse response $$h(t) = 2B\text{sinc}(2Bt)$$ Sampling the filter ...
0
votes
1answer
60 views

Kalman Filter: Why do we decrease the state uncertainty regardless of the current measurement?

I'm struggling with fully understanding the concept behind a Kalman filter. For the sake of simplicity, let's ingore the input variable $u$ and assume constant process $Q$ and measurement noise $R$. ...
0
votes
1answer
33 views

Random function covariance

I was studying signal processing and I was frequently asked to verify if a certain covariance is possible for a given random function. I tried to check by verifying the property to prove it: ${γ}_{xx}(...
0
votes
1answer
33 views

Variance Due to white noise input

I have the problem below. It sounds simple but for some reason I have been stuck on it for a long time and don't know what am doing wrong. Am trying to solve this using correlations. So we all know ...
1
vote
0answers
23 views

Colored noise and adjusting covariance matrix with change of frequency

Assume a signal sampled at 2Hz. Assume it is a colored noise with known PSD. The measurement equation to be used in a Kalman filter requires a covariance matrix. If I want to sample at 9Hz (for ...
3
votes
2answers
69 views

Matched filter for "amplitude SNR" vs power SNR

I am working on an application for which a matched filter seems like the right concept. In the derivation for the matched filter which I went through (here), they define the SNR as the ratio of ...
4
votes
2answers
128 views

Quadratic Programming with Linear Equality Constraints

I need to solve an equality constrained minimization problem as give below $$\min_{\textbf{w}} \mathbf{w}^TR\mathbf{w} $$ such that $$X\mathbf{w} = \mathbf{1}$$ where $R\in \mathbb{R}^{n\times n}$ is ...
1
vote
2answers
650 views

Covariance Matrix Polar to Cartesian

Let $R$ and $\Theta$ be zero mean independent Gaussian random variables with variances $\sigma_R^2$ and $\sigma_\Theta^2$ respectively. Hence their covariance matrix would be diagonal give by $$C_{R,\...
1
vote
1answer
34 views

Variance of circular vector correlation

Say I have two zero-mean vectors, with a size of N and the translation between them is k. Say the image signal std is $\sigma_s$ and the noise std is given by $\sigma_n$. What is the variance of the ...
1
vote
0answers
40 views

Whitening Filter for Noise Estimation

The signal I'm working on includes some noise which is I assume Gaussian white noise with zero mean and an arbitrary variance. So, it is like; ...
2
votes
0answers
25 views

Finding the error in the total integrated intensity of a fitted 2D Gaussian

I have been trying to fit signals to a 2D Gaussian function, and while I have bene able to use sciKit-image's curve_fit function to find the covariance matrix for ...
0
votes
1answer
182 views

Problem implementing KL expansion with square-exponential kernel: output just looks like Gaussian

I am trying to implement the Karhunen Loeve expansion for a 1-D Gaussian random field with a square-exponential kernel. Specifically, I know that a Gaussian process has a KL expansion $\hat{U}=\sum_{...
2
votes
1answer
1k views

Generate signals with a particular variance and SNR

Consider a system model of the form: $y_n = ax_n + v_n$ where $x_n$ is the input that is corrupted by $v_n$ which is an Additive White Gaussian Noise of zero-mean and variance 1 for $n = 1,2,...,N$ ...
0
votes
0answers
79 views

Proof of weak stationary random process autocovariance always goes to zero?

Professor told me that if a random process is weak stationary, and it does not feature any periodic component, then its autocovariance always goes to zero. I can intuitively understand it, however, ...
2
votes
1answer
285 views

Variance of function of random variable

Is their an easier way to find variance of function of random variable? Till now what I am doing is first find probability density function of (function of random variable) then integrate over range.
3
votes
0answers
98 views

Role of Riccati Equations in Kalman Filter Design

I am working on a Kalman Filter (KF) design problem and I am struggling to understand the role of the Riccati equations in the design process of a KF. Some sources discuss the importance of Riccati ...
2
votes
1answer
472 views

Kalman Filter State Covariance Matrix

If I have a discrete time process model of the form: $$x_{k+1} = x_{k} + v_{k}\cos(\theta_{k})dt$$ $$y_{k+1} = y_{k} + v_{k}\sin(\theta_{k})dt$$ $$v_{k+1} = v_{k} $$ $$\theta_{k+1} = \theta_{k}$$ ...
3
votes
1answer
90 views

Covariance block of MUSIC Algorithm

I am implementing MUSIC algorithm in Verilog, and I need to implement the blocks in following order $$\text{Input signal}{\longrightarrow}\text{Co-variance/Correlation matrix}{\longrightarrow}\text{...
0
votes
1answer
211 views

Why discretize a continuous transition matrix in Kalman Filter?

In the Kalman filter toolbox at http://becs.aalto.fi/en/research/bayes/ekfukf/cwpa_demo.html the example code shows that a function lti_disc is called, which is essentially a matrix exponential ...
0
votes
1answer
96 views

About the variance of the coefficient of narrowband noise when using signal-space representation

Assume that n(t) is a white Gaussian noise process with zero-mean and power spectrum density $N_0/2$. By using the signal-space representation, it can be expressed as: $$n(t) =\sum_{j=1}^N n_j \phi_j(...
1
vote
2answers
117 views

Should I pass Kalman Filter absolute or offset-from-mean sensor values?

I'm using Kalman filters to segment the loudness of an acoustic signal from surrounding noise. The problem I've encountered is that muffled or faulty microphones measuring 'silence' (-70dB, -69dB, -...
0
votes
1answer
487 views

Covariance matrix associated with random DC level in Gaussian noise

Given a signal $x[n] = A + w[n]$ where $A$ is a Gaussian random variable and $w[n]$ is Gaussian white noise, then the covariance matrix of the signal is given by $[C(\sigma^2_A)]_{ij}=E[x[i-1]x[j-...
0
votes
1answer
201 views

Estimating variance in arbitrary, periodic signal

I have a periodic signal $x[m], m \in [0;M-N+1]$ made of modulated templates $s[n],~ n \in [0;N-1],~ N \ll M = NK$ of finite energy and support (i.e. zero outside of its defined interval, which does ...
1
vote
2answers
469 views

Is there a difference what measurement units use in covariance matrix

The R matrix in the Kalman filter contains measurement noise. Diagonal elements of the matrix is the power of standard deviation. Is there a difference what measurement unit to use for standard error ...
0
votes
1answer
301 views

Why does it mean that the process/signal is not stationary when its variance varied with time? [closed]

Why does it mean that the process/signal is not stationary when its variance varied with time? that is, $VAR[X(t)]= \alpha \times t$,$t$ is time,and $\alpha$ is a constant,then $X(t)$ is not the WSS ...
9
votes
1answer
2k views

What Is the Difference Between PCA and Karhunen Loeve (KL Transform)?

I have been reading about Karhunen-Loeve or also known as KL transform and I see that when it is used to reduce dimension the procedure is identical to PCA, that is, for both methods the covariance ...
0
votes
2answers
2k views

[Python ]How can I improve my 1D Kalman Filter estimate?

I have written the following code to smooth an (almost) linear function: ...
0
votes
0answers
84 views

Interpretation of Eigen Values of covariance matrix

I am trying to obtain an intuitive understanding of Eigen Values of covariance matrix and have used a few layman terms because I fully do not understand the concept yet. The following is the code ...
1
vote
0answers
122 views

Sensor fusion under unknown correlations: can covariance intersection account for delays?

Of late, there has been some interest in cooperative estimation algorithms in robotics, where the information sources are usually sensors such as cameras. When multiple robots observe surrounding ...
1
vote
0answers
479 views

Estimate standard deviation of random-walk using Kalman filter

I'm new to Kalman filters so this might be a stupid question. I created a Kalman filter that takes in time series observations and estimates the mean of that time series. This is simply modeling a ...
0
votes
0answers
101 views

2-D parameter vector: Cramer Rao lower bound

Given a 2-D parameter vector, $\mathbf{X} = [x_1, x_2]$, let the corresponding $2\times2$ Fisher Information Matrix be $\mathbf{F}$. The Cramer-Rao Lower Bound (CRLB) is the inverse of the FIM. I ...
1
vote
2answers
736 views

Is it possible to estimate variance of noise for a step answer signal?

I know there is not possible to find the true noise of a measured signal. The only way to "find" the noise is to estimate the noise. Noise has the mean 0, but the variance varies. So assume that we ...
0
votes
1answer
624 views

How to calculate the Diagonal loading factor evaluate calculate the inversion of a covariance matrix

I am programming a Generalised Likelihood Ratio Test (GLRT) detector. When it comes to inverting a covariance matrix $Ri$, I need to do a diagonal loading to fix the problem of sigularity of this ...
7
votes
2answers
170 views

Difference between $\mathbb{E}[\mathbf{x} \mathbf{x}^{\rm{H}}]$ and $\mathbb{E}[(\mathbf{x}-\boldsymbol{\mu}) (\mathbf{x}-\boldsymbol{\mu})^{\rm{H}}]$

Let us have a random vector $\mathbf{x} \sim \mathcal{CN} (\boldsymbol{\mu}, \boldsymbol{\Sigma})$ with $\boldsymbol{\mu} \neq \mathbf{0}$. What can we say about the relationship between the elements ...
0
votes
1answer
691 views

How to estimate covariance matrix using Fourier representation?

So, I have multidimensional time-series $X \in R^{(d \times T)}$, and I want to determine the covariance matrix of that signal in a specific frequency band. I might filter the signal to that specific ...
3
votes
1answer
2k views

Show That the Power Spectrum Density Matrix Is Positive Semi Definite (PSD) Matrix

Given a Wide Sense Stationary Multi Variate (Vector) Random Process $ \boldsymbol{x} \left[ n \right] $ it Auto Covariance Matrix Function is given by: $$ {R}_{x, x} \left[ m \right] = \mathbb{E} \...
2
votes
0answers
215 views

Deterministic method to compute “Process noise covariance matrix, Q” for a Kalman filter when parameter variations of the model is known apriori

I am implementing a Kalman filter (for a linear ODE system for now). My model represents a physical device that has 6 "parameters", i.e. those values of the device do not evolve over time (within a ...
1
vote
2answers
2k views

Kalman Filtering with Unknown State Transition Matrix

I'm currently studying the use of Kalman filters for estimating linear systems. My current State Transition Matrix (STM) is the identity since so far I've been dealing with non time-varying systems. ...
0
votes
1answer
413 views

Auto-covariance of the product of deterministic and wide-sense stationary signal

Anybody give me an advice how to find the auto-covariance of the product of deterministic and wide-sense stationary signal. I couldn't find how to solve this, I have looked and searched the internet, ...
1
vote
0answers
514 views

Noise covariance matrix

I am attempting to implement a generalized least squares estimator that uses a noise covariance matrix from measured data. The basic model is as follows $$\hat{c}_{GLS} = \left(\bf{A}^T\bf{\Sigma}^{-...
3
votes
1answer
341 views

Covariance matrix of an adaptive filter input

I run many times in equations containing the trace of covariance matrix of an adaptive filter input. But it is not really clear what it is. For example in this paper the input covariance matrix is $$...
13
votes
2answers
12k views

Covariance vs Autocorrelation

I'm trying to figure out if there is a direct relationship between these concepts. Strictly from the definitions, they appear to be different concepts in general. The more I think about it, however, ...
3
votes
1answer
237 views

Help in understanding from book expression of variance of an estimator : PRBS vs real valued input

The question is based on Book : Fundamentals of Statistical Signal Processing by Steven Kay, Chapter 4 : Eq(4.21). The expression for the variance of the estimated coefficients when the input is PRN ...
1
vote
0answers
53 views

Variance and Co-variance of a Linear Forecast

Consider a linear forecasting problem where all shocks $\{\epsilon_i\}_1^n$ are independently distributed with $\epsilon_i\sim N(0,\sigma_i^2)$ for all $i$. Suppose you want to forecast $\theta = \...
0
votes
1answer
108 views

Kullback-Leibler Distance of Spectral Data

I am currently reading through Music Structure and Analysis from Acoustic Signals and am having some difficulty in understanding how the modified Kullback-Leibler distance is calculated. (I am just ...
0
votes
1answer
394 views

Covariance matrix $P$ and $Q$ for complex valued data

The equations for the Kalman filtering are IM = H*X; IS = (R + H*P*H'); K = P*H'/IS; X = X + K * (y-IM); P = P - K*IS*K'; The covariance matrix in my ...
2
votes
1answer
456 views

Problem with Covariance matrix using diagonal loading involved in calculation of eigenvalues

I have the following problem : I'm calculating the sample covariance matrix in the frequency domain ( $y_{k}$ is the FFT of a time domain $k_{th}$ symbol vector signal , basically a simulated ...
0
votes
1answer
66 views

Should you include division by coefficient of variation in WV reconstruction for its normed 1D signal?

I make a new ECG time series from WV spectrum of original signal and its L2 energy normalisation. I am thinking if the reconstruction step benefits from covariance at each time point. I take later a ...
4
votes
1answer
3k views

Cross-correlation or cross-covariance of non-zero mean signals

Cross-correlation for uniformly sampled signals is defined as [1] $$(f \star g)[n]\ \stackrel{\mathrm{def}}{=} \sum_{m=-\infty}^{\infty} f^*[m]\ g[m+n].$$ Cross-covariance for wide-sense stationary (...