instruction stringlengths 31 27k |
|---|
I'm trying to find the optimum filter length for an Adaptive Filtering, using RLS Algorithm.
I'm using this design:
So the "error" signal is the signal without noise (and that's the signal that I want).
If I have $e(n) = d(n)-y(n)$ but $d(n)$ is my desired signal, I need that $e(n) \rightarrow 0$ so I find the optimum... |
Suppose I have the following state space system:
$$
\dot{x}(t) = Ax(t) + Bu, \quad y(t) = Lx(t), \quad x(0) = x_0
$$
where $A$, $B$ and $L$ are real matrices, $u$ is a constant real vector (so that the system is subjected to a step input at $t=0$), and $L$ is just an identity matrix. In addition, it is also known that ... |
Can I add two variances directly? I have my noise variance $\sigma_{noise}=-10 \ \mathrm{dB}$ and signal variance, $\sigma_{signal}=40 \ \mathrm{dB}$. So, can I say the total variance is $\sigma_{total}=30 \ \mathrm{dB}$?
I will use this total variance to generate random variables using a normal distribution with $\mu ... |
I have a simple question that confuses me.
Assume that we have the following results of a measurement campaign, distance (km) and the corresponding path loss $L_{e}$ (dB). I want to estimate the path loss exponent of the simplified path loss model
$$L_{m,\text{dB}} = K_\text{dB} - 10 n \log_{10}\left(\frac{d}{d_0}\ri... |
I'm trying to understand how video compression through dense optical flow works (I'm a newbie with video compression).
I easily understood what optical flow is, the thing I can't understand is why a simple video compression could not just send the parts of a frame marked with a "motion vector" (as you would send only t... |
i would like to present steps for estimation Power Spectrum density using Pisarneko Harmonic Decomposition
i would like to present code for step 1 part
function [vmin,sigma]=phd(x,p)
% the Pisarenko Harmonic decomposition
x=x(:);
R=Covar(x,p+1);
[v,d]=eig(R);
sigma=min(diag(d));
index=find(diag(d)==sigma);
vmin=v(... |
From what I thought I learned about sampling is that when you draw a sampled signal in the frequency domain, you can show copies or "images" of that signal at integer multiples of the sampling frequency. Is this true?
If so, I'm having a hard time understanding this conceptually. What does it really mean to make a copy... |
All my life, I've used cross-correlation to analyze the strength of the relationship between an input signal and the output signal. I use this to determine which input signal most closely influences the output signal:
Yesterday, a friend told me that he uses cross spectral density (same as coherence, he say).
To m... |
Short version:
How to calculate a likelihood of Unscented Kalman filter?
Long version:
Likelihood for linear Kalman filter (KF) is:
$$\mathcal{L} = \frac{1}{\sqrt{2\pi S}}\exp \left[-\frac{1}{2}\mathbf y^\mathsf T\mathbf S^{-1}\mathbf y\right]$$
Other words likelihood of KF depends on residual and uncertainty:
$$\mathc... |
The script essentially pulls PCM data from the sound card and stores them in a buffer. Then I apply fft and graph it. I am looking through this blog post for some examples and ideas on how to implement it myself.
Here is the gist of the script:
self.rate = 48100
self.buffer_size = 1024
...
def get_fft(self):
da... |
I am curious about DFT, and I wrote a simple MATLAB code to test what happens when $N$ increases. I took a rectangular signal with length $L=15$, an then found th DFT of 16, 32 and 64 points. I looked at the plots of the DFTs, however I could not understand why there is difference between them and how zero padding affe... |
I found this description. According to this, the next step is a "binning" where
binning means that each FFT magnitude coefficient is multiplied by the corresponding filter gain and the results accumulated.
What is the exact procedure they are describing?
|
One of the benefits of DWT is that it is an orthonormal transform.
There are statements that the energy of noise component mainly concentrates on the high-frequency (detail) part and distributes homogeneously. The energy of noise component is included in more wavelet coefficients with smaller amplitudes, while the ene... |
Taking into account that Stationary Wavelet Transform (Algorithme à trous) is not an orthogonal transform do we need intermediate approximation coefficients for signal decomposition?
For example, in maximally decimated DWT we have the following decomposition tree:
And according to the conclusions from the MRA (multi r... |
Consider received signal $r=h*s$, where $h$ is the channel and $s$ is transmitted signal. Now from $r$ ( $s$ is known) can we predict $h$ using LMS algorithm under all conditions? I was under impression that both $s$ and $h$ needs to be stationary to estimate $h$ properly. In case, $h$ is sparse (few non zero only) LM... |
I'm trying to build a "perfect" low-pass filter as an exercise to test that I've understood some basics in signal processing.
I've computed the required length of a sinc function such that at either end the value is 0 for a given integer bit depth of output. For example, 16-bits would require a filter that is 41722 tap... |
I am reading a paper on measuring respiratory patterns from video data. In defining the model, the authors formulate the problem mathematically as:
$x_i(t)=h_i(t) \ast g(t) + n_i(t) $
Where $n_i(t)$ is a zero mean noise. My question is why do we model the pixel data as having zero mean noise? What prevents it from ha... |
Related to High audio frequencies in television broadcast
My cell phone samples at 48000 samples/sec so the FFT app I installed can only detect frequencies up to 24 kHz.
If anyone has an audio frequency analyser that can go higher, would you please use it on a digital TV advertisement for Amazon Alexa and see if they a... |
On what basis, N of N-point-fft is chosen? What can go wrong if I don't select it to be power of 2? How is this N related to sampling frequency?
|
Despite the signal being real, as is seen in the last line of the first picture:
, the exemplary spectrum of the signal shows neither an even real nor an odd imaginary part:
But from my theorems I know that for every real x(t) the real part of the Fourier-Transform is even and the imaginary part of it is odd?
|
Let's think we have a multivariate normal distribution with
$$\mathbf x_1=\begin{bmatrix}x_{11}\\x_{12}\end{bmatrix},\quad \mathbf x_2=\begin{bmatrix}x_{21}\\x_{22}\end{bmatrix},\quad\mathbf m=\begin{bmatrix}m_1\\m_2\end{bmatrix}, \quad\text{and}\quad\mathbf S.$$
Where $\mathbf m$ is the mean, and $\mathbf S$ is a $2... |
Let's say I have an image, which is NxN pixels in size. If I calculate the fourier power spectrum of this image, I get NxN values, with the highest distinguishable frequency at +- N/2 in each direction.
Let's also say I wanted to get a histogram of power over frequency, because I want to know which frequency carries wh... |
I have a signal (saved on disk) that I would like to take the Hilbert transform of, but it's too large to fit in memory (all at once). I would like to cut it into blocks and take the transform of each block. I'm not super familiar with the Hilbert transform and I was wondering if there was some sort of padding or windo... |
I am working on a project to detect drivers drowsiness with EEG signals. I am using the frequency values retrieved by FFT. I have some outliners (artifacts) in my signals, which I don't want to remove manually. I am doing some things automatically, but I can't catch every single outliner.
Right now I am analyzing a 1 s... |
I am trying to understand leakage phenomena when using DFT. In the following I am reffering to Lyons: Understanding Digital Signal Processing (2nd ed.), p.69-71.
Having real valued cosine with $N$ samples as an input, the amplitude response of N-point DFT can be approximated by (in terms of bin index $m$)
$|Y(m)|\appro... |
First time in this stack...
I am doing some audio analysis. I have a spectrogram ($N\approx 33000, M=1024$) and I need to run an NMF algorithm on it. I am using the Scikit learn implementation. And the code on Github.
Immediately, what strikes me strange, is if you look at the fit_transform functions, the returned sig... |
I have a simulink model over 2.4GHz.
In the transmitter part, the modulation is O-QPSK modulated baseband instead of passband modulation.
In Matlab Help this is the reason of using baseband modulator instead of passband one .
But I still can't understand how can linear channel be represented as baseband system as ... |
I am working on the ranging signal which is similar to the time delay estimation part for the signal processing, and I am looking for good sources which can help me to answer these question:
When you receive the signal and you want to determine time domain, what would you use of that signal?
You receive the signal, yo... |
I'm trying to figure out if there is a direct relationship between these concepts. Strictly from the definitions, they appear to be different concepts in general. The more I think about it, however, the more I think they are very similar.
Let $X,Y$ be WSS random vectors. The covariance, $C_{XY}$, is given by $$C_{XY}=... |
This is a biquad implementation I use:
float my_biquad(float in, float *coeffs, int scalefactor, float *delay)
{
float out = coeffs[2] * in + delay[0];
out = out * (float)pow( 2, scalefactor );
delay[0] = delay[1] + coeffs[1]*in - coeffs[4]*out;
delay[1] = coeffs[0]*in - coeffs[3]*out;
// ... |
As someone who is new in working with filters, why do signals need to be averaged? What are the advantages, by performing filters on signals? As I know, there are different types of filters for signals, is there some sort of schema, which filter for which signal do I have to use?
I am sorry, if my question sounds som... |
I want to find the power spectrum $\tilde{Q}(\omega)$ of a quantity $Q(t)$. The values of $Q$ are computed at discrete time steps so I have a series $Q(\Delta t)$, $Q(2 \Delta t)$, ... of values, but the calculation at each time step is independent rather than (for example) needing to know the value of $Q(\Delta t)$ in... |
I have this pattern in the first image which I want to find in the second image. However the two images are totally different so I just need to find the closest set of indices where these two images match. So how to go about it? Are there existing algorithms doing the same?
|
What is the derivative (in the engineer's sense) of the causal function $f(t)\theta(t)$, where $\theta$ is the Heaviside unit step function?
I've seen the formula $f'(t)\theta(t)+f(0)\delta(t)$, where $\delta$ is Dirac's delta. This looks like a kind of "product rule": differentiating the product gives $f'\theta+f\the... |
I think i am not understanding the concept of convolution well.
Lets say we are given a system impulse response in the S-domain, and we have implemented a controller $G_c(s)$ that will adjust the system response to some kind of input. Now when we are implementing this controller say using an operational amp. circuit al... |
Through the differentiator, the frequency response will be $j \omega X(j\omega)$, but what about through a mixer with $\sin(\omega_ct)?$
Will it be
$$\frac{1}{2j} j\omega\left[X(j(\omega-\omega_c))-X(j(\omega-\omega_c))\right]$$
$$\text{or}$$
$$\frac{1}{2j} j(\omega-\omega_c)\left[X(j(\omega-\omega_c))-X(j(\omega-\o... |
Can anyone help me with the demodulation technique of a modulated signal? I mixed it with I/Q signal. But I am very confused about low-pass filtering. I am trying to apply a low-pass filter, but I am not getting the baseband signal. What kind of filter can I use to get demodulated baseband signal?
My carrier frequency... |
For a given signal, I've been told that you can pad the vector with $0$s at the end to get a larger DFT, and as a result get more precision in frequency bins.
What are the limits to this approach?
Is there a loss of accuracy when you do this?
Or if not, why wouldn't you just use a small number of points and pad with ... |
What I did was take the fourier transform of both $x(t)$ and $y(t)$ and then divided $Y(j\omega)/X(j\omega)$. So
$$Y(j\omega) = \frac{2}{1+j\omega}-\frac{2}{4+j\omega}\quad\text{and}\quad X(j\omega) = \frac{1}{3+j\omega}$$
However, the answer is of the form: $\displaystyle \frac{A_1}{1+j\omega}+\frac{A_2}{4+j\omega}$... |
I am working on finding the center and radius of a laser spot, which I plan on doing by using the HoughCircle algorithm in opencv 3.2 for Visual C++.
One of my sample images is a very well defined spot, but the returned Hough circles are very different from what I expect. Below is a screenshot of the original and proc... |
I am not exactly working with blood vessels, but my problem is similar enough that I think someone who does work with blood vessels can answer this question for me.
I have several GPS points of a car driver going through a city. I would like to reconstruct the city map from these points.
The problem is that, unlike tra... |
What are the advantages and disadvantages of using VOFDM over OFDM?
I know that one advantage is frequency diversity, what are others?
edit : By VOFDM I mean Xia's method as shown here.
|
I know that it's possible to design an IIR with specific poles and zeroes to create specific frequency responses.
Is it also possible to design an IIR such that when you give it an impulse, it generates values of a desired sequence? Or at least a sequence within some tolerance of those values?
|
I have the following code which generates a single simple sine wave with amplitude $1$ and then calculates the Fourier transform, normalises it, and finally takes the sum of all the components.
However I've observed something strange, if I generate a $10\textrm{ Hz}$ wave and a $100\textrm{ Hz}$ wave. The amplitudes a... |
I apologize for the obscure phrasing of the title of the post...My question is quite simple...
Let us imagine an audio signal (any song will do). We want to apply the Short Time Fourier Transform algorithm, so we break our signal into frames and view each frame through a window. For the sake of the example let us assum... |
I have separately computed the cepstrum and the energy of a finite discrete-time signal. If the energy of the signal is high, we would expect (on average) larger cepstral values than if the energy of the signal is low. I am therefore interested in normalizing the cepstral values by the energy in some fashion to adjust ... |
I am currently trying to understand mathematically the amplitude shift keying modulation technique. My question is, say I wanted to compute the Fourier series of a basic pulse train, it is quite simple since it is periodic. But in digital transmission (Unipolar) the signal is random, how does one compute the spectrum o... |
As a follow-on to this great question...
I'm trying to implement the model in the referenced article (and referenced Wikipedia article), but I'm not getting the results I think I should be getting. Ultimate I would like to take this example and marry it with intermittent GPS data so as to simulate accelerometer failov... |
I've forgotten how to get the frequency response function out of a Bode Plot. The phase component of $H(j\omega) = e^{j\pi/2}$, right? But I am having trouble finding $|H(j\omega)|$. How would I get it from decibels?
|
I'm using the code I found here to compute the wavelet transform of a sine wave with a constant frequency.
#!/usr/bin/python2
from pylab import *
import matplotlib.pyplot as plt
import numpy as np
import scipy
x = np.linspace(0, 10, 65536)
y = np.sin(2 * pi * 60 * x)
N = len(y)
Y = np.fft.fft(y)
J = 128
scales = np... |
I am looking for a framework for extracting hand region from the video feed from the webcam(analogous to Viola Jones HAAR detection of face).
This region of interest will serve as input for a CNN for hand gesture recognition, which I have already coded using python and CAFFE.
There are way too many frameworks and I am... |
There is a signal $y[n]$ with a differentiable DTFT $Y(e^{i\omega})$. How do I find the inverse DTFT of $i\frac{dY(e^{i\omega})}{dw}$ in terms of $y[n]$ (where of course $i = \sqrt{-1}$)?
|
Say we have a single-input linear system $\dot{\mathbf{x}} = A\mathbf{x}+Bu$. With full-state feedback ($u=-G\mathbf{x}$), it is straightforward to arbitrarily place the $n$ closed-loop poles (i.e., the eigenvalues of $A-BG$, or the roots of $sI-(A-BG))^{-1}=0$) by selecting the values of $G$.
I'll give a brief exampl... |
I am averaging periodograms from sets of ~15-25 experimentally measured timeseries all of the same length. To do this I am just summing the power in each frequency bin over all periodograms and then dividing by the total power over all the periodograms (I believe this is similar to Welch's Method but here I have many ... |
Notation:
$\mathcal F\left\{a\right\}$ denotes applying the discrete forward Fourier transform to the histogram $a$. Similarly for $\mathcal F^{-1}\left\{a\right\}$ and the discrete inverse Fourier transform.
Capitals represent the discrete fast Fourier transform of the lower-case counterpart, e.g. $A = \mathcal F\le... |
How do I calculate the maximum signal to noise ratio (PSNR) in Python? Is there any library that can calculate PSNR for Image?
|
I am thinking about these terms in the context of linear control.
A transfer function is proper if the degree of the numerator is not greater than the degree of the denominator. I've read often that improper transfer functions are "not causal". I also often see the word "unrealizable" used often in this context.
If a c... |
I have been reading papers related to adding echos into digital audio signals recently. I guess I understood the logic behind, yet I guess I am still having lack of DSP knowledge to figure out everything.
In order to add a single echo delay $\Delta$ into audio signal $S$ using convolution operator, echo kernel $k(n)$ ... |
I have a curve which the asymptotic behavior is the one of a cosinus. I look at this curve on all integers.
I know that the asymptotic curve has this behavior : $$ cos(a*x+b) $$
My question is : how can I determine $a$ and $b$ ?
Indeed I only have samples of the curve, and the samples that I have are not exactly of the... |
I am trying to understand how my iPhone can continually listening for me saying Hey Siri, Alexa, Hey Cortana or Okay Google without quickly draining my battery down.
I imagined two kind of algorithm. One that record slice of time such as 10 ms wide slices each 200 ms and perform a synchronous detection on specific fre... |
I have been trying to use the DSSS spread spectrum technique for audio steganography in MATLAB. I multiplied the PN sequence with the message bits. Now I want to insert this spread message into a cover audio signal. In the time domain, I split the cover audio into blocks and just added the message. But I want to do it ... |
I think freqz in a MATLAB toolbox, is the way to obtain DTFT of sequence.
freqz can calculate frequency response of:
H(z)=(Num)/(Den)
We can easily compute the z-transform of any finite sequence x(n) like this:
H(z)=x(0)z^0 + x(1)z^1 + ...
We know in above expression that the Den, is 1.
Recalling that: freeqz(num,den,n... |
I've been using the Faust programming language a lot lately for experimenting with DSP, and I've been digging into their implementation of an Elliptic (Cauer) Lowpass filter. Here's an example of such a filter with order three.
If you're unfamiliar with Faust, hopefully the example there is still fairly clear: they've ... |
Purpose:
Implementing a noncoherent M-ASK modulation ($M=2$) and comparing the results, $\mathrm{SER}$ vs. $E_s/N_0$, to the theoretical formula. The theoretical formula is not based on differential.
The problem statement:
Unfortunately, my simulation results are not the same as the theoretical.
Update: I added this l... |
I am using the Digital Filter with properties in MATLAB. I have defined the filter object filt(1) as:
digitalFilter with properties:
Coefficients: [20x6 double]
Specifications:
FrequencyResponse: 'bandpass'
ImpulseResponse: 'iir'
SampleRate: 1000
PassbandFrequency1: 5... |
I used Matlab to calculate a sinusoidal function:
Cy2 = 0.0226809015035037 - 0.235834694520537*sin(5.06307730580011 - 2*pi*2*t);
If I choose a set of Matlab generated data:
dt=5.305164999999997e-04;
t=[dt1:dt1:245];
Then conduct FFT on y(t), I have a nice and clean result (black line):
However, if I use my experimen... |
I am currently working on extracting features for speech recognition purposes.
I wanted to try an approach similar to MFCC features in which the center frequency of each band pass filters are placed a distance of x mel displaced of each other.
But instead of looking at the audio in 1d I see it in 2d using the spectr... |
I am looking for an exact analytic description of a filtered signal. I have an electronic circuit whose input is a monoexponential decay. First (1) the signal gets filtered by a simple RC-Lowpass. Then (2) a second order Bessel Low Pass Filter is applied.
The respective transfer functions are:
\begin{align}
TF_{\rm RC}... |
As novice to OFDM, I have a question, related to modulator. Here, I present modulator block diagram, I found somewhere.
OFDM modulator AFAIK, final output signal has to have frequency spectrum consisted of $f_0, 2f_0, \ldots$ components positioned around $f_c$. Because inverse FFT produces complex numbers at it's out... |
Let's say I have two images, one reference($g$) and another shifted($f$). I tried to get subpixel accuracy of the motion. Here are my steps:
Firstly I would calculate the normalized cross-power spectrum $C(u,v)$, where $F$ and $G$ are fft2-ed.
$$C(u,v)=\dfrac{F(u,v)G^*(u,v)}{\lvert F(u,v)G^*(u,v) \rvert} $$
Next I w... |
Can error in digital signal be zero after filtering? I have looked up online to know about this but I could not find a solution.
|
Consider a QAM system designed to transmit over a bandwidth of $3 \ \mathrm{kHz}$. The channel's power constraint imposes a maximum $\mathrm{SNR}$ of $30 \ \mathrm{dB}$. The system can tolerate a probability of error of $10^{−6}$. I want to determine the maximum throughput of the system in bits per second.
Let's call t... |
Ladies, Gentlemen,
Please let me again employee you with my problems. In following program there is only one sinusoid with frequency 256 Hz amplitude 100,000 and phase 0.67 pi rad. Testing frequencies grid is of 1 Hz step, from 0 Hz to 1000 Hz. Output has maximum amplitude 99,221 and phase 0.670561 pi rad at 256 Hz. I ... |
I am trying to simulate a distributed sensing system and I need to filter only frequencies lesser than 500 Hz(low pass filter) from acquired signal with sample rate 1250000 Samples/sec using below mentioned program:
%Time specifications:
Fs = 1250000; % samples per second
dt = 1/Fs; ... |
I have this continuos-time system
$$\dot{x}=Ax+Bu$$
where
\begin{equation}A=\begin{bmatrix}0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \\ 0 & \phantom{0}2.8040 & -\phantom{0}5.2658 & 0 \\ 0 & 18.5885 & -19.6959 & 0 \end{bmatrix}, \quad B=\begin{bmatrix}0 \\ 0 \\ 3.7629 \\ 5.5257 \end{bmatrix}\end{equation}
With the MATLAB function ... |
I read in some places that music is mostly sampled at 44.1 kHz whereas we can only hear up to 20 kHz. Why is it?
|
In a lowpass digital filter if I have passband and stopband ripples, passband and stopband edge frequencies.
Which type of filter, IIR or FIR, will give the smaller filter order?
|
We know that IIR digital filter has nonlinear phase response in general.
How can I linearize the phase response of IIR filter without altering its magnitude response?
|
The OQAM modulation is implemented by up-sampling the symbols by two and delaying the imaginary part of each sub-channel by half a symbol. The signals are up-sampled by M/2 and convolved with the impulse response of the pulse shaping filter u[n].Why should this process being separated into two parts?
|
Given a system which is either non-linear and/or time variant, Is there any systematic way to determine if this system is invertible?
For example how to determine invertibility of this system?
$$\int_{-\infty}^\infty x(5\tau)d\tau$$
|
Inspired by Dr. Sarwate's answer to the question How replicas are formed in Frequency domain when a signal is sampled in Time Domain? , I decided to see for myself the underlying concept.
I interpreted Dr. Sarwate's answer that sampling was a sequential activity. All one needed to do was to multiply an impulse with th... |
One of the problems of my home assignment was this.
If i use the definition to solve this(I'm not seeing other way) i have an expression like $\sum\sum nx[n]e^{-j\omega n}$ on the numerator and $\sum\sum x[n]e^{-j\omega n}$ on denominator. How do i simplify those expressions? The double sum is making me confuse.
Thank... |
I run many times in equations containing the trace of covariance matrix of an adaptive filter input. But it is not really clear what it is.
For example in this paper the input covariance matrix is
$$\textbf{R} = E\left(\textbf{u}_i^*\textbf{u}_i \right)$$
where:
$\textbf{u}_i$ is row vector of input (seems to be regre... |
I'm studying mechatronics and I'm intrested in DSP basics. My lecturer said that there are four basic linear DSP elements:
Adder (and other mathematical operations)
Amplification (shown on diagrams as triangle)
Delay ($z^{-1}$)
Junction
I know from electronics that I can create distortion using for example op-amps an... |
\begin{align}
x[n] &=\begin{cases}
1& \text{for}\quad n \ge 0\\
0& \text{otherwise}
\end{cases}\\
h[n] &= \delta[n] - \delta[n-1]\\
y[n] &= x[n]*h[n]
\end{align}
Find the values of $y[-1]$, $y[0]$, $y[1]$, $y[2]$.
I thought $\delta[0] = 1$ and $\delta[n] = 0$ otherwise, and that $y[n] = x[k]h[n-k]$:
\begin{array}{|c... |
I need to select all pixels in a image that are similar in color to a given one.
My current approach is to get the hsv values for this pixel and calculate the distance to each pixel in the image being
distance = abs(ref.h-pix.h) + abs(ref.s-pix.s) + abs(ref.v-pix.v);
And select the pixels bellow certain distance.
Is ... |
this is a more general version of a question which i asked previously.
From what I understand, the purpose of a filter is to change the amplitude of a specific frequency band.
As I went through the analytic calculation of a filtered (2nd order) signal I observed that the output signal contains an oscillating component ... |
I am considering a straight forward simulation setup in matlab.
I am transmitting a random sequence $\mathbf{x}$ of $\{+1,-1\}$ over a two-tap ISI channel $\mathbf{h}=[h_0 \hspace{2mm} h_1]$. The channel output is the noisy filtered vector $\mathbf{y}=\mathbf{H}\mathbf{x} + \mathbf{n}$.
At receiver, I am implementing... |
This question seems easy to find an answer but I got lost in the end. I am trying to find the threshold for people to understand speech in a noisy environment. For example, assume the background noise is $\mathbf n$ and the speech signal is $\mathbf s$. I wanna know the threshold thr for the speech being recognizable b... |
I have been implementing the paper Blur Detection for Digital Images Using Wavelet Transform and was asking myself how the following formula could reconstruct the edges given a Haar Wavelet transformed image :
$$ \sqrt{LH_i^2 + HL_i^2 + HH_i^2} $$
This formula is on page 2, Algorithm 1, step 2.
I looked at the referen... |
i took the Digital Image processing subject in college and i am a little confused that how i can find out sampling frequency of a video signal given its bandwidth. For example what will be the sampling frequency of a video signal of bandwidth 18kHz or 15kHz.
|
I want to convert given signal into frequency domain and do some calculation and then convert that signal into time domain. Here is the code which I am trying out
Fs = 100; % Sampling frequency
T = 1/Fs; % Sampling period
L = 1000; % Length of signal
t = 0:0.001:1; % Time vect... |
As per the title, I was wondering if there was a $\operatorname{sinc}$ based interoplation formula for reconstructing a signal in the frequency domain which has been sampled with respect the bipolar coordinate system?
For instance, we all know the $\operatorname{sinc}$ based Whitakker-Shannon interpolation formula for ... |
I am working in the filed of digital image processing. Recently I read a paper that plots Grey Level Co-occurrence Matrix (GLCM) of an image for some processing. As it is shown in following Figure
I am trying to plot GLCM in MATLAB using the graycoprops function but not getting expected results.
I am using the follow... |
Let $x[n]$ be a discrete time signal with DFT given by $X(f)=\sum_n x[n]e^{-2\pi inf}$ supported on $[-1/2M,1/2M]$ with $f\in[-1/2,1/2]$.
I can then down-sample to get $y[n]:=x[nM]$. Then, let
$$\widetilde{x}[n]=\begin{cases}My[n/M],& M|n,\\0,&\text{otherwise}.\end{cases}$$
Then its DFT is given by
$$ \begin{aligned}\w... |
This is probably a general principles question, though I'm thinking specifically in relation to sound, which is commonly sampled at a rate of 44.1 kHz in part because the maximum frequency the average person can hear tops out at around 20 kHz.
Given that the sampling theorem says the sampling frequency must be greater ... |
I am simulating a 3rd order SDM and I want to plot the PSD of the output.
As you may know, the output is a sequence of pulses ranging from -3 to +4.
The number of samples is $N$.
The way I approached the problem is the following:
Use fft on the output sequence
normalize (divide by $N$)
Square the above signal.
multi... |
How to verify the function
$$
\frac{e^{j10\pi n}}{10}
$$
is a period/aperiodic function ?
My attempt:
$\omega_o=10\pi\implies f_o=\omega_o/2\pi=5$, which is a rational number. So the given function is periodic.
The fundamental period, $N=2\pi\frac{m}{\omega_o}=2\pi\frac{5}{10\pi}=1$
Is it the proper way to approach the... |
I am reading a paper about High Dynamic Range (HDR) reconstruction. One of the core problems there is how to reconstruct pixel irradiance from multiple observations. Typically, weighted averaging is used; a number of weighting schemes were presented in the literature. In the mentioned paper they evaluate different weig... |
I'm currently working on a project which involves using Accelerometer data. Having searched the internet for techniques in processing the data, I am unable to find simple techniques. Is there any suggestions, of what techniques to use in processing recordings? The data recorded is to do with body motion, walking up-sta... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.