instruction stringlengths 31 27k |
|---|
My understanding is that given an AWGN channel and BPSK modulation, an LDPC decoder that uses message passing takes as input log-likelihood ratios $L$ of the following form by Bayes' rule:
$$
L=\frac{P(a=1|r)}{P(a=-1|r)}=\frac{2}{\sigma^2}r
$$
where $a\in\{\pm1\}$, $n\sim \mathcal{N}(0,\sigma^2)$, and $r=a+n$.
I have b... |
When specifying the properties of a moving average filter, is it possible to specify the number of taps and the cutoff frequency?
My guess is no since taps (the number of samples in a moving average filter) is what determines the cutoff frequency according to the frequency response equation.
If I'm wrong, how is it pos... |
I am trying to implement a pitch shifter similar to this one, in MATLAB for quick prototyping.
My goal is to do the reverse, but I assume it is similar.
The implementation details are missing. So I am trying to piecing them together.
It looks like the phase vocoder and the SOLA methods are the preferred methods. So I d... |
Given the following signal vectors:
$$ γ=[ψ_0,0,ψ_1,0,ψ_2,0,…,ψ_{N-1},0]^T\in \mathbb{R}^{2N}, ϕ=[1,\frac{1}{2},0,…,0,\frac{1}{2}]^T \in \mathbb{R}^{2N}$$
I want to show that the convolution of $γ$ and $ϕ$ is actually a cyclical-shift operator. i.e.:
$$γ*ϕ = γ + \frac{1}{2}T_1(γ) + \frac{1}{2}T_{2N-1}(γ) $$
Where $T_{t... |
I am writing an audio effect based on a second-order filter that adds two samples. The resulting output is clipped. So I multiplied the signal by 0.5, which results in an output that is too low. Since I am process sample-by-sample, I don’t see how you can apply normalization because the peak-values in the normalization... |
For a random signal $x(n)$, why is $E(x(n)^2)$ called signal power? Is it really power? Any proof?
|
I assume that the noise corrupting the sought-for signal is [Edit: Gaussian] white noise of zero mean and unknown variance. Is the optimal solution simply the mean over the realisations (the ensemble mean), or, we can have a better estimate, say, in terms of a smaller root-mean-square-error?
Edit: I found that my quest... |
I am studying Discrete-Time Signal Processing by Alan V. Oppenheim and Ronald W. Schafer. I am confused when it says
periodic discrete signal oscillates more rapidly when its frequency is increased from $0$ to $\pi$
and
frequencies in the vicinity of $\pi$ are referred to as high frequencies
But I don't think it's ... |
I am looking at the transmembrane voltage of a neuron model and would like to investigate this in more detail. The applied current is divided into a deterministic and a noisy component - if I set the deterministic = 0, only the "random" current fluctuations remain - see the attached picture.
For example, we get this p... |
I am implementing DFT in Octave. Here's my code:
function [real_comp, imag_comp] = mydft (samples)
N = columns(samples);
for m = 1:N
real_accum = 0;
imag_accum = 0;
for n = 1:N
real_factor = cos((2 * pi * (n-1) * (m-1)) / N);
# imag_factor = -I * sin((2 * pi * (n-... |
Maybe it's a trivial question, but I couldn't find any explanation for this.
According to the convolution theorem, in the continues case we add normalization factor, i.e.
$$
\mathcal F\left\{h\star g\right\} = \sqrt{2\pi}\cdot \mathcal F\left\{h\right\}\cdot \mathcal F\left\{g\right\}
$$
Do we still need to add a norma... |
I have a question regarding filtering (bandpass in my case) as a preprocessing step before a classification task.
The frequency band I am interested in lies between 0.5 - 22 Hz which results in a 6000th order bandpass filter due to the steep slope needed for the highpass.
The phase response is linear and I use the filt... |
I am having some difficulties understanding LPC and speech processing in general. The professor asked us to provide an heuristic way to select the order of LPC? For example if I wanted to model 3 formants what would be the order I should use? I understand the order of prediction is the number of coefficient used in the... |
The usual answers when asking "why use complex numbers to model measurements?" is usually: (a) Because you are measuring a phenomenon like electricity and magnetism. (b) Because it is super useful for analysis- Fourier, convolutions, differentiation: these are easier on the complex plane.
When discussing seismology, ac... |
I am new to signal processing and I want to calculate the 3 dB - cut off frequency of this FIR filter, which has the following transfer function:
For the evaluation i need to replace the z with and set the squared magnitude equal to 1/2.
But the problem is when I want to solve this for omega zero is the result. My ... |
I am working on C++ project based on Raspberry Pi. I have to make program that recognize siren of emergency vehicle(sound capture by microphone). I made a huge internet research and stopped with small issue.
I try to capture sound by Alsa and then put buffer into FFT to get main frequency of the surroundings. In part... |
I have a system using 16-QAM, with 2.4 GHz, working up to 2 km at different bit rates, e.g. 1Mbit/s.
My task is to provide graph, which will show relation between BER and distance for different bit rates. However, based on that article:
https://www.mathworks.com/help/comm/ug/bit-error-rate-ber.html#bq4230l and adding b... |
I have the following MATLAB code:
audioFile= audioread('myFile');
%% Reshape according to the given distortion period
distortionPeriod = 512;
audioFile= length(audioFile) / distortionPeriod;
audioFile= reshape(audioFile, [newLength, distortionPeriod]);
I noticed the following difference:
audioFileFft = fft(audioFile)... |
I want to write a program to filter a single radio station using SDR. Not for any application just a stepping stone to learn. I am going to use C so it is easier for me to see the steps and things going on rather than them being obfuscated with scipy, matlab fmdemod object or something. I have IQ data from my receiver ... |
Is it possible to define the ergodicity of the random signal in an intuitive sense without using any statistical reference?
|
I'm using the Texas Instrument transceiver cc1101 at 430-440 [MHz] and I'm wondering what the best modulation technique is for long distance transmission.
This transceiver offers several modulation schemes:
2-FSK
4-FSK
GFSK
MSK
ASK
Ook
What should I pay attention to if I want to use the best one to transmit for at leas... |
I'm trying to understand how the encoding of a I and P Frame works.
The I frame is just encoded like a JPEG image.
I'v read that for the P-Frame we need to calculate some motion vectors, apply it to the reference image and calculate the difference between the target and the reference image.
Why do we need such motion v... |
We had a lecture on digital watermark detection using linear correlation. Here it was explained that the linear correlation of two vectors is equal to their scalar product divided by the dimension. So, the larger the scalar product, the larger the linear correlation.
This is not true, is it?
Simple example:
u = [1,2,3,... |
Given a discrete signal $ \left\{ x [ 0 ], x [ 1 ], \ldots, x [ N - 1 ] \right\} $ what would be the correct way to downsample it in the frequency domain (Sinc interpolation)?
|
I have to calculate the periodicity of a audio signal like this:
You can see by eye, that the volume rises the highest every second "blob".
The spectogram (that is visualized logarithmically) shows this periodicity quite good.
The first idea to calculate this was with autocorrelation. But when doing this with the volu... |
This is a section for the parameter study of my thesis (basically: why and how I did what I did in the experiments). Currently, I have to choose the fit bandwidth and FFT lines combination for the experiment (for the parameter study, it is just giving an impulse for the generator, or hitting the metal specimen with a h... |
I have a signal $X$ with length of $N$, multiplied with any unitary matrix, i.e the transpose of DCT matrix as:
$x = D' X$
where $D'$ is the transpose of the of DCT matrix. Then let's add $CP$ guard interval into the signal $x$. The resultant signal after adding the cp into the head of the signal is $x_2$.
We transmit... |
I have a copy of Principles of underwater sound by Urick, 3rd edition. In the chapter on The noise background of the sea: ambient noise level, on pages 215/216, it says
"The analysis of data in the frequency band 20 to 100 Hz revealed periodicity of 12 and 24 hours, with a maximum of noise at noon and midnight, local t... |
First a bit of background. I'm working on a metal detector that produces a pulse across a coil. The pulse signal is influenced if metal is present within the coil aperture.This link provides more information on Pulse Induction Metal Detectors. The ideal signal looks like this:
Detection of metal relies on back EMF and... |
I have a time series of sampled for every 5 minutes for 20 years of some geological signal. I would like to generate a periodogram in order to analyze what seasonal behavior affects the signal. At the moment what I am doing is :
x_time <- as.Date(data$date)
x <- data$signal
spec_ob <-spectrum(x,log="no")
But, I am... |
I need to design a lowpass FIR filter to downsample an audio stream that is oversampled at 250Khz. The goal is to write a real-time audio player of an audio stream on an embedded system which is severely resource-constrained.
On this system, I don't have a DSP or FPGA available, it is a very slow CPU (MIPS 200Mhz) but ... |
Could someone advise me on some module for making the TDoA position system for my research work? I need to have measurements with an accuracy of a few meters. It equals a bandwidth of about 20 MHz. I guess there are some modules of 2.4 GHz with such bandwidth and given propagation time and also raw output without any h... |
Let $$D(s) + KN(s) = 0 \tag{1}$$where $D(s)$ and $N(s)$ are polynomials of $s \in \mathbb{C}$ such that $\text{Deg}(D) = n, \ \text{Deg}(N) = m$ and $n\ge m$. The root locus method tells us how the solutions of $(1)$ changes as we change parameter $K$ from $K=0$ to $K = \infty$.
I'm trying to understand these extreme c... |
recently I meet a problem.
I generate a random Gaussian signal $x$ with mean $0$ in MATLAB. And use a $4$th lowpass Butterworth filter to acquire $x'$. Then I use the binary rounding quantization method to get the quantized signal $x''$. And I find that the Fourier spectrum (FFT) of $x''$ contains some high-frequency i... |
I've been working on a decoder for these APT images for a while now. I started years ago, in Python, and was able to implement a working decoder quickly. A few months ago, I came back to the project and decided to move to C++. I have not been making good progress, and I don't know what I am doing wrong.
See here for a ... |
I'm diving into audio processing and I'm trying to wrap my head around spectral subtraction. I learned there are different approaches do it based on power, magnitude, oversubtraction. My task is to perform the spectral subtraction based on the logarithmic amplitude.
My question here is:
What is the difference between m... |
I'm new to audio processing so I'm mostly running into problems with not being able to properly google something. Sorry.
Basically I want to create something like an equalizer (just visually without interaction and modulation for now). I got my FFT working in Unity and am now getting the ampitudes of each frequency for... |
I'm very new to the DSP world, and honestly I'm not even sure if this is the right place for this question.
Anyway, I found this piece of code on github, it's a kind of filter (I think), and I would like to know if this can be identified as a commonly used or well known concept. Does it have a name I can use to google?... |
To be noted that I'm very new to this topic, I would like to understand the fundamentals of how to get Super Resolution in Frequency Domain estimation using the Compressed Sensing Model.
I am also looking for some references and Python/Matlab code that can help me.
Thanks a lot in advantage and happy new year,
Luca
|
Background
Python GCC-PHAT works for me really well in a quiet environment.
However, in a noisy environment, the results are no good. I want to locate a source of the sound of a known frequency range between x and y in a noisy environment.
The question
How can GCC-PHAT work on specific frequencies?
What I tried
In the ... |
I have a basic question about sweep times and number of points.
My frequency span of interest is: $f_{span} = 30\ \rm MHz$
My resolution bandwidth is: $RBW = 10\ \rm kHz$
The minimum number of points is: $n = 2\frac{f_{span}}{RBW} = 6000\ \rm points$
My minimum dwell time per point is: $T_s = 15\ \rm msec$
My scan t... |
Recently I got into vehicle models and filtering in general and immediately faced with the following question.
I have the recorded GPS data from car driving on a highway. However, there is a substantial level of noise present, so I decided to filter this $(x, y)$ data. Currently I am using Kalman filtering (the extende... |
Let an IAR system be defined by the following difference equation:
$$y[n]-\frac{1}{4} y[n-2]=x[n]+3x[n-1]$$
and an input signal $x[n]=(-0.5)^n$.
The transfer function is defined as $H^z(z)=\frac{1+3z^{-1}}{1-0.25 z^{-2}}$. The value $z=-0.5$ is a pole of the system, hence, it is not in the ROC. We cannot use $y[n]=H^z(... |
I'm reading the paper Model-Driven Deep Learning for Joint MIMO Channel Estimation and Signal Detection by Hengtao He, Chao-Kai Wen, Shi Jin, and Geoffrey Ye Li on Orthogonal Approximate Message Passing (OAMP) detectors.
There is an step that it is getting me crazy, in Equation $(42)$ in Appendix B. It is the following... |
I need help with analyzing the computed FFT of my signal. I don't wanna bother by going into the details of how my signal is formed so I will just state which frequencies I know my signal has. I know that the fundamental frequencies of my signals are 1,325 Hz and 1,079 Hz.
After computing the FFT of my signal I got the... |
I am trying to implement a mathematical model for vibrational damping described in this article.
They provide an equation for damping force ($F$) as a function of:
a spring constant ($k$)
a damping coefficient ($η$)
displacement of the point being damped ($x$)
velocity of that point ($\dot{x}$)
mean displacement and v... |
I am trying to compute the variance of AWGN in the system for finding the BER with $Q$ function.
The PSD of the AWGN is $N_0/2$, my answer was $N_0T$ but it was incorrect.
This is my calculation (incorrect):
|
previous relevant question here. I have a dataset of a signal captured from real hardware that produces a curve. Depending on the curve characteristics I can determine whether metal is present or not within a metal detector. The curve looks like this:
Each black line represent the average of a number of curves for eac... |
a gaussian modulated sinusoidal signal may be expressed as
$$x(t)=A\cdot e^{(j2\pi ft)}\cdot e^{\left[-\frac{1}{2\sigma^{2}}\cdot(t-t_{0})^{2}\right]}$$
Let's consider the case in which the gaussian peak is at 0 and the total amplitude is 1:
$$x(t)=e^{(j2\pi ft)}\cdot e^{\left[-\frac{1}{2\sigma^{2}}\cdot t^{2}\right]}$... |
There are 3 main properties of convolution in every image processing lecture notes I read :
Commutativity: $f\star h = h\star f$
Associativity: $f\star (h_1\star h_2) = (f\star h_1)\star h_2$
Distributivity: $f\star (h_1+h_2) = f\star h_1 + f\star h_2$
I'm looking for examples of when these are used (in image process... |
I'm doing some self-study for an important exam I'll have in late March and came across the following question:
So, using the convolution properties, if I want to find an identity system so that the final output is just the input, I would need one of the following, right?
h(t) * h'(t) = $\delta(t)$
H(w) * H'(w) = 1,... |
Let's the input data vector $X = [X_1, X_2, X_3, X_4, X_5,X_6,X_7,X_8];$ where $[X_7,X_8]$ are well known, and the vector $y = h*X$ where $*$ is the convolution operation and $h = [h_1,h_2]$ is the channel vector.
I have a priory information that $[X_7,X_8]$ = $T[X_1,X_2]$ where $T$ is a $2$x$2$ square matrix.
The iss... |
I was revising a few basics on communication systems and I stumbled upon this line that I thought was incorrectly articulated.
I thought that baseband signals were complex and passband signals were real.
If $x_z (t)$ is the baseband signal with in-phase component $x_I (t)$ and quadrature component $x_Q (t)$ such that $... |
For a sample mean unbiased estimator, which achieves the CRLB, I plotted the variance and compared it to the theoretical CRLB. The plot below shows what I got. I have small number of samples to calculate this variance.
The black line is the theoretical bound and the red line is the variance calculated using 10 samples... |
I'm trying to get an intuitive understanding of the different coefficients in detrended fluctuation analysis (DFA).
It is used to detect fractal patterns in time series and it yields a coefficient, Alpha, which, as I understand is a Hurst coefficient mapped for different scales — the slope of which is the alpha.
What ... |
As all of us know Kalman Filter is designed for LTV (Linear Time Variant) systems. But nobody in the literature applies that on Hybrid systems. In my opinion Linear Hybrid systems are a subset of Linear Time Variant (LTV) systems, So my question is why don't people use Kalman Filter for Hybrid systems with linear modes... |
If we have an even number of data points $N$, after DFT in MATLAB, the output has the order:
$$(\text{DC}, f_1, f_2, \ldots, f_{N/2-1}, f_\text{Nyq}, -f_{N/2-1}, -f_{N/2-2}, \ldots, -f_1)$$
For real signals, the first output corresponding to $k$=0, is real and so is the Nyquist frequency. After that numbers are complex... |
Let $T(s)$ be a transfer function that describes a mechanical system, where the input is force and the output is position.
And let $[A,B,C,D]$ be the equivalent state-space representation of $T(s)$, where:
$$
\dot{x}(t) = Ax(t) + Bu(t) \\
y(t) = Cx(t) + Du(t)
$$
and let $[A_d,B_d,C_d,D_d]$ be the discretized mo... |
In compressive sensing, I see many works to impose the sparsity on the wavelet coefficients (e.g., by minimizing the L1 norm of such coefficients.) Another example in MRI is to impose sparsity on the gradient of the unknown image (total variation).
However, I'm interested in imposing the sparsity on the Fourier coeffic... |
At the receiver end of a digital communication system, the matched filter is designed with impulse response matched to the effective signal that is given as : $$x_{(z,1)}^{*}(T_p-t)-x_{(z,0)}^{*}(T_p-t)$$
where $x_{(z,1)}(t)$ corresponds to a 1 and $x_{(z,0)}(t)$ corresponds to a zero.
But every where I check in the no... |
I'm new to Analogue and I'm trying to find the Ideal filter for the following specifications:
$0.1\ \rm dB$ ripple
Cutoff Frequency $F_c = 80\ \rm{kHz}$
An attenuation of $40\ \rm dB$ at the stop-band frequency $F_s = 130
\ \rm kHz$
I'm not sure if I'm on the right path but till now with all the research I've done I... |
I have an algorithm which takes an input signal, $x[t]$, and (among other things) complex basebands the data and outputs the phase of the complex numbers.
I'm new to the field and the Matlab function which produces the basebanded signal is a kind of black box to me. I've tried reading the code, but it's pretty impenetr... |
If a carrier ($f_c$) is FM modulated by a single sine wave ($f_m$), its spectrum is composed of frequencies at $f_c + kf_m$ ($k \in \mathbb{Z}$) whose amplitudes are weighted by $J_n(\beta)$, the $k$-order Bessel function of modulation index $\beta$. We could get such spectra :
Now, what would be the spectrum of the c... |
Recently I was reading "Optimum FIR Digital Filter Implementations for Decimation, Interpolation, and Narrow-Band Filtering) by Crochiere and Rabiner (1975).
To estimate the number of decimation Stages and factors, they are targeting to optimize the total number of multiplies and adds (per second) calling this number $... |
I am still learning, so please bear with me:
My audio measurement tool exports the measured spectrum of the DUT in the following format:
Frequency [Hz]
Magnitude [dB]
Phase [degree]
It is stored in a simple text file.
I managed already to read the file in Matlab, split the lines into vectors for each column. So I hav... |
I'm having trouble finding standard images used for testing source-separation algorithms in image processing. For instance, a common example I see is the "star-galaxy" images. Most papers I've seen cite the following paper as their source of the image:
M. B. McCoy, V. Cevher, Q. T. Dinh, A. Asaei, and L. Baldassarre,C... |
I was looking for how to compute second order derivative of an image and came across the question kernels to Compute Second Order Derivative of Digital Image. In the top voted answer, it gives an example to get $3\times 3$ kernel $I_{xx}$ and $I_{xy}$. The 1st order derivative filter is defined as
$$
\left(
\begin{arra... |
We want to set photo cameras in the field and capture images of insects that visit flowers. We want to place these cameras above the flowers and then they should get triggered whenever an insect lands on the flower.
Is also important to find a way to distinguish if is the same insect just flying around and coming back ... |
I have a audio file consisting of multiple frequencies, I need to find all the frequency peaks in the frequency spectrum after doing FFT.
But the issue is how can I be able to set the threshold line for the peaks.
As you can clearly see I need to find all the peaks of this spectrum but sometimes amplitude is very high... |
I have a desired filter magnitude response, i.e. $|H(j\omega)|$. How can I find the time-domain coefficients of a filter $h=[h_0, h_1, ..., h_{L-1}]$ that has a similar magnitude response such that $h_0=1$?
|
I already showed b item using the fact that it is $h\left(0\right)=\int \:f\left(t\right)g\left(0-t\right)dt$
I struggle a lot of hours trying to find the trick in item C.
Can anyone help please ?
|
Let $H(z)$ be the rational system function of an LTI system.
How can we show that $|H(e^{j\omega})|=|H(e^{-j\omega})|$?
|
I have two sets of inputs, A (10 values) and B (20 values), and for each point (A,B) I have a measurement to make a (10x20) table of measurements C. Is there a way to use a Kalman Filter to improve these measurements if I have no physical rule to go from the inputs A and B to the value of C?
|
Experiment: Vibration analysis (i.e.: major concern is on transfer function or frequency response).
The input is an impulse (imagine as a knocking effect or knocking force), defined as a half sine curve. The output is the vibration speed of the specimen (measured by laser vibrometer). The vibration is naturally damped,... |
In the linear convolution of two equal length sequences M and N, the length of the output is length(A)+length(B)-1, and if we apply the DFT property of converting convolution into multiplication, the output is equal Max (length (M) or length (N)).
a) If there a simple way to predict how many edge points are contaminate... |
The system equation is given as:
$$y(n)=(n-1)x(n-1)+(n+1)x(n+1)$$
I solved that the system is time variant:
\begin{align}
y(n-k)&=(n-k-1)x(n-k-1)+(n-k+1)x(n-k+1)\\
H[x(n-k)]&=(n-1)x(n-k-1)+(n+1)x(n-k+1)
\end{align}
And for the linear/non-linear part, here is what I have so far:
\begin{align}
H\big[a_1x_1(n)+a_2x_2(n)\b... |
I'm working in R with the packages signal and control (don't know wether these are even the best for my use case).
I have a high pass filter (butterworth, of order 1, some chosen cutoff frequency) and a (onedimensional) signal $s$.
I would like to filter $s$ using my high pass filter in a way, that pretends, that my hi... |
Problem
How do you augment a state space model with the derivative of a state? I know how to augment a state space model with the integral of a state by doing the following. Given a linear system
$$ \dot{x}=ax\tag{1}\label{1}$$
which has a state space representation given by
$${\bf\dot{x}}={\bf A}{\bf x} \tag{2}\label... |
1) Problem description
I am trying to implement a 3D audio simulator in Python. I am using the HUTUBS dataset as HRIR database (more informations here: https://depositonce.tu-berlin.de/handle/11303/9429), in particular I am using the simulated one, which has a higher resolution than the measured dataset.
Since I need c... |
In the book digital Signal Processing by Proakis 4th Edition, at page 593 a table is drawn about some second order modules for discrete time systems. In that table there Transposed Form II drawn But when I searched the net, it was drawn completely opposite to that drawn in the book. On the internet, the input and outpu... |
When we say that a Generalized Linear Phase System must satisfy the pole zero plot with the condition that a complex zero not on the unit circle exist's in a pair of 4. Then I understand that I need the conjugate pairs to have real coefficients. Why do we need the complex conjugate reciprocal pairs and what role do the... |
I'm working on an alarm recognition program in MATLAB in which multiple reference audio samples of different alarms would be recorded. Afterwards, the program would sample every so often and compare this sample to the previous references to see which match. I don't know what the alarm recordings would be, but I'm assum... |
I'm investigating quantization error.
I have an analogue waveform that looks like this and is of theoretically infinite resolution:-
I've sampled it as (8 bit oscilloscope readings & 0b1) to produce a file of single ones or zeros. The samples are partially random as per quantization theory, but I want to check the cor... |
I'm trying to simplify the following block diagram from
to the following block diagram
However, h(t), H(s) in time domain, has a cross product in it (gyroscopic torque). How can I represent the cross product in h(t) as H(s) so I can simplify the blocks? The goal is to have 1 transfer function to represent the system.... |
Let $N$ be the signal graph representation network of the system function (in rationale form) of a discrete-time LTI system. For a network $N$ with
no loops, the impulse response is no longer than the total number of delay elements
in the network. From this, we conclude that if a network has no loops, then the syste... |
Synchrosqueezed STFT paper, Synchrosqueezing based Recovery of Instantaneous Frequency from Nonuniform Samples, defines STFT phase transform as:
$$
w(u, \xi) = \xi - \frac{\partial_tS_{g}f(u, \xi)}{j2\pi S_gf(u, \xi)}
$$
Which differs from synchrosqueezing original paper's - A Nonlinear Squeezing of the Continuous Wave... |
I was looking for a way to convert piano sounds to piano notes for my research. I discovered the conversion of piano sound to piano notes using FFT and piano note recognition using CQT. I am also a beginner in signal processing. Can someone suggest me a method for converting piano sounds into piano notes?
|
I am interested to find the analytical expression for the autocorrelation function of a signal that comprises triangular pulses. I have followed the derivation in "Statistical Theory of Communication" by Lee (1960, p.16)
However, if I replicate this in MATLAB, then I do not obtain the autocorrelation function as deriv... |
I am trying to write a program to compute the magnitude and phase of a specific, non-integer frequency component (i.e. given a sampled finite signal of length $N$, I want to know the magnitude and phase of the spectrum at frequency 40.678 Hz).
I tried using the equation for the Discrete Time Fourier Transform:
$$
X(\om... |
I'm so confused, and it would be nice if someone could clear my head, or at least direct me to suitable references.
Assume that I have two gaussian pulses with the same bandwidth in time, but for 2 different wavelengths. I'm going to handle them separatly- 2 separate graphs of one gaussian in time.
Both graphs are the ... |
To make my question as clear as possible I will go through an example. I want to plot one sided power spectrum of a signal. As an example my signal is sum of "50Hz sine with and amplitude of 1V" and "DC offset voltage of 1V". I create this signal and plot FFT of it where I define the power as amplitude square divided b... |
I am running the LMS algorithm based on Haykin's Adaptive filter theory.
I aim to plot the cost function $\mathbf{J}$ and calculate $\mathbf{J}_{\tt min}$ and the simulation
excess mean square error $\mathbf{J}_{\tt x}$.
I have two questions:
Based on theory, LMS converges when $0 \lt \mu \lt \frac{2}{\lambda_{\tt max... |
What is the right way to use sinc interpolation for a given discrete signal $x[n]$? Following is the sinc interpolation formula:
$$x(t) = \sum_{n=-\infty}^\infty x[n] \mathrm{sinc}\left(\frac{t-nT}{T}\right)$$
A simple explanation with a real world example of how and when to use a sinc interpolator will be very helpful... |
We got this question to solve:
Calculate the power of the signal:
$$s(t) = 8\cos\left(20\pi t-\frac \pi4\right) + 4\sin(15\pi t)$$
Now, I thought of two approaches :
Use Parseval theorem, so first find Fourier transform, then calculate the required integral, but then we get a impulse function in it and I don't know ... |
I run a transmitter/receiver simulation using QPSK, BPSK, and 8-PSK modulations. As far as I have noticed, the best SNR per bit results are obtained when simulating with 8-PSK modulation (and also at longer distances). For example - at a distance of 10 m (transmitter to receiver) Eb/N0 for QPSK was 22.9 and for 8-PSK i... |
What causes zero crossings in a QPSK constellation to be a a problem for linearity or PAPR ( Peak to Average Power Ratio)?
|
Right now, I am in a search of a lossless rectangular-polar transformation. To clarify, this is what rectangular-polar coordinate map looks like:
So, these are the two axis of a rectangular-polar map. The x-axis ranges from 0-2*pi while the y-axis ranges from 0,1. It's like polar coordinates, but as a rectangle. Howe... |
I would like to resample (downsample) a signal using python in order to get an even spacing and fill gaps.
About the signal:
It consists of a vector for y (amplitude) and x (timestamps)
Very slow; $F_s$ is probably >100 times higher than needed (for the desired content; steps and noise are present)
The samples aren't ... |
In my systems and signals course I had been asked a question about finding the convolution of two sets.
I was given:
\begin{align}
x[n] &= \{3,2,1\}\\
h[n] &= \{1,-2,3\}\\
\text{Find}\quad y[n] & = x[n]\star h[n]
\end{align}
I have no idea on how to find the convolution of two sets. Any help is appreciated.
|
I have designed a FIR high-pass filter $\{h_n\}$ with length 257 to filter a signal $\{f_n\}$ with length 512. To convolve signal with filter in time,
I performed an FFT with length 768, padding zeroes at tail of $\{h_n\}$ and $\{f_n\}$, and then I multiplied their frequency responses $\{H_n\}$ and $\{F_n\}$ . To conv... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.