AKA digital signal processing (DSP). A signal is an information-carrying wave, but in the digital sense, a 'signal' refers to either received or transmitted streams/blocks of data, commonly representing real-world quantities such as audio levels, luminosity, pressure etc over time or distance. ...
12
votes
2answers
288 views
Find binary sequences with low peak sidelobe level of autocorrelation function
I would like to find all binary sequences from the specified range, which has low peak sidelobe level of its autocorrelation function.
Here is the solution (this is simplified version of the real ...
6
votes
2answers
85 views
Performance of speech enhancement code for Android app
I wrote a speech enhancement code for an Android App. The algorithm runs on 256 size frames of voice samples. On my PC the code runs per about 5ms per frame, while on my Nexsus 5 it more like 50ms per ...
6
votes
1answer
162 views
Computing a Discrete Cosine Transform matrix
I'm learning Haskell and I needed to work with discrete cosine transform matrices, so I made a program that generates text (usable in WolframAlpha) containing the generated matrix.
The elements of ...
6
votes
1answer
143 views
5
votes
1answer
88 views
Beat detection algorithm implementation
What is the quality of the code I've written? Is it easy to read or is it a low-quality piece of code? Also, is there any way I can improve the algorithm itself (beside changing C parameters)?
...
4
votes
1answer
245 views
Onset detection using FFT
I am using this onset source code and this fft file to try to perform onset detection. Currently the code is working, but as my DSP and C skills are subpar I could use some advice on how to improve ...
3
votes
1answer
178 views
Calculate FFT from windowed time-based signal
I have a time-based signal (Raw signal) sampled at 6 MHz and need to analyze it in freq. domain.
I'm learning DSP and this is very first time I work with DSP. Could you please help to check if this ...
3
votes
1answer
156 views
Python implementation of multidimensional power spectral density with Welch method
I have done my best to write Welch method implementation for python for multidimensional time series and still in the case of one dimensional time series I am getting inconsistent response compared to ...
2
votes
1answer
8k views
Matlab code demonstrating use of fft (Fast Fourier Transform)
I posted the following Matlab script in response to a question on Signal Processing. Here is the questions with my answer.
I am looking for comments on how to make this code more instructive for the ...
2
votes
1answer
594 views
Fourier transformation for review
Could someone be kind enough to review the Fourier transformation below please? I'm especially interested in going about unit testing the code (I don't really know where to begin, beyond applying the ...
2
votes
0answers
86 views
Smoothing matrix for visual representation
I recently started playing around with R and am currently trying to plot GPS data points onto a perspective plot. I have a script that works and I get my desired results out of it and it works ok for ...
2
votes
0answers
25 views
One-dimensional convolution using Data.Vector
As part of some code I've written, I needed to perform a 1-D convolution. This convolution ends up happening quite often, so I wanted to optimise it (in some way other than using a FFT, though I could ...
2
votes
0answers
105 views
Cythonized version of FDCT (fast discrete cosine transform) function, ported from Java
This is my Cython code for an FDCT function (invoked here):
...