instruction
stringlengths
31
27k
All common tests for testing if a time series is white noise are based on common distribution assumptions from which inference is made that a process is white noise. However, in the case for most time series the underlying distributions do not follow traditional distributions (gausian etc). For this reason I would like...
I wanted to use Curvelet thresholding for edge detection, that is first take discrete curvelet transform then choose coefficient which are for curve and then reconstruct back to get an edge map. Please help me on how to do Curvelet thresholding.
I searched for hit or miss on the internet and Gonzalez's book but there is just a formula and example. In that example the hit or miss just finds a pixel and no more answers. I want to know by concept what is use and purpose of hit or miss transform.
The timbre of an harmonic sound (e.g. the steady part of a violin note) is defined by the amplitude of each harmonic (including the fundamental). In order to compare the timbre of two instruments (e.g. two violins playing the G string), I could compare those amplitudes. If the instrument are similar, I suppose that the...
I'm trying to find some mathematical docs about the complex (analytic signal) band pass filtering in discrete time. I've read some text already but most of them describes the problem in real time only. I would really appreciate some equations. [EDIT:] I found this coefficients' computation equation for real signals: $...
I need to represent my signal as a set of transitions from one level to another, and I am interested in transitions that have relatively big amplitude 2000+. I applied median filter to get rid of the high frequency part of the signal and result looks like this. Now I can take gradient and get set of transitions, and ba...
What are the best ways to mask a voice tone, like what they do during news shows on television sometimes? Is there a way that is not reversibile? I think that a simple modulation is not the best solution.
I understand an ideal analog square wave contains sine-wave-components above Nyquist frequency (and towards infinity) and is thus subject to aliasing. So obviously we need an anti-aliasing-filter. Or do we? Why do we need one? Intuition tells us that a square wave can hardly be aliased. It is so simple and there's no c...
I have estimated AR coefficients of a time series using "aryule" function in MATLAB. Now I want to obtain the error of the estimated model. I think at first I must reconstruct it. so How can I reconstruct a Time series using it AR coefficients in MATLAB?
I am trying to create a simple recognition system. i have recordings of several speakers saying the same word, let's say "west". I compute the MFCC feature vectors of word "west" from each speaker. If i have 10 speakers, i then have 10 matrices, each of them of dimensions N_frames * 13 (13 coeff and N_frames varies fro...
I have two signals: $x(n)$ is a white-noise signal with a given variance, $y(n)$ is the sum of white noise plus a sum of sinusoids. $$ x(n) = v_1(n) $$ $$ y(n) = \sum_{i=1}^{q} [ a_i \cos(\omega_i n) + b_i \sin(\omega_i n) ] + v_2(n) $$ $$ v_{1,2}(n) \sim W.N.(0,\sigma^2) $$ And that is how I generate the two signals ...
TWO PART QUESTION - We've all seen the movies/TV shows where the police/feds/spies use computer software to take a grainy photo and do a "clean-up" to see a better picture and more details. I assume the concept is executed by some sort of uber-power pixel-smoothing or anti-aliasing type of algorithms to fill in the bla...
I've read the thread: Cut off frequency of moving average And I use the second answer in my algorithm to calculate the 3dB cut off frequency of my filter, which works great, as my filter length is usually above 300. I verified it with the step response. But I would like to have a source or derivation for this formula. ...
I know about complimentary colors and how to get them, since colors are basically frequency / wavelengths. Is it possible to find a signals complimentary, additive or subtractive frequencies in an audio file / from a signal. I know how to use FFT to get the phase, amplitude, and frequency of a signal. I'm just looki...
I'm trying to calculate (with Matlab) the minimal and maximal Eigenvalues $\lambda_{min}$ and $\lambda_{max}$ of the autocorrelationmatrix $R$ to adjust the stepsize of an adaptive filter. My input signal $x$ is a vector of colored noise. And my plan is to do something like lmin = min(eig(xcorr(x))); lmax = max(eig(xc...
Recently I found my old code to transform sine wave from time domain to frequency domain. Below I post simplified version of it. from math import sin, pi from matplotlib.pyplot import * from pylab import zeros, fft fs = 500 duration = 2 * pi amplitude = 2 frequency = 25 values_in_time_domain = [] for t in range(int(d...
I am trying to filter my force signal using Butterworth low pass filter. so this is the signal, I have to filter (noise frequency is around 33 Hz). So when I use Butterworth filter with following command in MATLAB (with sixth order): [B,A]=butter(6,5/100,'low'); forceS=filter(B,A,forceS); the result I get is So the...
I am a bit confused with the concept of band limited wavetables and the methods such as BLET, BLIP, MinBLEP, polyBLEP etc. As far as I understand certain waveforms contain infinite harmonics, which alias back into the signal, even if they were generated at a certain frequency below the Nyquist rate. According to this p...
From my understanding PSD tries to give a good estimation on the power each frequency attributes to the overall signal power. If I am only interested in a frequency range $(\omega_0 \leq \omega \leq \omega_1)$, could I put the signal through a band pass filter for that same frequency range then calculate the signal po...
I read lots of things about Kalman filtering, but in order to fully understand it, I would probably need to see it working on some data. Would you have a minimal example (Python code or any other language) showing what it does on some real data $x[n]$, where $n$ is the time?
I'm having some trouble with understanding the DFT of a sawtooth single period signal and its relation with sawtooth Fourier coefficients. Let's say I have a signal $$ s(t) = \frac{At}{T} - \frac{A}{2} \qquad t\in[0,T) $$ If I plot its DFT real and imaginary components I have something like this Where $A=10$, $T=1$, $...
If I have a time series defined by a series like $$ x = [a_1, a_2, a_3, ..., a_n] $$ for time from $t = 1$ to $t = n$ How can I get to the power of the signal in this form: $$ P_x = [p_1, p_2, p_3, ..., p_n] $$ Can I use this formula and make it so $N_0 = N_1$ $$ P_x=\frac{1}{N_1-N_0+1}\sum_{n=N_0}^{n=N_1}\left|x(n)\...
For a lock-in amplifier I am downsampling the demodulated baseband signal prior to the final low pass filtering. This lock-in amplifier is implemented on an FPGA (myRIO of National Instruments). Therefore I use CIC filters. I've reading a lot in Hogenauers paper and in "Understanding digial signal processing", by Rich...
Consider a DSBSC signal s(t) = m(t).cos(2.pi.20k.t) where say m(t) is multi-tone signal with frequencies less than 5 kHz. The spectrum gives a typical bandpass say triangle centred around 20k and -20k. Now, when I calculate the minimum sampling rate; Since the highest frequency is not an integer multiple of bandwidth o...
As a non maths-pro, I'm looking for some pointers. I am rewriting the audio core in my emulator to improve accuracy, and am getting a bit stuck on the specifics of the technique. I am trying to resample a sample buffer of 4,466 samples, at a sample rate of 223,807.5 Hz (from a simulated Yamaha SN76489), to a sample buf...
So I'm writing an app that blurs and downscales large quantities of images, but all the image processing libraries I've come across define gaussian blurs in terms of sigma and kernel size rather than pixel radius (like an image editing app would do). Does radius relate to sigma and kernel size in some way, or is it an ...
I'm having trouble figuring out how to follow the fast 8x8 DCT algorithm diagrams found in the following two papers: (1) A Fast Computational Algorithm for the Discrete Cosine Transform by Chen et al. and (2) Practical Fast 1-D DCT Algorithms With 11 Multiplications by Loeffler et al. In particular, the second diagram ...
If one signal is transmitting form transmitter $TX_1$ with some frequency $X$ and some other transmitter $TX_2$ is sending some other signal with same frequency $X$ will there be any clash or interference between these two signals since these two transmitters $TX_1$ and $TX_2$ are located in the same area?
I have read that $ce^{-\frac{\phi_i-\phi_j}{\rho}}$ is a harmonic function of the form $e^{-in\phi_i}$, and therefore it's eigenvalues are one of the Fourier components of $(|\phi_i-\phi_j|)$. My questions are: How come $ce^{-\frac{\phi_i-\phi_j}{\rho}}$ has the form of $e^{-in\phi_i}$ if it is a real function? How do...
I have this picture and would like to extract the bones. First I thought of contour-Tracking, but as you can see in some bones there are holes (Like for example at the left finger, in the bone in the middle). What algorithm would you recommend me? To find the contour of the bones? How could I fill them? Thanks Im als...
I recorded the same piece of music from different instruments and I want to compare their timbre by means of feature extraction. As you can see from the image, the recording is composed of different sections with very different amplitude values. Furthermore, the recordings present a slightly different RMS energy. I am...
I understand the need for phase unwrapping and the complexity behind it. But, I'm struggling to understand why the phase information gets wrapped between $-\pi$ to $\pi$ in the first place?
Let $x[n]$ be a time-series, and two filters: $A[n] = a_0 x[n] + a_1 x[n-1] + ... a_q x[n-q]$ $B[n] = b_0 x[n] + b_1 x[n-1] + ... b_r x[n-r]$ I think the answer is No, but is there a way to have this problem (sign of 2 filters should be both positive): $$A[n] > 0 \quad AND \quad B[n] > 0$$ expressed in terms of the ...
i have 2 questions: 1-If zeros on the unite circle that will be min or max phase?and this system has low-pass frequency response or not ? 2-Is the min phase has the shortest impulse response?
I have an input sequence $x=\{x_1, x_2 , ... x_n\}$ of reals, where $n=2^m$ for some $m$. I wish to calculate FFT of $x$. $X=FFT(x)$ However, before I calculate the FFT, the signal $x$ gets corrupted with noise $\eta$, so $\hat{x}=x+\eta$, and calculated FFT, $\hat{X}$ is FFT of $\hat{x}$, rather than $x$. $\hat{X}=FF...
In cross correlation we use the below command to calculate the sum after elementary multiplication of the vectors. But when we try to convert this Matlab code to vhdl using HDL coder, this command is not defined by HDL coder. Is it possible to write code for below line without using 'sum' builtin function please. xc(i)...
In order to know if my signal is increasing or decreasing, I'm using the discrete derivative $y[n] = x[n] - x[n-1]$ or a smoothed version of it (for example Exponential Weight Moving Average of $y[n]$ that gives a "smooth" version of the derivative). Now to make further analysis, I also want to consider the discrete ac...
I am trying to understand low pass filters for image processing, I came across an article that stated that low pass filters effect noise more than the real data due to that the image Noise always changes rapidly from pixel to pixel because each pixel generates its own independent noise. The image from the telescope...
I have some images of butterflies. I've downloaded them from here. A sample is below: In each image, the most prominent object is the butterfly (with flowers, leaf etc in background). I usually go for contour/edge detection to locate features in image, but in this case these algorithms are not working as I expected. ...
Given a general filter equation, how can one tell the type of filter that the same equation represents? Meaning how can I know if the filter is Low/High/Band Pass etc...? For example, the following equation: $ y_{n} = x_{n} + x_{n-2} $ Represents a "Band Stop" filter, but why?
What is the difference between power and energy of OFDM signal. How to calculate energy of an OFDM signal, if we consider OFDM symbol size is 64, and QPSK is used as modulation scheme?
We have a signal sampled att 22 kHz that we want to interpolate to 40 kHz. So we can do this by upsampling by a factor 20, then downsampling by a factor 11. My question regards the choice of cut-off frequencies after the upsampling and the downsampling. The old Nyquist frequency was at $11$ kHz so it would make sense t...
The energy of a continuous signal $x(t)$ recorded between $t=0$ and $t=T$ (namely $x(t \notin [0, T]) = 0$) is defined as $$E = \int_0^T |x(t)|^2\, dt.$$ In most signal processing texts I met, the formula for the energy of the same signal sampled at $N$ regular steps separated by $\Delta t$ is given as $$E_N = \sum_{n=...
I am implementing a fractional delay for resampling purposes, using the Farrow structure to enable continuously variable delays. For now I am simply using windowed sinc functions as my low-pass filters. My method was originally as follows: Create a series of $K$ $N$-sample windowed sinc functions covering the delay ra...
As a continuation to this question, I took the matrix $C_{2 \times 2}$ which is: $$C=\left[ \begin{array}{} a& ace^{-\frac{|\phi_1-\phi_2|}{2}}\\ ace^{-\frac{|\phi_1-\phi_2|}{2}} & a \end{array} \right] $$ And I found its eigenvector and eigenvalues which are: $$v_1 = \left[ \begin{array}{}...
Intro: Consider a signal source S which emits a PAM modulated signal, bits encoded as +g(t) and -g(t) pulses. The matched filter for S is f - f is a function of g. Then S is fed to an FM modulator and yields a modulated signal, S', let's call the corresponding matched filter of the modulated signal f'. Question: If f ...
While reading the book DSP by Proakis and Manolakis i came across the concept of digitization of signals. The Author states that Digitization(rounding it off to nearest integer) of signal is necessary in order for it to be processed by computer. If i write the following code :- float signal[5]={ 1.5 , 1 , 4.4 , 3 , 2 ...
I have been reading about "all-digital" or "software-defined radars". Lately, I was trying to simulate an FMCW short range radar in Matlab. One thing that struck me during the simulation is that to achieve a range resolution of around a 100 cm or less, the signal bandwidth is quite large -- in multiple GHz. This means,...
I am working on ''Active noise cancellation for air vent'' project. I am using NI myRIO1900, Audio Technica ATR 3350 omni directional microphones and Tevion Loudspeakers. I have done the programming using LabVIEW and I have used FPGA module. I am using sinusoidal noise source of (200-500 Hz) as test noise signal. I hav...
I must strengthen my knowledge in the mathematical properties of signals, and would like to know the following thing: if I have a complex signal, written in magnitude and phase, it's like if I have 1 signal that holds 2 signal himself? I have this question because I have to do the inverse transformation of a signal in...
Suppose I have 2000 point(time series) signal and I take 512 point FFT, after this some operation is done in frequency domain. Now if I take IFFT to get 512 points in time domain, Is there a way to map the output 512 IFFT points to the original time domain 2000 points. Inverse of this problem would be 400 point(time s...
I have compressed and reconstructed an ECG signal using wavelet coefficients. In the compression part, many of wavelet coefficients are set to zero. For example, if in original ECG $5000$ wavelet coefficients have been obtained, now $4900$ coefficients have been set to zero. I have reconstructed the ECG signal using on...
Kindly explain why type 2 FIR filter cannot be used to design high pass filter.
Suppose I have a 1D image with intensities $f_i$, $i=[0,n-1]$, where $n$ is the number of pixels. I want to downsample it to have $\frac{n}{2}$ pixels (let $n$ be an even number). For each new point I want to average the intensity over 2 neighboring pixels as $$\tilde f_i = 0.5(f_{2i}+f_{2i+1}), \qquad i=[0,n/2-1]$$ Ca...
I trained a cascade-LBP to detect Lollipops with 1000 images, now I'm trying to "adapt" the openCV HAAR-Cascade example to use my LBP trained .xml but I'm not sure about the "HAAR_SCALE_IMAGE" flag, I read that optimizes the downscale to increase the HAAR features is it right to use it with LBP? //-- Detect Lollipops ...
I've shot a series of photographs in a sort of stop-motion fashion, and although the camera was mounted on a tripod, there are tiny motions between each two successive photos. After some experimentation, I figured that using a perspective transform would be appropriate to apply a correction to a photo so that the diffe...
I am in the process of implementing MFCC and I'm unsure about the DCT part. This is how I implemented it (using DCT II). //some coefficients let k = Math.PI/numFilters; let w1 = 1.0/Math.sqrt(2); let w2 = Math.sqrt(2.0/numFilters); let numCoeffs = numFilters; let dctMatrix = new Float32Array(numCoeffs*numFilters); // ...
Say I have a binary FSK with +f and -f frequencies and I have two samples per symbol. Let's consider the "1) multiply with +f/-f then 2) integrate over the number of samples per symbol, 3) take absolute value, 4) take the difference" demodulator. Lets call this type of demodulator Integrating FSK Demodulator. If I hav...
There are many articles on the frequency response of the moving average filter but they all seem to focus on magnitude. However the phase response is intriguing and I find it hard to interpret. The phase appears to "wrap", but it wraps within the [-pi, pi) interval rather than at its edges. Example below: A phase unwr...
I'm new to SP Stack Exchange . I am doing a project on implementing a handwriting recognition machine using Neural Networks in Real Time . The Image Processing Part involves convolving a 4*5 kernel over a 28*28 image. I want to know the pros and cons involved with using a DSP vs FPGA . The FPGA I plan to use belongs to...
There are 4 cos signals with 10,20,30 and 100 Hz each. The main signal is the sum of those 4 and I have to create a low pass filter, on the main signal for the frequency's > 50 Hz. % design of low pass filter f = [0 0.6 0.6 1]; m = [1 1 0 0 ]; b = fir2(30, f, m); [h, w] = freqz(b,1,128); hold on; plot(f,m,'b') plot(w/...
I think it is an easy question but I am stuck. I want to derive that $$ \alpha = -e^{\frac{-T}{\tau}}\,. $$ Can someone provide me with an answer? [EDIT] Sorry guys, this was really a senseless question. Here are some more informations. The differential equation of the EWMA: $$y(n)=\alpha\cdot x(n)+(1-\alpha)y(n-1)$$ a...
I came across a concept that says we can design LPH and HPF from APF when the transfer function of the two APFs given as $$\begin{align}A_0(z)&=1\\ A_1(z)&=\frac{-a+z^{-1}}{1-az^{-1}}\\\\ H_{LP}(z)&=A_0(z)+A_1(z)\\ H_{HP}(z)&=A_0(z)-A_1(z)\end{align}$$ i tried to implement this in matlab but i did not get the desired f...
I have a 2D image (obtained using computed tomography) that I'm "transforming" for image segmentation purposes, and I'm looking for a formal way of describing the transformation I'm doing. The transformation I'm doing defines a centre point $(x_0,y_0)$, angles $\theta_i$ from 0 to 360 degrees, and a set of centrifugal ...
I want to find the following: $\mathfrak{F}[{\Pi}_{a}(t)\cos(2{\pi}f_{0}t)]$ I first did: $\mathfrak{F}[{\Pi}_{a}(t)] = 2a\text{ sinc}(2af)$ then: $\mathfrak{F}[\cos(2{\pi}f_{0}t)] = \frac{1}{2}[\delta(f-f_{0})+\delta(f+f_{0})]$ So: $$\begin{align}\mathfrak{F}[{\Pi}_{a}(t)\cos(2{\pi}f_{0}t)] &= \mathfrak{F}[{\Pi}_{...
For a project I am attempting to create an automatic tuner for a guitar, which reads the audio from the guitar jack, determines the frequency and adjusts the string by a motor. Using http://www.instructables.com/id/Reliable-Frequency-Detection-Using-DSP-Techniques/ the algorithm is quite accurate. void setup() { ...
I'm trying to measure per-pixel similarities in two images (same array shape and type) using Python. In many scientific papers (like this one), normalized cross-correlation is used. Here's an image from the ict paper showing the wanted result: (b) and (c) are the 2 input images, and (d) is the per-pixel confidence. I ...
For my academic project, I need to process image to get pixel color and also needs to change the pixel color.I need pattern recognition. It is a web application. All I am trying is to capture the image of debit card by webcam and read the details. Please suggest me programming language.
I want to find the pre envelope of $$x(t) = {\Pi}_{a}(t)\cos(2{\pi}f_{0}t)$$ where I found the Fourier transform to be $$ \begin{align} X(f) & \triangleq \mathfrak{F}[{\Pi}_{a}(t)\cos(2{\pi}f_{0}t)] \\ & = a\text{ sinc}(2a(f-f_{0})) + a\text{ sinc}(2a(f+f_{0})) \\ \end{align} $$ So $$X_{+}(f) = 2u(f)X(f)$$ But I don...
Even though the wave of $\sin(2x-4)$ looks like this and it starts from position 2 out of curiosity I would like to know whether we could start it from position 4 like the wave of $\sin(2x)$ shown here.
After performing the fft transform there are 2 options to plot the spectrum the complex (Real and imaginair) spectrum and the magnitude with the phase. (I neglect the magnitude only for this question) My question is why is the spectrum of magnitude with phase always single sided. and why is the complex spectrum always ...
I'm reading up on Kalman filtering at the moment. In particular, I'm interested in using the "extended" and "unscented" variants for IMU sensor fusion and calibration. In A comparison of unscented and extended Kalman filtering for estimating quaternion motion, quaternions are used to represent 3d rotation. I understan...
$Z(t) = A\cos(\omega t+\theta)$ where $A$~$\mathcal N(0,\sigma ^2) $ and $\theta $~$\mathcal U(0,2\pi)$ are independent. I'm trying to figure out if $Z(t)$ is a Gaussian random process and whether it is strict sense stationary. It is easy to see that it is WSS, but I can't figure out about the SSS and whether it is a ...
I'm reading a paper on EMG analysis. The formulas are all clear to me, but the paper refers to the signal amplitude as "instantaneous" amplitude. I know what instantaneous mean, but what does it mean in the context of signal processing?
I've read this signal from a radio remote that opens a gate. This signal is already after AM demodulation, read by using a Saleae logic analyzer: I don't know much about signal processing, but I would like to emit the same signal with my own transmitter. To do this I would like to know what encoding this signal is usi...
I've come across an issue with my ANN when attempting to port my offline analysis to an online, real-time, application. I currently train my algorithm using an array of input data, number of channels (columns) against number of samples (rows), and I preprocess the data by subtracting the samples mean and dividing thro...
I have a function of type $$C(t)=0.31 \left(e^{-0.267t}-e^{-1.72t}\right)$$ Where $t$ is in hours The function represents the evolution in a window of 24 hours of a drug blood concentration, after a dose of a drug is given at $t = 0$ to a patient. I would like to use Fourier transform, to identify th best sampling st...
fftw_plan_dft_r2c_1d takes an array for real numbers and produces an array of complex numbers 1/2 the size of input array + 1. per fftw's website: As a result of this symmetry, half of the output Y is redundant (being the complex conjugate of the other half), and so the 1d r2c transforms only output elements 0...n/2 o...
For example, I would like to do like in this video: https://www.youtube.com/watch?v=YBhneZuAb5k We have for example a goat yelling sample and from this sample, we can change the pitch according to the pressed piano key. I would like to make a script that will, from one input sample, generate all samples for each pitch/...
I have passed random numbers $${89, 58, 13, 70, 24}$$ with their negatives alternating, through 5 order moving average filter and output was positive and negative numbers alternating. After I have passed output through 4 order mov. average filter, output was positive and negative semi-periods! although no quasi-sinusoi...
I need to calculate a series of coefficients for several FIR filters having 96 taps is there a standard or set formula for calculating these, it is a low pass filter.
Hi everybody i'm a student. Yesterday i had a test about my Engineering subject about signal processing and there was this problem: You have the sequence $x(n) = N+1 - |n|$. With $|n|\leq N.$ Determine the $\mathcal{Z}$-transformation of the signal and the fourier transformation. I'm going mad, me and my colleagues f...
Is it when the cost function such as the error signal or Mean Square Error (MSE) signal is minimised?
I wonder if every time series data should contain noise or not. For example I am taking the price of a ticker, say Yahoo, every hour and noting the values. Does this data contains noise or not?
We are capturing data using a PX14400 adc. The samples are 16bit unsigned integer, 200M samples/sec, I data only. 100MHz bandwith. We have a cw signal at 51MHz, -11.4dBm. The -11.4dBm is measured by a power meter so that includes all losses right before being digitized. Question 1: when I apply a blackman harris 4...
I use a Discrete Fourier Transform to have a representation in the frequency domain: Notice that, both the real and the imaginary line are softly reaching zero on the left, from 0.5 Hz to 0 Hz. This is a right function. Subsequently, I wish to multiply the above complex frequency function with another frequency functi...
I want to find repeating structures from the image .But I have no idea how to do it.Please help me.Actually i want to find how many lines and oval shapes look like similar and mark these by separate color.
Prelude I am writing an elaborate text on the relationship between the real and imaginary parts of a LTI causal system and how stability, causality and analyticity imposes various constraints on its magnitude response and the phase response. I am trying to explain three topics Kramers Kronig Relationship Bode's Gain-...
In GNURADIO when RTL-SDR Source block is placed there is a parameter Sample Rate (sps) and Channel frequency. I can put there for example 32kHz into Sample rate and 107.5MHz into Channel frequency to tune some FM station in my location. FFT block shows a signal of that station in a correct frequency as shown on the pi...
I have asked the question in the following link: Are time series data always contain noise? I wonder if we could use variational methods to denoise the time series data just as in computer vision? Thanks in advance...
I have a question about measuring precision of chromatic tuners. I want to divide 2 cases. CASE1: link; Korg AW-2G's precision If you check the link or this picture, it says that Korg AW-2G has the precision of +/- 1 cent. What's the way or measurement to get this result (+/- 1 cent)? CASE2: There are people using Ard...
A vanilla Kalman Filter allows for a time varying observation matrix $H_k$. Is it allowable for $H_k$ to be a function of the system state $x_k$ in a vanilla Kalman filter? First, am I correct that this is not allowed in the vanilla Kalman filter? If it is allowed, then I don't understand how measurements would then a...
I read some papers about fast normalized cross-correlation techniques. Most of them are used to identify a template in an original image. I was not able to find information about input-data in a stream-based fashion: Assume, that there are two audio signals a and b both of the same length. Now, I want to find the posit...
I have a signal that is sampled at $20 \mathrm{Hz}$. It has almost stationary behavior, with a main frequency around $1\ \mathrm{Hz}-1.5 \ \mathrm{Hz}$. This frequency range is to be expected and is of interest for further processing. Unfortunately, I don't know the noise present at the signal in order to calculate th...
After an interesting recent answer, I'm doing some research on proper DFT normalization for sinusoidal peak estimation. It's clear that to get the correct amplitude from DFT peaks we need to normalize by the window gain \begin{equation} S_w \triangleq \sum_{n=0}^{N-1} w[k] \end{equation} Which becomes $S_w = N$ for the...
According to the wikipedia(Link), autocorrelation has two definition. In statistics, the definition of the autocorrelation between times $s$ and $t$ is like the following: $$\displaystyle R(s,t) = \frac{\mathbb{E}[(X_t-\mu_t)(X_s-\mu_s]}{\sigma_t\sigma_s}$$ However, in signal processing, the above definition is often ...
Consider discrete time sinusoids of the form $$x[n] = \cos(\omega n) \ ,$$ where $n$ is an integer. What frequency range of $\omega$ would constitute all the possible sinusoids? I'm thinking that $0\leq\omega<\pi$ would suffice, but my teacher tells me it's $-\pi\leq\omega<\pi$.
I want to calibrate a tri-axis magnetometer when a tri-axis gyroscope is also available. I am fairly certain I can solve this problem using various optimisation algorithms, but I would prefer to use an unscented Kalman filter for a number of reasons that I'll discuss later, but in short: because it is online, allows ch...
You did it using the norm of the function(signal). I want to measure this symmetry by subtracting each point of my signal from the flipped one. My question is about the way to normalize this difference. Can standard deviation of the signal be a good option? ( I do not want to divide it by the value of max).
I'm trying to construct a higher order IIR from a biquad cascade, I know this is generally frowned upon, but it's necessary as the coefficients will be embedded into a larger formula used in a FDTD boundary condition. According to this answer, I simply need to multiply the biquad transfer functions together, however I'...