instruction stringlengths 31 27k |
|---|
Say input-output of a system is defined as:
$$
x[n] \longrightarrow x[nM]
$$
then what will be the output of $x[n-1]$?
will it be:
\begin{align}
x[n-1] \longrightarrow &x\left[(n-1)M\right] = x\left[nM - M\right]\\
&\textrm{or}\\
x[n-1] \longrightarrow &x\left[nM - 1\right]
\end{align}
And if someone says shift a sig... |
I was building my cognitive engine for a Cognitive Radio and, first things first, I have to make my CR aware of the environment by sensing the spectrum.
I read about Matched Filter Detection, Energy Detection and Cyclostationary Feature Detection: while I found plenty of libraries for machine learning, I did not found ... |
I need to calculate the following linear convolution
$$ y[n] = h_1[n] \circledast h_2[n] \circledast h_3[n] \circledast \cdots \circledast h_{k-1}[n] \circledast h_k[n]$$
where $k$ exceeds $5000$ and the length of each $h_i[n]$ exceeds $100,000$. I tried the method which is based on the circular convolution/DFT but ... |
I'm relatively new in Computer Vision and I need some advice with respect to the general possibilities and shortcomings of images taken in the near infrared (NIR) range. I passed a great deal of time researching about that matter but I rather found specific papers in areas like pedestrian detection and face recognition... |
This will be maybe quite easy fore somebody but I am not sure how to solve it. If I have a signal which is equal to
$$
y(n)=x(n)\star g(n), \quad n\in[0,1,...,N]
$$
where $\star$ is convolution operator, how do I get expression for taking every $K^{\textrm{th}}$ sample of $y(n)$, i.e., $y(Kn)$?
|
When using pwelch algorithm in MATLAB for a signal with $N$ samples,
Is there a good rule of thumb for determining the length $L$ of the sections (second variable for the function)?
And assuming my input is a voltage signal , what are the measure units I get for $10\log_{10}(P_{xx})$ where $P_{xx}$ is the output sign... |
Assuming that filtered signal $y(n)$ is given as
$$
y(n)=x(n)\star h(n)=\sum_{m=0}^{2N-1}x(m)h(n-m), \quad n \in[0,1,\ldots, 2N]
$$
where $\star$ is convolution parameter. $x(n)$ is discrete signal of lenght $2N$ and $h(n)$ is filter of the same lenght as $x(n)$. If I want to take for example $N$-point FFT of $y(n)$ h... |
http://zone.ni.com/images/reference/en-XX/help/371025N-01/loc_eps_rectangular_modulation.gif
I just wanted to make sure that my assumption that in this figure $\phi(t)$ is representing $m(t)$, and $R(t)$ is the amplitude of the carrier frequency is correct.
|
I am dealing with signals that are a superposition of different square waves with different amplitudes and phases. Normally, one would decompose a signal into sine waves with help of the Fourier transform, but in this particular case a decomposition into square waves would be much more effective. A Fourier transform wo... |
Does there exist any straight-forward theory that can explain what happens to colored noise that passes through a static non-linearity? That is, if you have colored noise
$$v = H u \, , \; u \sim N(0,\sigma)$$
generated by driving an LTI filter $H$ by white noise, and pass it though a static non-linear function $y = f(... |
I'm currently working with audio where I apply an Hann window before running an FFT on a sample window of 4096 samples. I've been told that since I'm applying a Hann window I also need to overlap each FFT by 50%, however I can't seem to find a clear explanation of the steps involved in applying an overlap. Could anyone... |
I am trying to know if filtering a sequence with a matched filters gives a gain equal to the sequence length, he are the calculus, is it correct ?
In my model $s$ is a deterministic complex sequence (lets say RRC pulse shape samples for a QAM modulation), $v$ is a complex white circular gaussian noise.
If it is correct... |
I was studying the introduction to wavelets and its benefit over the frequency domain. I said that:
Fourier analysis can't localize signals both in time and frequency
domain. Fourier analysis can localize signal in frequency domain very
well, but not so much in time domain. While wavelet has the advantage
of loc... |
Assume I have a signal(BPSK) and it has a certain amplitude. I would like to add a noise with a certain power to it. Assume I am using coding rate Rc as well. One method I am thinking would be to consider
EbNo="value" Eb=sum(signal.^2)/(length(signal)
sigma^2=Eb/(2*Rc*EbNo);
noise=sqrt(sigma^2)*randn(1,length(signal)... |
I'm trying to learn some of the basic MATLAB filter design functions and have been experimenting with the butter function. This function calculates the transfer function coefficients of a Butterworth filter given a desired filter order and normalized cutoff frequency.
I have previous experiences with designing prototyp... |
When a complex digital signal is converted to its spectrum through an FFT, the result will contain a series op positive and negative frequencies. That is, when the spectrum has N bins. Bin 0 will be the DC, bin 1->N/2 will be the positive frequencies and bin N-1 -> N-N/2 will be the negative frequencies. In this case i... |
So I got some oscilloscope captures for a project I'm doing and I'd like to find a phase shift between them because I don't trust the scope calculation.
So I extracted data from a .csv file and loaded it into Matlab and now I'd like to find a phase shift using FFT (I think). Is there a way to do this even though the s... |
How should we conduct a perturbation test for an LTI unknown system by perturbing the input to see the output response i.e. How many different perturbation step size should be given to the input?
|
Suppose you have sampled a signal and you know amplitude $ \alpha_i $ and frequency $ f_i $ of the main components for the decomposition:
$$
y(t) = \sum_{i=0}^N{\alpha_i\cos(2\pi f_i t + \phi_i)}
$$
Which methods would be the fastest and the most accurate to calculate the phase vector $ \phi_i $?
Boundaries:
Signal sa... |
Can every possible nonlinear time-invariant Volterra series be represented by a Volterra series?
If not, which ones can?
Also, are there any time-variant systems that can be represented by Volterra series? I don't see how from the equation, but want to be sure I'm not missing something.
|
Let's say I have used MATLAB's butter function to generate a 3rd order, low-pass, Buttersworth, digital filter. I have a sample rate of $2000\textrm{ samples/second}$, and I want the cutoff frequency to correspond to an analog frequency of $700\textrm{ Hz}$. Because MATLAB defines its normalized frequencies as percenta... |
I recently found this implementation for widening a stereo signal by Michael Gruhn.
http://www.musicdsp.org/showArchiveComment.php?ArchiveID=256
I've implemented this myself as follows:
void Voice::WidenTheStereoImage( double *a_dInputBufferLeft, double *a_dInputBufferRight, double *a_dOutputBufferLeft, double *a_dOutp... |
I am the moment looking for a dataset similar to the caltech 101, but in this case for different phrases, words and so on... In general just words.
Does someone know if such dataset exist, or I have to create it myself...
|
I am developing a loudness meter conforming to the EBU R128 recommendation.
Currently, it works with stereo files but not with mono files.
In the ITU Recommendation, where the metering algorithms are defined, weightings for the individual audio channels are given (table 3, page 6). From that, I assumed that the weight... |
Suppose I have transfer functions for two continuous causal linear-time invariant (LTI) systems:
$F_1(s)$ and $F_2(s)$.
Let $D\left\{\cdot\right\}$ denote the function that maps a transfer function from the continuous-time domain to the discrete-time domain (as another transfer function via the $z$-transform) using ZO... |
This is a rather general set of questions.
I'm interested in knowing up to what orders, direct form FIR filters are considered useful for practical applications (both in hardware and software)?
What if fixed-point arithmetic is used?
Are FIR filters with several hundred or thousand fixed-point taps suitable for som... |
This answer says that when calculating the DFT on a real valued signal, the (roughly) second half of the bins are the complex conjugates of the first half of the bins. Firstly I was curious if that is true?
If it is true, it seems like for frequency analysis purposes, you could forgo calculating the second half of the ... |
So I have built code for an Unscented Kalman filter that can take any specified state and measurement dynamics. I have tested it on various linear problems and it works well, as expected. The main concerns I have is applying this filter to nonlinear parameter estimation problems.
When I have applied it to problems wher... |
In this course (Coursera: Audio Signal Processing for Music Applications) the professor uses an example of obtaining the DFT of a complex sinusoid:
\begin{align}
x_2[n]&=e^{\jmath\left(2\pi f_0 n+\varphi\right)}\quad \textrm{for}\quad n=0, \ldots, N-1\\
X_2[k]&=\sum_{n=0}^{N-1}x_2[n]e^{-\jmath2\pi kn/N}\\
&=\sum_{n=0}^... |
I am trying to develop an automated OCR system for images obtained from the internet. The images mostly consist of computer generated text imposed on a background, so the OCR should produce near perfect results. However, the texts vary in color, and the background its imposed on can be of different colors too or even p... |
I am creating a dataset, where in many speakers are recording their speech signals using different microphones and in different environment. I would like to evaluate the quality of audio and discard the audio of poor quality. Kindly give leads towards goods measurements (like SNR, PESQ(with reference)), so that a cle... |
I'm trying to fit some data belong to a sum of sines function (Fourier sparse) in MATLAB, however, the number of terms of sine function in MATLAB is limited,i.e. to $1 \leq n \leq 8$. However, I want more terms in my fit functions, i.e. over $50$ terms. By the way I do not intent to recover the signal using Compressive... |
Inverse DFT is given as:
\begin{equation}
y_n=\sum_{k=0}^{N-1}Y_k e^{j\frac{2\pi nk}{N}}\tag{1}
\end{equation}
and knowing that Fourier transform of a real value signal has Hermitian symmetry property, i.e., $Y^*_k=Y_{N-k}$ with $\frac{N}{2}$ positive and $\frac{N}{2}$ negative frequencies, Eq. (1) can be rewritten in ... |
So I know In-phase and Quadrature (IQ) data can be used to analyze changes in both phase and amplitude of the signal. I also know that if I know the I component of the signal (which I could get by measuring it with one oscillator), I could digitally get the Q component using Hilbert Transform. However, I know there are... |
Clicking on the links I find on the web it seems many authors don't express them
neatly enough for me or they're even confusing the two. Can someone please clear this up?
Is frequency modulation
\begin{align}
&\rm \sin((frequency+modulator)time-phase)\\
&\qquad\quad\textrm{or is it}\\
& \rm \sin(frequency*time+mod... |
Every LTI system with a $\mathcal Z$-domain transfer function that is a rational function - aka a quotient of two polynomials in $z$ - can be implemented using a bounded amount of memory.
Is the converse true? That is, are there any LTI systems that can be implemented using finite memory that do not have a transfer fun... |
Please, explain in layman's terms,
Why do we need a Homomorphic Filter?
In what kind of situations should we use Homomorphic filtering?
What kind of images need Homomorphic filtering?
|
I have implemented RLS algorithm using adaptive filter on TMS320C6713 DSK.I want to calculate the signal to noise ratio.
In this forum I found a method that I should input a speech signal with a silence portions in between.
From the output of the adaptive filter I took sample of the silence considering it as a residu... |
I'm trying to learn something more about Wiener Filters and I can't find anywhere what happens when I feed a Wiener Filter with a non WSS process. Could anyone give me an explanation or any book (specifically, which chapter/s) that explains that?
Thanks!
WSS: Wide Sense Stationary
|
I found a codec with audio DSP, ADAU1772. It supports 32 biquads, that is $32\cdot5=160$ parameters.
I need to calculate filter coefficients on-line. The result is in transfer function form, i.e.,
$$[a_1, a_2, \cdots, a_{m-1}, b_0, b_1, \cdots, b_{n-1}]$$
If I want to use an audio DSP, I must transform the result into... |
I'm using pyaudio to record sound and return the peak frequency of the recorded sound.
In one example, I use a sound card with 2 channels (stereo), and the peak frequency detected is the correct frequency. I'm testing it with a tone generator app.
Here's the code that I've used:
import pyaudio
import numpy as np
from s... |
With regards to multirate processing, what are the benefits of having a 'slower' sampled signal?
Let's say I have a continuous signal
$$x(t) = \cos(2\pi\cdot3t) + \cos(2\pi\cdot 7t)$$
and it is sampled at $10\textrm{ kHz}$. Obviously the sample rate is overkill for the underlying signal. I've started reading into mult... |
I have a question regarding the frequency response of digital filters. Specifically the phase aspect of the frequency response.
Why do we not seem to care about the nonlinear phase response in certain applications?
Is it possible to correct the phase distortion if we are filtering offline (i.e. not in realtime)?
Giv... |
I am trying to get the phase of a signal with Hilbert transform. However, I found that the unwrapped phase was not correct because the Hilbert transforming using the hilbert function in MATLAB is not correct. The simulation code shown as below:
t=0:0.001:3;
realphase=30*cos(5*t); %signal phase
x=cos(realphase); %signal... |
I obtained the autocorrelation function of a sum of two signals:
as
but I want to know what is the normalized autocorrelation of above equation?
|
What happens if the noise has no zero mean? I mean, if the exercise is something like:
$$y(k) = A x + \eta(k)$$
When I have zero mean, I start from:
$$y = A x$$
$$\Rightarrow \hat{y} = A \hat{x}$$
Using algebra, I to get to this equation:
$$A^H y = A^H A \hat{x}$$
But what happens if it has no zero mean? I have to use ... |
I have a discrete $2N$length signal $y[n]$ which I want to downsample by a factor of $F=2$. In order to avoid aliasing (since I assume that my original sampling rate is exactly equal to $2f_{max}$,i.e., there is no oversampling) I use anti-aliasing filter before downsampling. Filtering corresponds to convolution in tim... |
There are lots of spectrum estimation techniques, each with some pros and cons.
Algorithms like:
Music
Welch's method
Yule-Walker AR method
Periodogram
modified covariance method
multitaper method (MTM)
Spectrogram using short-time
Fourier transform
Burg method covariance method
and many many other.
However I do ... |
For a non periodic signal, in the first one second the frequency of a particular amplitude (value) may be of 4 Hz, and then in the next one second it may or may not be 4 Hz. Then which value of frequency should you consider?
|
I'm a beginner. I try emulate analog signal conversion to digital (including sampling by time and quantizing by level) using Python. Here is my code:
import numpy as np
import matplotlib.pyplot as plt
time_of_view = 1.; # s.
analog_time = np.linspace (0, time_of_view, 10e5); # s.
sampling_rate = ... |
I would like to know can anyone suggest me techniques to estimate the SNR for a given noisy signal. I do not know the amplitude of my signal but I do know that noise is Gaussian.
I have tried to do estimation in frequency domain where I simply take the FFT of the signal and find the dominant peak and find the power as... |
I have two questions:
If the FM radio at the receiver mixes with a another frequency to bring down the carrier frequency, wouldn't that affect the message signal?
In today's digital world, why the FM radio still uses frequency modulation (FM) and not FSK?
|
As I understand,
A local mean filter is the one in which we take a pixel and calculate the mean of color-values of the pixels around them (but in a certain range of area) and the center pixel is replaced by that mean value.
The filter always has a specific size. For instance, 3x3, 5x5, and so on.
The filter sweeps the... |
I had some problems with scalloping and spectral leakage. I think I solved that.
I wrote an algorithm in C++ using FFTW3. It works. But now I want to show when you get scalloping.
It took me some time to really understand what is going on. To understand that a rectangular window has a sinc function as the DFT. And that... |
Strictly speaking, the $x$ direction derivative should be the difference between the left and right pixel of each pixel. So, then I should be using a $1\times 3$ filter:
\begin{bmatrix}-1&0&1\end{bmatrix}
If that is so, why is the Sobel operator a $3\times 3$?
\begin{bmatrix}-1&0&1\\-2&0&2\\-1&0&1\end{bmatrix}
Is it so... |
I have a video clip that has a frame rate of 25 fps (MJPEG compression) and an audio clip with a sample rate of 48kHz. Both of them play for the same duration - 27 seconds.
Is there any standard way to sync the two signals of different sampling rates if I wish to write them to file?
If this is not doable cleanly in MA... |
I am plotting spectrum of BPSK signal just series of -1 and 1, and I can see random peaks (looks to me to be random) at various locations but I am really confused if I do not multiply my signal by carrier shouldn't the peak of bpsk modulated signal be at DC? If not then how to identify the exact location that peaks sho... |
I am having trouble understanding the exact derivation of the butterworth filter and how it results in the output of the poles. I have researched multiple lecture series and textbooks and this is my understanding so far:
An idealised low-pass filter, i.e. a brick wall, can be realised with the equation below as as $n$... |
I am a newbie to DSP, and have what seems to me a fundamental question.
I have a discrete-time sequence $g[n]$ of length $N$. I am supposed to pass this signal through a root-raised cosine filter $h_1(t)$ with a cut-off frequency of $F= 1/T$, to obtain a continuous time signal $x(t)$:
$$
x(t) = \sum\limits_{n=0}^{N}g[... |
I'm building a raytracing engine to get an approximation of the impulse response of a room, but the problem is that I don't really understand what to do after the ray tracing.
After I get all the reflections that collide with the receiver, I get all the rays with their acoustic energy and collisions time. But how do ... |
I need to apply an FIR filter on chunks of very long signals. I can use MATLAB's filter function as follows to preserve the state of the filter when a new chunk of data is available:
[y, state] = filter(b, 1, x, state);
where b includes the coefficients of my FIR filter. However, b is fairly long and even each chunk o... |
I have started making a project involving FFT to some accoustic signal(so far I completed some theory), with a DSP processor, and according to some calculations, make the output going to a bluetooth (or any other wireless device) chip, which will transmit to a bluetooth receiver.
So far I have seen wireless chips, and ... |
I have been reading on conjugate quadrature filters (CQF). The linked article explains that, if we have a lowpassfilter $h_0$, we can create a set of filters for a perfect reconstruction filterbank. The analysis highpass filter $h_1$ and synthesis low pass/highpass filters $f_0$ and $f_1$ can be generated as follows:
... |
I am having trouble specifying the transfer function of the following system as seen below:
From the initial view I work out the difference equation to be:
$$
y(n) = x(n) - p^Nx(n-N) +py(n-1)
$$
However should the constant before y(n-1) be negative p according to the following standardised equation for a difference eq... |
I am new to signal processing and I am trying to learn myself. To understand what i am interested in, let me show this on example (note that this is just a random example to illustrate). Here is some signal detected from a device:
You can notice there are 3 peaks there, and let's say there is a task to detect times of... |
I am kind of new to laser physics and signal processing, I hope I am in the right place to ask this question. I am also sorry for my not-great English.
I have been asked to study the transverse intensity profile of a laser beam produced by a $\rm He$-$\rm Ne$ source using a commercial webcam. I am placing the webcam s... |
I am having trouble figuring out exactly what is happening the process of downsampling/upsampling and the output in the example given below:
So the 100Hz sine wave is sampled at 2000Hz resulting in a fft output mirror about 1000Hz, the nyquist frequency.
It is then downsampled, effectively sampling this signal at 500... |
Setup
Suppose we have a complex $L\times 1$ signal $\mathbf{x}$ with two tones at (unknown) frequencies and phases defined as:
$$
x_n = A_1 e^{j \omega_1n + \varphi_1} + A_2 e^{j \omega_2n + \varphi_2}
$$
for $0 \leq n \leq L-1$. We observe $\mathbf{x}$ corrupted by additive white Gaussian noise:
$$
\mathbf{y} = \mathb... |
Suppose, I have this kernel.
-1, -1, -1,
-1, 9, -1,
-1, -1, -1
Can this kernel be used in a FFT based convolution? How?
What could be the reason of my failure?
Related:
Image Convolution in Frequency Domain.
FFT Convolution - 3x3 Kernel
|
I dug my old Behringer UCA202 out of my shed and plugged it into a computer. I did some tests and it appears to be working fine... apart from some noise signals on the line input channels. I'm not sure where this type of noise could be coming from; weather it's the computer, the powered USB lead, or the device itself. ... |
I want to detect filopodia (red arrow indicates filopodia in a vessel image).
My strategy is that if $I$ is the original and $J$ is the another image after opening operation. Then, $I-J$ is the filopodia. (See Figure 6 in this paper).
To do this, I want to enhance the very thin lines. How to do it? I also have inform... |
In communication systems, the transmitted signal is often passed through a root-raised cosine filter to avoid, in textbook language, intersymbol interference (ISI). An identical filter at the receiver end processes the signal so that the combined response of the two filters is a raised cosine filter.
The raised cosine ... |
Surely this question has been answered before in parts but I cannot find one solid answer. Ultimately I am trying to calculate the audio delay between two signals I am recording on USB microphones. With no problem I am recording the audio, reading it back into python, computing the cross correlation/convolving, and the... |
Hi I am trying to derive the autocorrelation matrix and I am unsure about how exactly it works. I can see that the $4\times 1$ matrices result in the Hermitiain and Toeplitz matrix? Surely the only non-zero values in each of these is at $n = 0$ which is the variance?
Any help would be greatly appreciated!
|
I have obtained a set of three poles for a third order Chebyshev filter as shown below:
$$p_k=\rm -0.2471+0.9660j,\quad -0.2471-0.9660j, \quad -0.4942.$$
However I am unsure of how to actually implement these into the Chebyshev prototype filter equation?
Any help would be greatly appreciated!
|
I am designing a Chebyshev filter and I am required to calculate the poles of it. It requires $1\textrm{ dB}$ pass-band ripple, a ripple factor of $0.5088$ and an order of $3$.
The equations for calculating the real and imaginary poles are shown below:
\begin{align}
s_k &= \sigma_k + j\omega_k\\
\sigma_k &= \sin\left(\... |
I know that watershed and grabcut algorithms are both common tools for image segmentation. They both seem to rely on predefined markers to form something like a source-sink system and then uses the gradient of the image to find the boundaries.
The largest difference I observe is that grabcut uses a graph structure wher... |
I want to generate a signal which frequency are obtained.
For example,I want the frequency domain similiar to this one:
So I use the following code:
fs =44100;
t = 0:1/fs:4;
f = 800 + 500*sin(2*pi*t);
x = sin(2*pi*f);
plot(t,x)
But using Adobe Audition to visualize its spectrogram.
It looks different from my hope... |
I know that wavelet decomposition equals convolution followed by down sampling by two.I tried to test this on mat lab on haar wavelet. I write the below code and compared with the default wavedec command in mat lab. The code I wrote is shown below.
clear all
clc
h=[0.7071 0.7071];% Haar scaling filter
g=[-0.7071 ... |
I'm trying to reimplement FDMDV in GNU Radio, largely for educational purposes. It consists of 15 PSK subcarriers, 75 Hz apart, 50 symbols/sec each. The center one is BPSK and alternates phase each symbol, and the rest are QPSK and carry the data.
I'm somewhat stuck on how to perform timing recovery if this signal. Sin... |
I have a complex IQ signal: $s = X + Yi$. I know my original $f_0$ was $5\textrm{ MHz}$.
I can calculate the magnitude/amplitude of $s$: $A = \sqrt{X^2 + Y^2}$
and phase, $\phi = \arctan\left(\frac YX\right) $
But how can I reconstruct the signal using this frequency, amplitude and phase data?
I need the output as a ... |
It is well known that it is a good idea to apply windowing to a signal, before obtaining its DFT and viewing its frequency response.
But is it a good idea to apply windowing to the impulse response of a filter, before viewing its frequency response?
Does the answer to this question depend on whether the filter is FIR... |
I'm reading through Digital Signal Processing, Proakis and Manolakis, third edition. I've reached section 3.2: Properties of $\mathcal Z$-transform.
One property is the convolution:
$$x(n) = x_1(n)\star x_2(n) \longleftrightarrow X(z) = X_1(z)X_2(z)$$
Other property is correlation:
$$r_{x_1,\ x_2}(l) = \sum_{n=-\infty... |
I am doing the following question (it is not homework, I am preparing for an exam).
The time discrete signals $x_1(n)$ and $x_2(n)$ is created by sampling the continuous signal $x_a(t) = \cos (2 \pi 300t) + \cos (2 \pi 600 t)$ with sampling frequency $F_s = 1000\textrm{ Hz}$, $x_1$ with anti aliasing filter and $x_2$ ... |
I wanted to know if there is a way to assess the quality of a bandpass filter created by the Remez exchange algorithm. I am using the Remez algorithm to determine the best bandpass filter at a number of different sample frequencies and numbers of coefficients and was wondering if there some easy way to assess the quali... |
I am trying to derive a simple expression for root-mean-square bandwidth $B_{\rm rms}$ for a signal that has flat spectral density over its entire bandwidth $B$. The expression for the $B_{\rm rms}$ is
$$
B_{\rm rms} = \sqrt{\frac{\displaystyle\int_{-B/2}^{B/2} \lvert H(\omega)\rvert^2 \omega^2\, \mathrm{d}\omega}{\dis... |
I've worked through a number of PSK demodulation tutorials, but they all start with a single PSK signal that fills the entire sample rate.
But what if the signal is in the real world? What kind of filter would I use to isolate the particular signal of interest? I guess something that preserves the root-raised-cosine pu... |
I have a signal whose FFT has a one prominent harmonic ($f_1$) and few other harmonics with a lower amplitude. In order to calculate the amplitude of the original signal I can use a well known theorem: a value of $f_1$ divided by half number of data points in the original signal.
But what if I have harmonics $f_2, f_3... |
I'm relatively new to implementing IIR filters in raw programming formats (i.e. C or C++) and I've run into the concept of IIR filter realizations.
So my question: is there a 'best format (works 99% of the time)' for implementing these filters? i.e. an implementation that will typically be 'best' regardless of the app... |
The Wiener–Khinchin-Einstein theorem states that the auto-correlation $(r_{xx}(\tau))$ and spectral density $(S(f))$ are Fourier duals, i.e.
$$r_{xx}(\tau) = \int^{+\infty}_{-\infty} S(f) \exp\left( 2\pi i \tau f \right)\:df$$
This relationship has several assumptions:
-The process must be stationary, i.e the spatial c... |
This might be a naïve question, are these correct statements?
Both amplitude and frequency modulated radio signals nowadays use quadrature modulation and demodulation as a mean to transfer and receive radio signals.
Whenever quadrature modulation is used the sampling rate should be equal to bandwidth.
|
I have been designing a bandpass filter with a passband between $95\textrm{ kHz}$ and $105\textrm{ kHz}$ (using MATLAB's fdatool and scipy.signal.remez in Python) and have noticed that as I increase the sampling frequency the number of coefficients needed to implement my filter increase. I was wondering why this is?
... |
For a large amount of musical audio tracks I am doing the following with every single track:
I am slicing the track into very small pieces whereas each piece represents a note onset event. So the piece begins at a note onset event and ends before the next event starts. The result is having hundreds of very small, typic... |
in the cartoon below
It shows that if we take the inverse Fourier transform of a Hermitian function, real part even and imaginary part is odd we should get a purely real function in the time domain.
I tried to replicate this by taking a frequency response I have, zero padding it making it even for the real and odd in... |
I would like to know what would be the relationship between $E_b/N_0$ and $\rm SNR$ when there is a coding rate of $R_c=K/N$. Normally when there is no channel coding according to this link.
$$\textrm{SNR(dB)} = \frac{E_b}{N_0}(\textrm{dB}) + 10\log10\left(\frac{R_b}{B}\right)$$
However what would happen if I have a li... |
I'm trying to code the basics of an analysis-synthesis system on MATLAB, but I'm getting incorrect results. From the Wikipedia page:
$$
X_k=\lvert X_k\rvert e^{i\angle X_k}
$$
Here's a simple MATLAB code:
y = speech(10:10+127);
yfft = fft(y,128);
spec = abs(yfft);
phase = unwrap(angle(yfft));
Y = spec .* exp(sqrt(-1... |
I am doing offline signature verification for my project. While researching online I found that tha 1D log Gabor method can be used to find Hamming distance of an image. I got stuck in understanding 1D log Gabor. Wikipedia have some information. My question is how can we find the value of $f$, $f_0$ and $\sigma$ of an ... |
Currently I am learning dense optical flow by myself. To understand it, I conduct one experiment. I produce one image using Matlab. One box with a given grays value is placed under one uniform background and the box is translated two pixels in x and y directions in another image. The two images are input into the imple... |
I've seen examples of transforming a linear phase FIR into a minimum phase FIR, but is there a simple process to transform a minimum phase FIR into a linear phase FIR?
I would like to end up with a single FIR of linear phase. If the magnitude ends up being squared during the process (or the number of taps double), then... |
I know that power spectral density of white Gaussian noise is
$\frac{N_0}{2}$.
In a simulation I want to plot a system output and its very important to define the value of $N_0$,I want to know what is $N_0$ and its value?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.