# All Questions

17,190 questions
Filter by
Sorted by
Tagged with
5 views

### Need some references on sound quality evaluation and syncing

I have to do a project where I'm receiving the same sound signal from different channels (with different offsets), but they may not be consistent all the time. At any given time, I should decide which ...
31 views

### Why Wiener filter not IIR

I would like to limit discussion to discrete time causal Wiener filter. By definition it is an FIR filter, and it also has optimality under Mean Square Error criterion within the class of linear ...
10 views

### Should PSD be smoothed for SNR computation in frequency domain?

When taking the Power Spectral Density of a short duration signal (say 1 second, sampled at 4096 Hz), should it be smoothed to compute SNR? I want to computed the matched filter SNR, perfectly knowing ...
29 views

### Can Kalman filter remove 50 Hz noise?

I'm dealing with a brain stimulation. My EEG contains large spikes (>3 mV) when stimulation occurs. I want to remove the 50 Hz noise, but I can't use notch filter because it creates large artifacts. ...
10 views

### Inversion problem for big dataset

Suppose my goal is to solve for $x$ in $Ax = b$ using CG method and $A$ is Toeplitz. The problem is that $b$ is extremely large in size and I can't just read in the whole vector $b$ and then solve for ...
12 views

### Convert Analog signal to digital image

I am a freshman studying computer engineering. I read so many books on DSP, Filter Design, Fourier transform(The math is intimidating). I read articles on Nasa telescope reading wave/ray from outer ...
30 views

### Laplace transform of a finite duration signal

Consider the following signal: $$x(t) = e^{-2t}[u(t) - u(t-5)]$$ This signal exists only from 0 to 5 time units. Elsewhere, it is zero. Now, let's find the laplace transform of this signal using ...
6 views

### Given local responses by a bank of equally spaced (log-)Gabor filters, how can we estimate the response of an intermediate-scale filter?

Consider a grayscale image convolved with a bank of 2D wavelet quadrature pairs – in my case, log-Gabor filters. I have eight filters. For simplicity, let's say they are all vertically oriented, and ...
32 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$ ...
23 views

### Probability of bit error

How to solve this question I am getting 1/2erfc(.5) which is not close to any option
25 views

### How to desing a digital filter in python that will run over an uC?

