Most Popular

1500 questions
31
votes
1 answer

Kalman filter for position and velocity: introducing speed estimates

Thanks to everyone who posted comments/answers to my query yesterday (Implementing a Kalman filter for position, velocity, acceleration ). I've been looking at what was recommended, and in particular at both (a) the wikipedia example on one…
Stochastically
  • 527
  • 2
  • 6
  • 10
31
votes
7 answers

What is an algorithm to re-sample from a variable rate to a fixed rate?

I have a sensor that reports its readings with a time stamp and a value. However, it does not generate readings at a fixed rate. I find the variable rate data difficult to deal with. Most filters expect a fixed sample rate. Drawing graphs is easier…
FigBug
  • 451
  • 1
  • 5
  • 6
31
votes
5 answers

Is there a technical term for this simple method of smoothing out a signal?

Firstly, I am new to DSP and have no real education in it, but I am developing an audio visualization program and I am representing an FFT array as vertical bars as in a typical frequency spectrum visualization. The problem I had was that the audio…
Michael Bromley
  • 413
  • 1
  • 4
  • 7
31
votes
2 answers

Applying filter in scipy.signal: Use lfilter or filtfilt?

I saw in a SO thread a suggestion to use filtfilt which performs backwards/forwards filtering instead of lfilter. What is the motivation for using one against the other technique?
Bar
  • 437
  • 1
  • 4
  • 6
30
votes
3 answers

Variance of White Gaussian Noise

It could seem an easy question and without any doubts it is but I'm trying to calculate the variance of white Gaussian noise without any result. The power spectral density (PSD) of additive white Gaussian noise (AWGN) is $\frac{N_0}{2}$ while the…
Mazzy
  • 545
  • 1
  • 6
  • 12
30
votes
2 answers

How do I interpret the DCT step in the MFCC extraction process?

In most audio processing tasks, one of the most used transformations is MFCC (Mel-frequency cepstral coefficients). I mostly know the math that's behind the MFCC: I understand both the filterbank step and the Mel frequency scaling. What I don't get…
Andrea Spadaccini
  • 403
  • 1
  • 5
  • 5
30
votes
3 answers

What should be considered when selecting a windowing function when smoothing a time series?

If one wants to smooth a time series using a window function such as Hanning, Hamming, Blackman etc., what are the considerations for favouring any one window over another?
babelproofreader
  • 497
  • 1
  • 4
  • 10
29
votes
1 answer

What is meant by "stochastic sampling"?

What exactly is meant by "stochastic sampling" and is it profoundly different from the regular Nyquist-Shannon sampling theorem? Is it related to sampling a stochastic process?
Phonon
  • 5,216
  • 5
  • 37
  • 62
29
votes
6 answers

Why can so little digital information be stored on a cassette tape?

I had heard that tape is still the best medium for storing large amounts of data. So I figured I can store a relatively large amount of data on a cassette tape. I was thinking of a little project to read/write digital data on a cassette tape from my…
Pouria P
  • 393
  • 1
  • 3
  • 5
29
votes
4 answers

Which time-frequency coefficients does the Wavelet transform compute?

The Fast Fourier Transform takes $\mathcal O(N \log N)$ operations, while the Fast Wavelet Transform takes $\mathcal O(N)$. But what, specifically, does the FWT compute? Although they are often compared, it seems like the FFT and FWT are apples and…
endolith
  • 15,759
  • 8
  • 67
  • 118
29
votes
2 answers

How does resizing an image affect the intrinsic camera matrix?

I have a camera matrix (I know both intrinsic and extrinsic parameters) known for image of size HxW. (I use this matrix for some calculations I need). I want to use a smaller image, say: $\frac{H}{2}\times \frac{W}{2}$ (half the original). What…
matlabit
  • 887
  • 1
  • 8
  • 16
29
votes
4 answers

How many taps does an FIR filter need?

I am looking to design a set of FIR filters to implement a low pass filter. I am also trying to reduce the latency of the signal through the filter so I am wondering what the minimum number of taps I can use might be. I know that more taps can lead…
Tommy
  • 393
  • 1
  • 3
  • 5
29
votes
7 answers

Why do we choose 44.1 kHz as recording sampling rate?

Peoples' ears can hear sound whose frequencies range from 20 Hz to 20 kHz. Based on the Nyquist theorem, the recording rate should be at least 40 kHz. Is it the reason for choosing 44.1 kHz?
new_comer_forever
  • 465
  • 1
  • 5
  • 9
29
votes
5 answers

Good Language for Implementing Computer Vision System / Algorithm / Application?

I am trying to implement a content based image retrieval system but before I do so I would like to get an overview of some programming languages suitable for this task (having good libs and such). Does anyone know some good languages and libs for…
Hans Sperker
  • 867
  • 1
  • 9
  • 15
29
votes
2 answers

Are there alternatives to the bilinear transform?

When designing a digital filter based on an analog filter we usually use the bilinear transform. To approximate a discrete transfer function $D_a(z)$ from analog (continuous) transfer function $A(s)$ we substitute $$z =…
Phonon
  • 5,216
  • 5
  • 37
  • 62