instruction stringlengths 31 27k |
|---|
I have a "test" 50 Hz tone signal, stored as 4-byte floating point values. The sample rate is 5120 Hz. The signal (roughly 0.25 seconds' worth) and the corresponding FFT are shown in this image:
The data file is then processed by converting the floats into 2-byte short values via an amplitude scaler (6.214e-5). The sh... |
Designing a signal filter - I'm trying to understand how it is possible to take the FFT of a filter kernel and multiply it by the FFT of the signal to provide signal filtering as surely the FFT of the signal needs to be filtered with a low pass filter first to avoid aliasing.
So it seems a rather chicken and egg arrang... |
According to the Reed-Solomon Wikipage, the RS code can correct up to $\lfloor\frac{t}{2}\rfloor$.
While I was playing around with Reed-Solomon FEC (github repo), I noticed that sometimes the RS(544, 514, t=30, m=10) can correct more than 15 symbol errors. Based on the wiki page above, this RS coding scheme should be a... |
Let us fix a sequence of real numbers $\{a_k\}_{k=-n}^n$ and $\gamma\in \mathbb{R}$. Is there any $2\pi$-periodic continuous signal $x
:\mathbb{R}\to \mathbb{R}$ such that the following points simultaneously hold?
$\gamma \leq x_{\min}$ (where $x_{\min}$ is the minimum of $x$).
If $|k|\leq n$, the Fourier coeff... |
I'm working on a feature for a Free Software astronomical image processing program. I want to implement a damped Richardson-Lucy deconvolution as described by Richard L White (Journal of the Space Telescope Science Institute, 1994). He offers the following term for each successive iteration:
$$O_{new}(j) = O(j)\frac{\l... |
I've seen many different implementations of CWT, especially in generating the wavelets. Often these implementations produce significantly different outputs - e.g. scipy vs PyWavelets vs ssqueezepy.
How can we tell which implementation is "better", or if an implementation is valid in the first place? Are there any imple... |
I have been trying to figure out one of the homework assignments for my DSP class, and have been spending quite a lot of time figuring out a particular problem. The solution to this problem was given to us, but I just do not understand the reasoning behind it.
The main idea was that we were asked to construct a causal ... |
in most applications the 1-bit output datastream of a sigma-delta ADC is converted via a filter. What's the advantage over counting the ones/zeroes and averaging over the results?
For a simplified design i want to avoid something like an FPGA and use a µC (32-bit ARM) instead. In contrast to filter calculations, counti... |
I have a slowly varying sinusoidal system. The output is separated using methods that produce a real signal $x(t)$ and quadrature component $y(t)$ such that $x(t)$ represents the real physical value of the signal, $x^2 + y^2$ is instantaneous amplitude and $\mbox{atan}(y,x)$ is the instantaneous cosine argument with re... |
How is the high-pass filter with a cutoff frequency of 0.05 Hz(or 0.2 Hz or 0.5 Hz) implemented in Real time for ECG devices?
What kind of filter or algorithm is used?
The order of FIR filter is high. Is an IIR filter used? Does the IIR filter cause distortion?
Thanks for your help
|
In my university we are designing in MATLAB a algorithm to calculate the DFT of a signal $x(n)$.
Here is the algorithm:
x = [1 2 1 3];
N = length(x);
nk = 0:N-1;
for k = 0:N-1
for n = 0:N-1
X_products(n+1) = x(n+1)*exp(-j*2*pi*k*n/N);
end
Xk(k+1) = sum(X_products);
end
However I dont think it is correc... |
What is the time period of
$$ x(t) = 7 e^{\jmath(5t + \pi/2)} + 10^{\jmath(7t + \pi/5)}$$ ?
X(t) is the combination of two functions. one is the natural logarithm base, $e$, and the other is 10.
if there is only an exponential function given then we easily calculate the period of the given signal.
but the problem is ... |
I am working on the analytic signal concept for observing the frequency variation in the faulted phase current waveform in MATLAB/Simulink model.
In MATLAB/Simulink model, I have used analytic signal block and hilbert's transform method to calculate the real and imaginary components of the faulted phase current.
After ... |
I'm currently a little stuck with a problem, that sounds easier than it is (at least for me):
Let's say you have satellite images taken from LEO that show an approximately 1000 km wide area (the image axis of the camera is more or less perpendicular to the ground). There is no additional location data stored in the ima... |
I have been assigned to simulate a Pulsed radar with Chirps hitting a moving target and then analyzing the data to create a Doppler-Range map.
Im having trouble completing some of the "algorithm's" steps(listed below):
When correlating the signals using xcor(code below) the output signal is greater then the Matrix col... |
I'm new to image processing and am working on mask operations.
I was given two kernels A and B, and performed convolutions respectively on an image.
Then, I have to get the difference of output image as a final result. (kernal A - kernal B)
However, I'm wondering
What's the meaning of the "minus" operation?
Does it eq... |
I am trying to implement MFCC's from scratch in C++. In each frame, I am processing real-valued data to construct MFCC vectors. Although I think that my implementation is correct, the testing result is very interesting for me. Here is how I implement the MFCC step by step, then the confusing things becomes.
This is how... |
The $\mathcal{Z}$-transform of a discrete-signal is namely $$F(z) = \sum_{n=-\infty}^{\infty} f[k] z^{-n}$$ and so if I have a signal in the $\mathcal{Z}$-plane:
$$G(z) = z-1$$
I would be having a time-domain signal like so:
$$g[k] = \delta[k+1] - \delta[k]$$
So my question is, can I say that this signal is finite? For... |
Using K-means clustering it is possible to reduce the amount of colors in an image. What are the purposes of using this method for extracting colors from an image?
|
I am preparing for an examination and have a study guide that I feel has a couple of errors. The questions concern the classification of discrete time dynamical system. Here are the problems that I am questioning.
Questions
Is the system $ h[n] = \delta[n+2] + \delta[n+1] + \delta[n] $ a causal system?
Given answer... |
Definitions
As far as I know the power of a signal can be expressed (using discrete time samples) via:
$$
P_x=\frac{1}{N}\sum_{n=0}^{N-1}\big|x[n]\big|^2
$$
For details see this question.
However, it could also be expressed using the frequency domain representation (Parseval theorem):
$$
P_x=\frac{1}{N^2}\sum_{n=0}^{N-... |
I am preparing for an examination and am confused about one of the questions on the study guide. The question given on the study guide is given below.
We want to implement a change of sampling rate by the factor 8/9. What
is the frequency cutoff required for the internal resampling filter?
I am assuming that the ques... |
i already know how to programmatically take the fft of a signal and display it, but now i'm trying to figure out how i can split the full fft into an arbitrary number of bands. i haven't yet been able to figure it out myself, and i can't seem to find any information on the web about this
what algorithm could i use for... |
Here is my code, i want to extract only the fingers and save them as a new image
import cv2
import numpy as np
from PIL import Image
def get_image():
global image
image = cv2.imread("testPalm.png", 0)
get_image()
image = cv2.GaussianBlur(image, (5, 5), 0)
ret, thresh_binary = cv2.threshold(image, 80, 255, cv2.THRESH_... |
I am studying for an exam and need help on a question on the study guide. The question is given below.
A symmetric FIR system $h[n]$ extends from $n=7$ to $n=11$.
a) What is the group delay?
b) How many zeros are there in the finite z-plane?
Here is my attempt.
a) The transfer function of an FIR filter is given as;
$... |
Let $x[n]$ be aliased sampling of real-valued $x(t)$ over $t_0 \leq t \leq t_1$. Can $|x(t)|^2$ be recovered more accurately than $x(t)$, over $t_0 \leq t \leq t_1$? If so, how?
For $|x[n]|^2$, superficially it's "yes", as aliasing can circularly shift certain $X[k]$, which $|x[n]|$ is invariant to. For $|x(t)|^2$, I s... |
My question is related to this post
I have a 1D vector, the target vector, represented as 2D (knowing the nr of cols and rows) to which i need to apply an FFT2D.
Having only the FFT1D, in order to obtain a FFT2D, i will need to apply it on each row and then on each column.
std::vector<double> targetVector;
int nrColTar... |
I'm working on estimating the FFT noise floor for a data acquisition system my colleagues and I are designing. I've read MT-001 several times.
In general, I think I get it. However I'm a little stuck on the units of the FFT noise floor section. Particularly, it seems like there's a jump from Power Spectrum to Power Spe... |
If I have a system: $$sX(s) = AX(s)+BY(s)+CZ(s)$$ How would I find the transfer functions $\frac{X(s)}{Y(s)}$ and $\frac{X(s)}{Z(s)}$?
Do I simply disregard one of the inputs? I am quite confused and not able to find any information on this.
Any help is appreciated. Thank you.
|
I have used the code from: https://github.com/quantumlib/OpenFermion/blob/v1.5.1/src/openfermion/linalg/wave_fitting.py#L41-L76
try using with my signal:
def ns_s(t):
if t >= 0 and t < 0.1:
return 10*np.cos(20*np.pi*t)
if t >= 0.1 and t <= 0.4:
return 10*np.cos(20*np.pi*t)+3*np.sin(40*np.pi*t)
... |
My question is somewhat similar to one I posted previously
I understand how coherence is defined in terms of spectral densities, but I would be elated if I could explain the basic concept of coherence, in terms of orthogonality, to my linear algebra students who have no signal processing
background.
I have two signals,... |
I am new here and new to DSP, so maybe my question is really basic.
I have the formula for the Ricker wavelet (Mexican Hat) in frequency-domain and I wish to do an inverse Fourier transform to recover my original signal in time-domain. I am using python numpy.fft module for this.
For some reason, instead of a Ricker wa... |
I am working with some very common, simple signals, such as square, triangle and sawtooth.
In my case the phase of such signals is important, so I want to be consistent throughout my work. For example, if I talk about a square signal, I want to be sure whether at $t = 0$ there is a rising edge or a falling edge.
In the... |
I have a 8 bit gray level image where if the value = 122 it means no information, value = 0 means highly negative, and value = 255 means highly positive.
I want to connect as many positive information pixels with each other as possible to form as large an area as possible (and not let accidental negative values affect... |
In my work, I came across the following expression of signal to noise ratio (SNR) which contains expectation operator.
The received sampling vector is
$\textbf{y}(n) = \textbf{h}s(n)+\textbf{u}(n)\tag{1}$
where $\textbf{u}(n)$ is additive white Gaussian noise vector, $s(n)$ is transmitted signal, $\textbf{h}$ is Raylei... |
I write some code, but result looks very strange:
import numpy as np
import scipy.linalg as LA
def music(X):
# create a signal
N = 64
m = np.arange(N)
P = 4
x = np.zeros((N, P+1), dtype='complex')
x[:,0] = 1.0*np.exp(1j*3.0*2.0*np.pi*m/N)
x[:,1] = 0.8*np.exp(1j*5.0*2.0*np.pi*m/N)
x[:,2] = 0.3*np.exp(... |
Suppose we have a discrete signal $x[n]$ and $y[n] = x[2n]$. I want to find $y[n-k]$. Is it $x[2n-k]$ or $x[2n-2k]$? I'm very confused by this operations. Can someone explain what's the logic behind it and give some references?
|
I am trying to detect the amplitude, frequency and phase of the dominant "buzz" in an audio signal. By "buzz" I mean a periodic signal with sharp edges. For example, an impulse train or a square wave.
In the frequency domain, "buzz" signals have a fundamental f0 and harmonics at integer intervals n * f0. Unlike other h... |
Im working on a Pulsed Doppler Radar
What is the way to calculate the SNR (with WGN)? What will be the lowest SNR for detectability?
Im using matched-filter(xcorr) to process the signal+noise.
My signal+noise are:
noiseGauss=(1/sqrt(2))*noiseAmp*(randn(1, length(t)) + 1i*randn(1, length(t)));
recv_sig = noiseGauss + (... |
I have OFDM system, where the modulated signal $x$ with length $N$, and $N$ is the number of subcarriers in OFDM symbol. $x$ is multiplied with a well-known unitary matrix $G \in N \times N$ before performing the inverse Fourier transform $F^{-1}$ matrix to produce the time-domain signal $y$, so:
$y = F^{-1}Gx \ \ \ \... |
When looking at the practical implementation of frequency domain SAR imaging algorithms like the range Doppler algorithm (RDA) and the omega-k algorithm (also called range migration algorithm, RMA) as described in "Digital Processing of SAR Data" by Cumming and Wong, one of the key steps is to perform an FFT along azim... |
I am trying to use (not implement VAD algorithm) voice activity detection to get timestamps for a given audio but facing hard time doing so.
What I am trying to achieve ?
Find an offline library for voice activity detection
What I have ?
I have an audio file (mp3)
What I am trying to get ?
Given an audio file (mp3),... |
The power spectrum $\texttt{PS}$ of a (white noise) signal depends on the frequency resolution,
$df=f_s/N$, where $f_s$ is the sample rate ($\texttt{Hz}$) and $N$ is the sample size.
The power spectral density $$\texttt{PSD} =
\texttt{PS}/(df \cdot \texttt{noise power window bandwidth})$$ effectively removes the depend... |
Are there ways to reduce the smearing / spectral leakage of zero-padding interpolated data?
I learned that, given a small collection of samples, one can increase the frequency resolution of an FFT operation by interpolating the sample size by appending zeros. This makes it easier to identify a peak frequency that would... |
In multiple sources (e.g. Richards, Mark A. "Fundamentals of Radar Signal Processing, Second Edition"), I come across the following expression for the CRLB for the time-delay parameter, assuming additive white Gaussian noise (assuming $s(t)$ is complex):
$$
\sigma^2_{t_0}\ge \frac{\sigma^2_n}{2} \left[ \sum_{n=0}^{N-1}... |
I'm new to DSP. As I reading the textbook, I cannot understand the formula $X_{s}(f)=\frac{1}{T}\sum_{n=-\infty}^{\infty} X(f-nf_{s})$. Could you please give me some keywords so I can learn the theorem and understand it?
From spectral analysis, the original spectrum (frequency components) $X(f)$ and the sampled signal... |
One of the core parameters of any radar system is its center frequency. Another core parameter is its bandwidth, which is the reciprocal of its ranging resolution. I am wondering: Is there some sort of dependence or relationship between those two? Naively, I would say that the higher the center frequency, the higher al... |
I'm working with software-defined coded orthogonal frequency division multiplexing radios.
They have a choice of bandwidth, 1,2,3-20MHz.
Of course, as you increase your bandwidth (carrier size), you increase your throughput. However, is there an equation or rule of thumb that indicates if 20MHz gets you x-distance, 10M... |
maximum RBs for 60MHz with SCS = 30 kHz is defined to be 162 RBs, so NSubcarriers is 162 x 12 = 1944, 1944 < 2048. Then NFFT size for 60 MHz bandwidth with SCS = 30 kHz should be 2048 instead of 4096.
|
I only know the "vanilla" use of a Kalman filter and I am currently trying to understand an article available here (the algorithm is presented in the 6 first pages) :
Adaptive Single Neuron Anti-Windup PID Controller
Based on the Extended Kalman Filter Algorithm, open access
In which the plant is controlled by a PID w... |
Suppose $f=300$ and I sample from $x=\cos(2\pi f t)$ and $y=\sin(2\pi f t)$ for a period of one second with sampling frequency $f_s=1000$. Then the number of samples is $N=1000$ and the DFT's for $x$ and $y$, in this particular example, are given by $X_f=\frac{N}{2}\left(\delta(f-300)+\delta(f-700)\right)$ and $Y_f=\f... |
Consider N-point sine signal mixed with a random noise (implemented in Python below):
import numpy as np
%matplotlib inline
import matplotlib.pyplot as plt
N = 128 # num of points in signal
t = np.arange(0,N,1)
sample_num = 5
freq = sample_num/N
sigma = 1.5
# random noise
noise = np.random.normal(0, sigma, len(t))
noi... |
I have an issue, where my numerically calculated leakage from a DFT of a simple cosine does not match the theoretical prediction from the convolution theorem. I will try to present the example using technical units as opposed to the usual unit-less representation, so that the different Fourier transform can be more eas... |
How can power or energy be computed from Continuous Wavelet Transform? Is it just $\sum |\text{CWT}(x)|^2$, or are there other considerations, particularly if interested in a subset of frequencies?
Do the results interpret differently from what's computed from DFT?
|
Can someone explain to me how I can reconstruct a signal using the scipy.signal.morlet2?
The codes in the link only allows one to do a fourier transform using the morlet wavelet, but there is no such code for inverse fourier transforms (reconstructing my transformed signal).
Any help would be gratefully received.
Thank... |
I'm fairly new to crossfading albeit having a fairly good understanding of the mathematics and physical units.
What I can't wrap my head around is as to whether there is a difference between crossfading between files and between physical speakers.
What I want to achieve is a constant loudness/volume level across the fa... |
I want to obtain the impulse response of a space to calculate reverberation time using the Schroeder method. This space is characterized by the short reverberation time within 0.5 seconds due to the properly installed sound absorption materials.
Theoretically, I know that impulse response can be obtained using the inve... |
The signal processing steps for a pulsed radar are: Fast time matched filter -> Slow time FFT.
I cannot understand how is the second step able to detect frequency,
because the results after the matched filter will look like:
I.e each peak will be shifted from its prior.
How is the FFT on slow time able to detect some ... |
I have succesfully modeled a modem using floating-point data and with the following scheme, where the SRRC filter has gain G=6dB.
Modulator -> SRRC(UPx4) -> D/A -> Channel -> A/D -> AGC -> SRRC(DOWNx2) -> Remaining receiver blocks
The modulator outputs full-scale (-1 to +1) I/Q values and at the receiver I'm getting a... |
I know that complex exponentials are eigen functions of LTI systems for example $e^{j2t}, e^{-j5t} , e^{j8t}$ .
If we can define complex exponential as $e^{st}$ where $s$ is a complex number. Can we say that $e^t,e^{2t},e^{(2-j4)t}$ are still complex exponentials and they are eigenfunctions to LTI systems ?
I know that... |
I made a thing which involves a FIR filter, and in that process I cobbled together some random numbers for the convolution which I figured would work the way I wanted.
Now I want to be able to take what I "designed", and fiddle with it in a domain which gives me more control. Like in a filter design tool, or as the co... |
I want to generate human voice using fft. For this, I analyzed a fft of my mother saying "e" and the result was that the points are in a normal distribution. Then I created a fft using a normal distribution, but the sound is a hissing.
On this site https://murilos.pythonanywhere.com/ are the two ffts, one with my mothe... |
import cv2
import numpy as np
img = cv2.imread("Inkedfish.jpg")
# some preprocessing
img2 = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
img2 = cv2.dilate(img2, (3,3))
img2 = cv2.blur(img2, (3, 3))
_, thresh = cv2.threshold(img2, 10, 255, 0)
contours, _ = cv2.findContours(thresh, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE... |
Why and How the plot between the real and imaginary component of an analytic signal is in the form of an ellipse pattern ? How does the ellipse pattern varies with the variation in real and imaginary components of an analytic signal ? Can you share a research paper (journal or conference paper) to study more about it ?... |
I want to plot the constellation diagram of 64-QAM for a complex signal, x = cos(2*pi*n/N) + 1i*sin(2*pi*n/N) where n=1:1:N; N=1024; % N is total number of samples
But it gives a circular scattered output when doing scatterplot(x). In the MATLAB documentation for ConstellationDiagram and others, integer or binary data ... |
What are the Pros and Cons of using Wigner-Ville Distribution for spectral analysis of a signal vs taking the STFT. When is it appropriate to use one over the other and is WVD used in real-time implementations?
Update: Since no answers were received for the first few days of this post, I tried posting the same question... |
Question: Specify the straight -line approximation of the Bode magnitude plot: $$H(j\omega) = 0.04 \cdot \frac{jw+50}{jw+0.2}$$
I don't understand that in the plotting part we add 6dB for two intervals. Why and how we did that?
|
I’ve been given the following Difference Equation and tasked with finding the response to $x_0[n] = (-p)^n$ - I’ve managed to $h[n]$ but the convolution itself failed.(The given system is IAR).
$$y[n] -py[n-1] = x[n]$$
So I know that an IAR DE is a causal LTI system, with $$H(z) = \frac{1}{1-pz^{-1}}$$
which I plugged ... |
I am simulating one UE at 10 km from gNB using 5G System-Level Simulator from Matlab. The BW = 20 MHz, and UE EIRP = 23 dB and channel is CDL-A (NLOS) / CDL-D (LOS), with a delay spread of 260 ns...
I am getting some throughput and goodput even when BLER is 1 (see the results below).
Is this correct? either yes or no, ... |
For a complex system where symbolic computation of the jacobian is challenging, is estimating the jacobian via finite difference a viable option?
To be explicit I'm mostly interested in playing around with IMU currently and some of the theory surrounding IMU error propagation and Lie algebra is a bit more than I want t... |
Page 168 of Digital Image Processing, Global Edition says:
we know that the values of a Gaussian function at a
distance larger than 3 from the mean are small enough that they can be ignored.
If we get the mean of Gaussian to be 0 and = 1, then It seems above says elements in kernel which their values are equal to $\... |
Say we have two audio tracks of the same movie but from different sources. The length of the animated logos at the beginning is different, so the actual movie audio starts slightly earlier on one track comparing to the other. The quality and volume of the audio can be different too.
How to find out the exact time offse... |
I want to learn basic transceiver algorithms.
I already have a good grasp of the mathematics and statistics involved, so I am primarily interested in algorithms.
Any books or site recommendations, so I can start learning?
|
I am working on a simple MFSK modem for use on the HF band. I'm having trouble recovering the symbol timing information from the stream.
With 2-FSK it's easy - just subtract one frequency from the other, and use the 0-crossing point to determine how far off you are (ideally, the 0-crossing point should be right in betw... |
I have a problem to solve, I need to get the frequency spectrum from the first plot, and then transform it into the second plot using resampling and filtering.
My thought process was, I can upsample by a factor of 2, then hi-pass > 1000Hz to filter only the mirror image, then downsample by a factor of 2.
I have a hard... |
I need to design a 3/2 resampling filter using polyphasic filters. On my original filter I have coefficients $$h[n] = [a_0, a_1, a_2, a_3, a_4, a_5, a_6, a_7, a_8, a_9, a_{10}, a_{11}]$$ making it an order $12$ filter.
I visualize this implementation:
So I am taking as downsampling subfilters of type 1 the coefficient... |
I'm struggling understand the mathematics behind how the component of a sampled continuous signal at a given frequency can be determined.
Assume my sampling rate is $f_s=100$ for 3 seconds, so $N=300$.
If I have a signal vector, $\vec{x}$ in $\mathbb{R}^{300}$, I know it can be
expressed as a linear combination of the ... |
I'm working on a paper where I'm collecting sound pressure data from a chord's wave and trying to create a frequency spectrum to find the individual frequencies that make up the chord.
However, I can't process too many data points (software). To ensure a sampling rate higher than twice the highest note, I can't collect... |
I saw in Correlation: A Magnitude or Power quantity? post the derivation for $\rho$ (the mean of the normalized correlation coefficient) and its relation to the SNR of the signal.
I'm looking to see how $N$ (the length of the template $x$) is related so I tried to calculate the variance of $\rho$ but I couldn't do it o... |
I have been working with digital signals for quite some time and this fencepost-error issue when taking a simple example of sample frequency and sample spacing always trips me up (and I must say drives me completely crazy):
$f_s$: sampling frequency, number of samples per second
$t_s$: sampling spacing, $1/f_s$
This is... |
Suppose I sample from two continuous signals, $x$ and $y$, with sampling rate $f_s=1000$ Hz yielding $N$ samples.
A plot using coherence from scipy.signal shows frequencies up to $f_s/2$. Given the DFT conjugate relationship, $X[N-k]=\overline{X[k]}$, the relationship between the power spectral densities and the DFTs, ... |
Is there a known algorithm or an existing implementation that performs a "continuous autocorrelation"?
Meaning, in a situation where I sample a signal and every time I get a new sample (or every several samples) I want to calculate an autocorrelation function for N samples back.
It seems preferred to do it in a continu... |
I’ve been given a triangular signal that looks like this:
$$ X^{F}(\omega) = (2 -|\omega|) \cdot W_{[-2,2]}(\omega)$$
(this is just my interpretation of the signal from a picture I’ll add). I was asked to find it’s time domain representation. I tried expressing it differently, splitting the window into two heavisides, ... |
A dataset of mri and ct scan images of patients has been prepared. There is a feature /damaged area/ in the mri image that is easily visible. But the injury of this area is not visible in the CT scan image. We want to train the model using CT scan data of injured brains. Is there a way to specify the damaged areas in t... |
I need to compute the DCT of a signal (in fact its a image). As I already have the DFT of that signal, I wonder if there is any cheap way to obtain the DCT in terms of the DFT.
Note that I am not asking if the DCT can be computed via the FFT, which has been answered here. The answers in the cited question perform modif... |
I have $$y(n)-3y(n-1)+2y(n-2)=4x(n)-2x(n-1)$$ that is the equation for a causal, discrete time LTI system. Using the Laplace Transform I rewrote it as: $$Y(s)-3e^{-s}Y(s)+2e^{-2s}Y(s)=4X(s)-2e^{-s}X(s)$$ And then I tried calculating $$H(s)=\frac{Y(s)}{X(s)}=\frac{4-2e^{-s}}{1-3e^{-s}+2e^{-2s}}$$
But the correct respons... |
I'm trying to design a new filter with IIR to filter out specific bands.
Basically it's a bandpass filter with 2 Octave or 3 Octave bandwidth but the filter order should be equal to 1/3 Octave filter.
Main objective is to analyse a 1/3 octave band level or sum of a few 1/3octave bands. MY DSP is filtering the input sig... |
I'd like to get a zero phase for vertically symmetrical signal (as it done here, FIGURE 10-7).
For this purpose, I tried to test it on gaussian signal in Python:
%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
t = np.arange(0,64,1)
center_left = 0
center_right = 63
sigma = 2.5
signal_left = np.e... |
Is it possible that can estimate convolutional kernel that have multi channels and multi filters ?
I saw answer from this to link to estimate kernel for one channel and one filter (Estimating Convolution Kernel from Input and Output Images).
When I tried to implement it, I found that it cannot do correlation because th... |
I am modelling the path of a rock deposited onto a glacier and its englacial flow with the ice within the glacier in MATLAB. I am doing this with the 2D advection equation. However, I do get some unwanted artefacts / noise in my results, especially at the left of the attached image. I tried a 2D median filter, but this... |
Let's say we have this Laplace transform:
$$H_{1}(s)=\frac{1}{(s+1)(s+3)}\;, \; \Re{e} (s)>-1 $$
So, we know that there is a poles at $s=-1$ and $s=-3$.
With these informations, we found that to be a low-pass filter in class. How? How do we sketch the frequency response? What are the conditions to determine filter type... |
I have a dsp algorithm which is based on the below given state space model in the continuous-time domain
$$
\begin{bmatrix}
\frac{\mathrm{d}\hat{\psi}_{r_{\alpha}}}{\mathrm{d}t} \\
\frac{\mathrm{d}\hat{\psi}_{r_{\beta}}}{\mathrm{d}t}
\end{bmatrix}
=
\begin{bmatrix}
-\frac{R_R}{L_L + L_M} & -p_p\cdot\omega_m \\
p_p\cdo... |
I have been given a data distribution which was synthetically generated by geostatistical methods such as variogram analysis. Without having the source of the technique which generated the data, is there any way to find out or at least estimate the level of noise (a parameter to quantify how noisy the data is or the am... |
Given a discrete-time domain signal $x[n]$ defined as
$$x[n] = \begin{cases}1 & 0 \leq n \leq L-1 \\
0 & \textrm{otherwise}\end{cases} $$
we are tasked with computing $$\sum_{k = -\infty}^{\infty}x[n-kR]$$ where $R = \frac{L}{2}$. Additionally, $L$ is a power of 2.
Is it possible to get a closed-form expression for the... |
I have 21600 data in the time domain. What Sampling frequency should I use? can someone explain the effect of showing the result by selecting different sapling frequencies?
Cheers
|
I am trying to preprocess audio clips for a keyword spotting task that uses machine learning models.
The first step is to calculate the spectrogram starting from the waveform and in order to do so I have found that there are two ways within the tensorflow framework.
The first one is to use the tf.signal library.
This m... |
What is the method to compute Cramer-Rao lower bound for a particular application. For example I have an application in which FFT of an incoming signal is performed to get a Coarse estimate and then Interpolation between bins of interest is performed to get a finer frequency estimate. Now how can I compare my results w... |
I have to design a bandpass filter with passband frequency [300Hz 500Hz] and sampling frequency is 16kHz.The stopband attenuation required is 60dB.I have used butterworth filter in MATLAB to design the filter. Now to implement the same specifications using an FIR filter, what should be the order of filter chosen. My do... |
I am currently working on an application in which I have a Linear acoustic array, the audio of which is analyzed using FFT. Now I also want to perform phase difference calculation and have also learnt that it is possible to do so in the frequency domain as well by simply calculating the phase using atan function on the... |
This question is an extension to the question about WVD vs STFT originally posted Here. During the QA it was pointed out that the WVD only works for noiseless signals.
To test that out I created a simple chirp signal in MATLAB and compared WVD spectrograms at different SNRs.
Below is the time-domain signal on the left ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.