I am trying to implement a digital filter over a uC (it doesn't really matter which filter and which micro controller because I'm looking forward to learn how to do it in the future with different ...
28 views

### ACF expression using FFT method

It is known that the ACF of a 2D digital image can be obtained by computing the inverse Fourier transform ...
37 views

### Building periodic sequences from finite-support sequences

Given a discrete-time finite-support signal x[n] $$x[n] = \left\{ {\begin{array}{*{20}{l}} {{{( - 1)}^n}n}&{{\rm{ }}n = 1,2,3}\\ 0&{{\rm{otherwise}}} \end{array}} \right.$$ And consider also ...
15 views

### How to partition collagen into separate fibers?

I have a picture representing collagen fibers of a tissue: Image is binary consisting of a background (pixels with value 0) and white collagen (pixels with value 1). A zoomed in section of an image ...
39 views

### Real time FFT & IFFT with low pass filter

I am processing the signal from MPU6050. Applying FIR filter in the frequency domain and then taking IFFT to get filtered signal but getting some spikes in the output signal. Searched a lot about it ...
39 views

### Is it correct to assume that $(-1)^n = \cos(\pi n)$ while computing the DTFT of $(-1)^n$?

$\cos(\pi n)$ fluctuates between $-1$ and $1$ depending on the values of $n$, and it would be the same as computing it with an exponential but the problem is that I just get part of the right answer......
13 views

### Does the set of Hermitian Wavelets include fractional derivatives?

According to Wikipedia, Hermitian wavelets, "The $n^{{\textrm {th}}}$ Hermitian wavelet is defined as the $n^{{\textrm {th}}}$ derivative of a Gaussian distribution." Are the wavelets defined by ...
11 views

### Removing striped noise from an image

I was just wondering if anyone could explain to me the approach one would take to removing striped noise from the fourier domain of an image. I was reading an article about MRI image from 1 just ...
28 views

### Can we normalize data to unit variance without distorting the phase?

Consider we have one dimension time samples. The noise in the samples made some portions of the time samples amplitude very high. Obviously the short variance for those time samples will have high ...
72 views

### Optimal trade-off between oversampling and filter length

For some sampling-frequency-preserving operations on Nyquist–Shannon sampled signals, such as: a shift a.k.a. translation, and differentiation by applying a derivative filter a.k.a. gradient filter, ...
38 views

### System identification with limited bandwidth

Given a FIR filter $h[n]$. Its action can described as: $$\mathbf{y} = \mathbf{H} \mathbf{x} \\ \mathbf{y} = \mathbf{X} \mathbf{h}$$ where $\mathbf{H}$ and $\mathbf{X}$ is a Toeplitz matrix. If $h$...
25 views

### Polyphase components Spectrum formula in Discrete time

I am trying to understand the meaning behind some of the components of the formula for polyphase components in discrete time. Note that $\Omega$ indicates discrete in this notation and the formula is ...
3k views

### What is a Kravchuk transform and how is it related to Fourier transforms?

It has been stated here : https://phys.org/news/2019-07-quantum-technology.html that the the so-called Kravchuk transform is very important in the field of image processing and possibly in signal ...
42 views

### Audio Processing Glossary

I'm new to audio processing and I hope here be a good place to ask about the definition of terms in this context. My question is what is difference between sound, audio, voice, speech and tone, from ...
42 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, ...
49 views

### Fractional powers of complex numbers (DSPrelated computation)

I am puzzled by this computation: https://www.dsprelated.com/showarticle/754.php (c.f. quote) Raising $i$ to integer powers results in traversing the unitcircle in the same number of quarter ...
13 views

### Gender classification using Periocular Region

I have a dataset of the periocular region, I have images of the male and female periocular region but they are only labeled as left and right periocular region, Folder is a mixture of male and female ...
25 views

### How to sketch this multirate system spectrum?

In the following system: The signal x(n) is upsampled by 2 and then filtered. The signal and the filter have the following spectrum: After upsampling the spectrum of X would look the same except ...
19 views

### Wignerville of market data

I am trying to get some insight into market data, in this case the stock KO. Here is the chart: If I take the wignerville of ...
40 views

### White noise and its phase after narrowband bandpass filtering

Suppose $w(t)$ is a white noise with uniform spectral density $N_0/2$. It is bandpass filtered to get a narrowband white noise $n(t)$ for $f_c - B_T/2 \leqslant |f| \leqslant f_c + B_T/2$. We write ...
22 views

### Graph Fourier transform: the adjoint notation for the eigenbasis matrix

I already asked this question here but there is no response. I'd like to ask this question in signal processing domain. It is well-known that for a real symmetric matrix $L$ (here, graph ...
26 views

### How to use a size N complex DFT to compute a size N/2 real DCT? [duplicate]

Can someone (maybe @hotpaw?) Explain How to use a size N complex DFT to compute a size N/2 real DCT? Also, I noticed that the DCT matrix (which can be obtained in Matlab by dctmtx(n)) contains dct ...
61 views

### How can I “smooth” square wave/pulse data to remove/reduce harmonics?

First, I have reviewed close-match questions, but can't find something that seems to match what I'm looking for. Also, it's been 30 years since college, so forgive me for forgetting stuff.. :) I am ...
29 views

### High resolution spectrograms

I have a recorded audio signal that I would like to convert into spectrogram with the highest possible yield of information. The audio clips I am working with is about 30 ms long and contains ...
16 views

### SNR computation in frequency domain with scipy.fftpack.fft

I have a noisy time series (gaussian coloured noise) to which I add a signal. I call the sum of noise+signal a segment. In the picture you can see an instance: I want to compute the signal-to-noise ...
23 views

### Method to rescale signals to mean length

I have a set of signals of varying lengths. I have provided an example of the same below - Their lengths vary between 186 to 202, with a mean length of 197. I am looking to rescale them to the mean ...
43 views

### Advantages of an orthogonal filterbank

What are the advantages orthogonal filterbanks such as the DFT or DCT have over non-orthogonal filterbanks? I have heard quite often that they have attributes that are desirable when modifying the ...
53 views

### Practical question about DFT in Matlab

Please consider this piece of code: ...
37 views

### Convex Optimization with ${L}_{1, 2}$ Regularization Term

I have an optimization problem such as follow: $$\underset{X}{\operatorname{argmin}}\sum _s\left \| T_sX_{:,s})-Y_{:,s}) \right \|^2_2 +\lambda\left \| GX \right \|_{2,1} \tag{1}$$ I have introduced a ...
28 views

### How to remove sum and difference terms while computing frequency from fft?

I am currently operating in vhf band AND trying to detect frequencies using Fast Fourier transform thresholding method. While detection of multiple frequencies , i received spurs(May not appropriate ...
37 views

### Relation between $X(f)$ and $S_x(f)$

We know that for a signal $x(t)$, it is related to $R_x(\tau)$ as, $$R_x(\tau) = \int_{-\infty}^{\infty}x(t)x(t-\tau)dt$$. $\\$We also know that $$R_x(\tau) \rightleftharpoons S_x(f)$$ $\\$How do we ...
59 views

### Using Linear Algebra for DSP

I am new to DSP in general, but can one use linear algebra by itself to characterize a signal? My first idea was to transform the signal into a matrix and then use the determinate to characteristic ...
50 views

### Side Lobes in the Magnitude Response of a Low Pass FIR Filter

I have the impulse response (from the filter coefficients) of an FIR filter obtained from MATLAB's "interp" function using the command: [y, b] = interp(x, 5); % where b contains the interpolation ...
23 views

### Why does FISTA algorithm not work for signed signals?

Using the FISTA Algorithm for compressive sensing from https://github.com/tiepvupsu/FISTA, I created the matlab example below. I created 2 sparse signals x_signed and x_pos, where the latter only ...
33 views

### Loudness detection for natural conversation

I'm working on a project where I want to be able to analyze natural conversation as an audio file and determine the points in the conversation where the speech is louder than normal i.e. be able to ...
50 views

### What's the difference between calculating the FFT of a constant sound for 5 seconds versus every 1 second and taking the average?

I'm interested in learning the frequency spectrum of a constant sound. However, there is background noise. My plan is to record the sound for 1 second, take the FFT, and then doing this 5 times and ...
We are currently designing a type 2 compensator $G_1$ (1 pole at the origin, 1 zero and 1 pole) to stabilize a power factor correction (PFC) circuitry. The crossover frequency is low - 2-3 Hz - and ...