## Forums comp.dsp

## Kalman filter estimator for Gyro and accelerometer

inI am using a fairly standard approach to estimating angular pitch using a KF. It uses both accelerometer and Gyro angle data. Now it estimated the...

I am using a fairly standard approach to estimating angular pitch using a KF. It uses both accelerometer and Gyro angle data. Now it estimated the angle fine enough and I implement the steady-state KF. Never tried this before but then put a PID or lag-lead controller on this measurement. I find that the Kalman filter bandwidth is stuff all and severely reduces the bandwidth of my cl

## spectral accumulation using phase vocoder

inHi! I've made a simple freeze effect with a phase vocoder that can 'freeze' the sound by repeatedly converting the same spectral frame of that...

Hi! I've made a simple freeze effect with a phase vocoder that can 'freeze' the sound by repeatedly converting the same spectral frame of that sound to the time domain, incrementing the phases each time with the phase difference calculated from that frame and the previous frame. This works fine. What I would like to do though, is take another freeze frame out the incoming sound a

## Sensitivity function - control theory

inI watched this video about the sensitivity function, highly instructive, but at around 9 minutes, the author says that the maximum of the...

I watched this video about the sensitivity function, highly instructive, but at around 9 minutes, the author says that the maximum of the sensitivity function should be between 1.3 and 2. https://www.youtube.com/watch?v=BAWdZvF1O40 What's wrong with having a sensitivity less than 1.3 ? Regards

## Sine Wave autocorrelation, interpolation of phase

inHallo. For the purpose of measuring complex impedances i need to compare the phase of two copies of a sinewave over a number of periods. The...

Hallo. For the purpose of measuring complex impedances i need to compare the phase of two copies of a sinewave over a number of periods. The sinewave is generated in the same µC. Frequency is known and stable. The original and the shifted signals are sampled by a double synchr. ADC. The phase shift is the base for calculation of the complex Z of a load. I have implemented an (auto-)correlatio...

## Hah! Why 5-lug wheels balance

inQuite some time ago I handed y'all a quandary, to wit, proving that sum_{\theta} cos(\theta) = 0, when \theta is evenly distributed on a...

Quite some time ago I handed y'all a quandary, to wit, proving that sum_{\theta} cos(\theta) = 0, when \theta is evenly distributed on a circle and there are an odd number of them. (It's even if there's an even number of them -- you've got this nice pairing of cos(this) + cos(-this) = 0, and the proof is a few lines.) So, I ran across this page:

## polynomial fitting for COMPLEX data

inA package which calls itself "an industry-leading scientific graphing and data analysis software" suggests breaking the samples into real and...

A package which calls itself "an industry-leading scientific graphing and data analysis software" suggests breaking the samples into real and imaginary parts, and fitting curves to each. Hmmmph. I guess it is not a common task that they could be bothered coding. Now surely, one can just set up the Vandermonde matrix, where the elements are the sums of x, x squared, x cubed et cetera. Or wi...

## Unclipping

inI have lately become interested in the processing of audio signals recorded at too high a level, and so have clipping. First, I have a signal...

I have lately become interested in the processing of audio signals recorded at too high a level, and so have clipping. First, I have a signal that clipped at five samples (but only in one channel). The easy fix is to convert to a mono signal with the unclipped channel, but I might try to interpolate new values for the clipped samples. But I have another one that has about 17000 clipp...

## Theory for convolution

inHere's a mind-challenge with no solution as far as I know. Maybe someone he= re will have an idea.=20 Let's say I have a continuous...

Here's a mind-challenge with no solution as far as I know. Maybe someone he= re will have an idea.=20 Let's say I have a continuous discrete-time signal that is 5 seconds long w= ith the Dirac impulses occurring once per second starting at 0. Now lets sa= y that I multiply this signal by a rectangular pulse that starts at t=3D1/2= and ends at t=3D4.5, so the first and last sample are 0. Ther...

## Sample Rate of a Digital Audio Delivery Medium (i.e., CD)

inPerhaps I'm forgetting something, but why would the sample rate of the digital audio delivery medium such as CD have _anything_ to do with...

Perhaps I'm forgetting something, but why would the sample rate of the digital audio delivery medium such as CD have _anything_ to do with the ease of sampling the original signal? It is certainly true that it is better to oversample the original analog input so that the antialiasing filter requirements can be greatly relaxed. However, once we're in the digital domain we can run some very ...

## CORDIC

inI don't think I've ever really dug into the CORDIC algorithm enough to appreciate the logic involved. I do recall coming to the realization...

I don't think I've ever really dug into the CORDIC algorithm enough to appreciate the logic involved. I do recall coming to the realization that the shift and add/subtract algorithm is not overly different from a multiplication, so I had trouble understanding why touted as a way to avoid the use of a multiplier. Looking at it harder, it would appear that the level of complexity is th...

### Ask a Question to the DSPRelated community

To **significantly** increase your chances of receiving answers, please make sure to:

- Use a meaningful title
- Express your question clearly and well
- Do not use this forum to promote your product, service or business
- Write in clear, grammatical, correctly-spelled language
- Do not post content that violates a copyright