instruction
stringlengths
31
27k
I'm quite new to this topic, with some basic knowledge however. I need to analyse an audio signal for different characteristics. Like the audio editor I use (an older Version of Audition, v.3) I would like to calculate the occuring frequencies. For every time stamp and the overall occurences of the frequencies of the ...
I'm a scientist conducting an experiment that requires some signal processing. My expertise is not in signal processing, thus here I am. We've basically re-created an experiment conducted by other scientists, attempting to check their results. Here is a link to their paper: Ultrasensitive Inverse Weak-Value Tilt Meter ...
I'm a scientist conducting an experiment that requires some signal processing. My expertise is not in signal processing, thus here I am. We've basically re-created an experiment conducted by other scientists, attempting to check their results. Here is a link to their paper: Ultrasensitive Inverse Weak-Value Tilt Meter ...
I was looking at the question from a textbook of mine and it doesn't make too much sense to me: Design a first-order filter, linearly extrapolating the current and previous measurement. This is equivalent to the assumption that the upcoming measurement will be on a straight line connecting the current and previous measu...
It appears that smoothing the FFT or spectral density plots of a noisy signal is a common practice. I see that common tools like MATLAB and Python have functions built in to their FFT tools to do just such a thing. My question is, if you're using a spectral density plot to determine a noise floor, wouldn't smoothing ar...
This is a difference equation to a causal LTI system: $y[n] = ay[n - 1] + x[n] - a^Nx[n - N]$ Where N is a positive integer. I need to determine the impulse response of the system, so I have the equation: $h[n] = ah[n-1] + \delta[n] - a^N\delta[n - N]$ h[n] is simple to find for the case where n < 0, n = 0, or n = 1. H...
I believe I have found a (new?) secret in FEZ's soundtrack, but my visualizer isn't clear enough to capture it 100%. In FEZ's soundtrack (by Disasterpeace), there are "secrets"- stuff like encoded images. These exist in almost all of the songs, even some of the more atmospheric ones. The game is about a shift in dimens...
So I am using the Source Extractor to find point sources in my images and it offers the possibility to use matched filtering to enhance the detection results. In the documentation they also claim that the matched filter defaults to a convolution of the data, should the noise be equal across the field (please correct me...
I came across this question and I've been pretty confused if its a trick question or I'm just wrong. Having a signal x[n] with 6 samples, it's DFT has values (6,3+j,0,0,0,3-j), what is the DC componente Value? Shouldn't it always be 0? Or am I thinking wrongly?
I understand the explanation for separating slow and rapid changing log spectral components but i need to understand: Why lower coefficients have higher and mostly positive magnitudes? Why Higher coefficients have negative values more often? I understand the mathematical computation i.e. taking log of spectrum to ma...
I'm working on a project to stream video between 2fpgas by using QAM. While mapping symbols with different amplitude pulses(PAM) a question popped up in my mind. In real life how does communicating wireless devices know which amplitude levels to agree on for digitally modulating-demodulating bitstreams? Is there a stan...
What "are" they? What's a sensible way to interpret the coefficients (and what isn't)? To pose specifics: DFT coefficients describe the frequencies present in a signal They describe the sinusoidal frequencies of the source Are either of the above true?
The Burg algorithm implemented in PRAAT for formant estimation also works via LPC. First the sound is resampled to a sampling frequency of twice the value of maximum formant. Then a pre-emphasis is applied and finally, PRAAT applies a Gaussian like window to compute linear prediction coefficients through the Burg algo...
I wanted to compare two different I-Q spectrum plots of a basic transmitter, one in which I doubled the bit rate. I expected a different result, that of possibly a higher/faster graph. It looks sort of the same, but that the doubled bit rate has more noise? I am not understanding the results here. Bit rate of 1MHz Bit...
Briefly, the convolution between $x(nT) e^{-j2\pi f_o nT} e^{-j \pi \Delta_F Tn^2}$ and $c(nT) = e^{j \pi \Delta_F T n^2}$ multiplied $e^{j \pi \Delta_F T k^2}$ allows me to find the DFT $X(f_k = f_o + k\Delta_F)$. Let $N_x$ be the number of samples of $x(nT)$, I found that $c(nT)$ must be at least of length $2N_x$ but...
I'm about to calculate some quality measures for audio. One important of them is the dynamic range (in sense of "loudness war"). By which in this context is not meant the SNR but the (naive said) "variance" of the "occuring energy". https://en.wikipedia.org/wiki/Loudness_war http://dr.loudness-war.info/ My idea was to ...
I am trying to understand the the degradation model equation but I have doubt that how come y^t.x.h will be equal to x^t.h^t.y . Aren't they transpose of each other.
Sorry, I am a little bit confused here cause I thought when we say QPSK, the signal looks like the following. I thought the bits to send/receive depends on the phase shift of the carrier, or is the above picture wrong or will never happen in real world? So the discussion from here is to use pulses to send 1's and 0's?...
I have been experimenting with cross-correlation function to verify the presence of speech in a recorded file wrt a source file. I tried the following in Matlab: source = '/home/skrowten-hermit/Programs/male_8k.wav' silenced = '/home/skrowten-hermit/Programs/male_8k_silence.wav' halved = '/home/skrowten-hermit/Programs...
My first question is about the quadratic functional that is used in generalized Tikhonov regularization: $$\Psi(f)=\frac{1}{2}\|f\|^2_\Gamma=f^T\Gamma f.$$ In the above equation what does $\Gamma$ represent, some special matrix? Then, I don't understand why $\Psi(f)=\frac{1}{2}\|f'\|^2$ is preferable over $\Psi(f)=\fra...
With many very similar frames of video that have been compressed with an unavoidably lossy encoding and available now as jpeg stills, are there available good mathematical techniques for recovering detail by considering multiple frames? Certain areas of the image are of great interest and the artifacts there change fr...
I just started out in signal processing I am trying to make a low pass filter with a 0 - 10000Hz Passband and has a maximum attenuation of 3db. Is the passband attenuation the same as the passband ripple? If so why is it that even though I am using a Bessel filter I still have a passband ripple of -3db?
I'm searching for a C library which implements methods needed for state space control (e.g. state feedback controller and state observer equations). Googling various terms only brought up a non-C (C# ?) library: https://github.com/tomstewart89/StateSpaceControl Therefore I was hoping to find existing projects which use...
I am trying to find an expression for the Fourier Transform of the frequency response of the cascade system seen here: Here is my approach: $(-1)^n = (-1)^{-n}$ $v[n] = x[n]e^{j\pi n}$ $V(e^{jw}) = X(e^{j(w + \pi)})$ $w[n] = v[n] * h_1[n]$ $W(e^{jw}) = X(e^{j(w + \pi)}).H_1(e^{jw})\,\,...... (1)$ $y[n] = w[n]e^{j\pi n...
As I know, the Radon transform is a very important tool in CT by Beer's law. Thus, finding $f(x)$ of Radon transform $Rf(L):=\int_{L} f(x)dl(x)$ is helpful in CT. Nowaday, the Filtered back-projection formula (FBP) for all dimensions $n$ (which can find the $f(x)$) is obtained and is used already. My question is here. ...
I have one period data ($n$ points in total) of a signal. I want to generate a periodic signal with a total of $m$ points and corresponding signal frequency of $F$ according to this data. How do I do that? Besides, I want to design a low-pass filter according to the simulated periodic signal, $F_s$ and $F_{stop}$ need ...
I'm implementing the Yin Algorithm in Python so as to extract the pitch of my voice when whistling or humming. My goal is to produce the Gate (Envelop Control) and CV (Pitch Control) signals which can be inputted to an analog synth. I'd also like to write a software synth which takes theses signals as input. That way I...
Given a sequence of length $2N$ $$ x[1], x[2], \dots, x[N], \dots x[2N] $$ We can construct the following matrix along with its SVD. $$ M = \begin{pmatrix} x[1] & x[2] & \cdots & x[N] \\ x[2] & x[3] & \cdots & x[N+1] \\ \vdots & \vdots & \ddots & \vdots \\ x[N+1] & x[N+2] & \cdots & x[2N] \end{pmatrix} = U S V^T $...
what is the relationship between these two things Perhaps more resolution in a spectrogram is equivalent to knowing more the position of the electron and less resolution is knowing the velocity of the electron.
I know that in general the sampling rate, $f_s$, must be greater than twice the highest frequency of the signal, $f$. If I sample at the Nyquist rate, it can lead to the following: However, if the signal is sampled only at maxima and minima, then we get this: My signal is not pure sinusoidal, it is something like thi...
Author on pg 292 claims the windowed-sinc "is not a filter for signals with information encoded in time domain", because its "step response has overshoot and ringing". That phrase, along "encoded in frequency domain", are used in text, but I'm unsure they're ever explicitly defined. My guess: Frequency-domain encoded:...
The experiment is the following: Given a 1d signal, e.g., a vector of values $f$. Let $F$ be its DFT, i.e., $F=fftshift(fft(f))$, shift is just to have DC centered. Then we upsample $F$ as $uF=upsample(F,2)$. Note that we do NOT interpolate, juste upsample. Like @Fat32 mentioned, signal expander, just stuff with 0s. N...
In context of transition width vs. stopband attenuation, different windows (Blackman, Hamming, etc) are compared in terms of tradeoffs between the two, always noting that one cannot perfect both. Why not? Make it long enough - problem solved. We're working with finite frequency and amplitude resolution, not infinitely ...
I am currently looking at the z-transform and am using a great youtube reference to help me, however I am struggling on some basic step. How do I get the impulse response array of h[n] = [ ... ] shown in the lecture at the following URL - https://www.youtube.com/watch?v=dEJp46SFgV4&ab_channel=DavidDorran I can do the ...
I have 3d accelerometer data sampled as 60hz. When I am looking at the power spectrum in all three accelerations (x,y,z). I am noticing a trend with a negative slope. I trying to figure a few things out: What could the cause of this trend be? System bias or something else? Best way of handling this - Matlabs detrend t...
So I am trying to use stereo vision to calculate the depth of several red balls. With the function HoughCircles, I get an output at one frame from one of the cameras like for example: [x1, y1, r1 x2, y2 r2 x3, y3, r3] where xi and yi (i = 1,2,3) are the coordinates of the center points for respective ball and ri is...
I am not quite sure if this is the right state exchange site or not. Pls let me know. So, I noticed that Logic and Pro Tools, etc. have this waveform shrinking and expanding effect when dragging the region through tempo changes. Here's a short video: https://i.stack.imgur.com/6tHyd.jpg I was wondering how one would ach...
I need to implement an encoder which compresses a 5-dimensional structure of 10 bits values. Each dimension has between 4 and 12 elements. If a dimension ever has more than 12 elements, it is partitioned in half. So far, I have been using a separable DCT to do that, but my implementation is very slow: I have implemente...
What should be a good bibliography for having a good overview of deep learning (on image/signal processing) in 2020 ?
Reading this ("ORB: An efficient alternative to SIFT or SURF") paper, I am not certain how they use the scale pyramid. It says it is created and FAST feature detectors are employed at every level. Then what? What do they do with these new keypoints found on each level of the pyramid?
How do we show $y_0(n) = y_1(n)$ when $h_k[n] = h[n] \cos(\frac{2\pi}{L} k n )$
I've come to realize what appears to be a hard limit in convolution theorem: to avoid time-domain aliasing, we must pad the signal/filter, but the padding distorts the spectrum. Consider a minimalistic problem of a sum of perfect $f=1, 5$ signals. Recover $f=1$: $s_1[n] = 10 \cos(2 \pi n/N)$; $s_2[n] = 1 \cos (10 \pi...
First of all I have to say I am very new to these matters. I am trying to apply FFT algorithm to some values obtained by EEG bands. I found the following code but I am unable to make it work correctly. import numpy as np fs = 200 #data = np.random.uniform(0, 100, 1024) # 2 sec of data b...
Homework Question: Consider a signal $x[n]=\alpha e^{j \omega_{0} n}+\beta e^{j \omega_{1} n}+\gamma e^{j \omega_{2} n} .$ What is the length of impulse response $h[n]$ of a system (non-trivial) such that $x[n] * h[n]=0$ ? I have written the form in frequency domain in terms of system function as $$H(\omega)\big(\alp...
Can the intelligence message of an FM signal be cross-modulated to a a different frequency by non-linearities, but with the FM modulating message remaining (relatively) intact on the new frequency? This isn't really trying to solve a particular problem, but I'm trying to understand if this is possible, and if the math...
It's said to "sample the DTFT", revealing what "DFT fails to see". And I fail to see how this sampling isn't distortion. The "spectrum" aims to provide the sinusoidal frequencies comprising a signal. If we're getting a nonzero distribution from 1 to 63Hz for a pure 1Hz tone, that's by definition different. Further, add...
New here and I just wanna ask the question of what happens when your pre warping doesnt work on your bilinear transform? I am assuming my isnt working as part of my research I have read that the higher the frequency is the more non linear it becomes, so I am assuming that my frequency I chose just has to many non linea...
I am trying to implement the moving RMS by Matlab. x = randn(50, 1); xRMS = sqrt(movmean(x.^2, 21)); xRMSref = envelope(x, 21, 'rms'); plot(xRMSref,'DisplayName','xRMSref');hold on;plot(xRMS,'DisplayName','xRMS');hold off; legend() Why my estimation differs from Matlab's?
I'm newbie on signal processing. I know when we program python with window function. (just signal multiply with window) According to Harris paper I know we change w with different window(blackman). However in python fft(signal*window(blackman)). Is there still window(rectangular) function when we do signal capture(ff...
If we have MIMO system with $2$ transmit antennas, ($T_1$ and $T_2$) and $2$ receive antennas ($R_1$ and $R_2$). The received signal of the first received antennas can be explained: $r_1$ = $h_{11}$$x_1$ + $h_{21}$$x_2$ + $v_1$ where $h_{11}$ denotes the channel between $T_1$ and $R_1$ , $h_{21}$, denotes the chann...
I am analyzing a recording from a microelectrode array on a neuronal cell culture and I found something that is disturbing me a lot. Through python, I have taken different chunks of the same signal profile from the original recording, calculated the FFT of each of them and then, the mean among them. In theory, this mak...
Consider the following two ways of generating noise in the time domain for audio applications: Generate samples from a uniform distribution [-amplitude, +amplitude], where amplitude is in the clipping range. Generate samples from a Gaussian/normal distribution with μ = 0 and some σ > 0, followed by clipping the sample...
I became aware today through fred harris' excellent presentation at the DSP Online Conference (https://www.dsponlineconference.com/) of the harris-Moerder pulse shaping filter which was published 15 years ago: https://www.wirelessinnovation.org/assets/Proceedings/2005/2005-sdr05-2-2-03-harris.pdf This filter reportedly...
Hey guys a little bit of a continuation from a previous post I made here, I found the solution as why the pre-warping was not working at the time, However I was just playing around and found out pre warpings were working with notch filters pretty good oppose to the low pass filters, now I am more then confused. I wonde...
I'm attempting to design an FIR filter that approximates the Hilbert transform in order to get a $90^{\circ}$ phase shift and unity gain. However, I'm having trouble adjusting the filter to make it causal. I've already read this answer, which was very helpful. Here's what I've got so far. import numpy as np import matp...
The time-domain representation of $G(f) H(f)$, where $H(f)$ is an ideal brickwall filter of bandwidth $1/(2T)$ is: $$ \int g(\tau) \operatorname{sinc}\left(\frac{t-\tau}{T}\right) d\tau $$ I want to show (using algebra, in the time domain) that the result of the above equation equals $g(t)$ if the bandwidth of $g$ is l...
I am trying to detect notes out of a musical sound input. My program can be run here. The problem is the patterns in the frequency response is repeating: I suspect that echoing in the room is causing the higher frequency components. If I try a sound generator such as this, repetition is much less, but it is there. Try...
I think I understand what happens when I shift the argument, but I'm not sure what should happen when the signal is compressed or expanded. In particular I'm trying to figure out what happens when the convolution where $y(t)=x(t)*h(t)$ is changed to $x(t/k)*h(t/k)$ or $x(t/k)*h(t)$. Supposedly the first should be $y(kt...
I'm used to filtering using FIR filters with a cutoff and dB attenuations etc. The issue I have is that I have pulses in my signal which contain similar frequencies as the noise. I'd like to totally remove the noise whilst keeping the pulses intact (no attenuation). What I'd like to do is have a filter which is applied...
I'm using 'awgn(input_signal,snr_db,'measured')' function in MATLAB to add white noise to the input signal. Here is the simplified script. Does zero padding the input signal affect the behavior of awgn function? clc;clear all;close all; data = randi([0 3], 1, 2^12); % Generate data qam_mod = qammod(data, 4); % Modula...
I implemented the plain DTF / inverse DFT algorithm in C++ in order to help me understand the method. As a sample input I considered f(x) = sin( x * PI / 5 ) and collected samples for x = 0, ..., 9. So my input data was (0, 0.58778, 0.951057, ...). Computing the DFT formula gives two non-zero coefficients: c_1 = (0 - 5...
In case of continuous time Fourier transform(CTFT), I can easily calculate the Fourier transform of DC signal by using Fourier duality or inverse CTFT. But I don't know how to calculate the continuous time Fourier series(CTFS) of DC signal. Some people say "One point in the frequency domain which includes the energy of...
I am somewhat new in the field of Digital Signal Processing / Image processing. As shown in the figure, I have 4 straight lines $f_i(x)$ with $i = 1,\dots, 4$ that pass through $g(x)$. Similiarly there are $4$ sample points $\mathbf{x}_i$ that lie on $g(x)$. The vectors $\mathbf{v}_i$ are the vectors obtained by join...
how the 4G LTE Or 5G NR OFDM measures and corrects the sampling frequency offset? if there is an algorithm using matlab please help
Consider a system implementing a rational sampling rate change by 5/7: for this, we cascade upsampler by 5, a lowpass filter with cutoff frequency pi/7 and a downsampler by 7. The lowpass filter is a 99-tap FIR. Assume that the input works at a rate of 1000 samples per second. What is the number of multiplications per ...
I am quite new in DSP and generating the spectrogram of an audio file. My spectrogram is not smooth and it is showing the quite raw image with pixel values, something like this While I am looking for a smooth spectrogram like this Where I am doing mistake? Is it because of size of window size? My code to generate Mel...
I think it’s a basic question, but I couldn’t get it’s clear answer. If we have data symbols $x$ vector of length $N$ x $1$ ; it’s convoluted with a multipath channel $h$ of length $L$ x $1$; the resulted signal $y$ = $h * x$ ; where $*$ is convolution operation. if we have $x_{(1:4:N)}$ is the pilot symbols which well...
I am studying some examples of how to perform 3D instance segmentation in indoor scenes, and I have noticed many of the available datasets are from real environments. I was wondering with the availability of animation and computer graphics why people don't use these methods to create datasets ? For one thing they are m...
Consider $\big\{x[0], x[1], \ldots, x[N-1]\big\}$. Suppose, \begin{cases} x[n] \sim \mathcal N\left(0, \sigma^2\right)\\ \big\langle x[n], x[n-1]\big\rangle = \frac12 & \forall \ n\\ \big\langle x[n_1],x[n_2]\big\rangle = 0 & \text{whenever}\quad\lvert n_1-n_2\rvert > 1 \end{cases} I need to compute $\operatorname{Var}...
I am trying to reproduce a numerical model of classical spectrum analyzer, described in "Fundamentals of Spectrum Analysis" by Christoph Rauscher. Classical model consists of a few local oscillators (by number of frequency sweep points). The LO signals should be mixed with analyzed signal one-by-one, and then products ...
If the Fourier transform of an aperiodic continuous time signal has signal components between the minimum frequency w1 and the maximum frequency w2, but not all the frequencies between w1 and w2, is the bandwidth said to be w2-w1? Or does it require that there be signal components at every frequency in the bandwidth?
I would like to know in general where the advantages and disadvantages are: Downsampling of a high sampled continuous analog signal in FPGA or µC and Direct use of a lower sampling rate, i.e. using an analog to digital converter with a lower sampling rate ? Are there any differences or does it have the same effect ? B...
I have a sine wave where there is a morlet wavelet inside: Now, first I'd like to decompose my signal (func) to 2 components which are the sine wave and the wavelet. After this, I'd like to decompose the wavelet to its gaussian and sine components. I tried to do this with a continuous wavelet transform manually but I'...
Edit: By causality, in this question, I do not mean the traditional mathematical definition in the theory o signals and systems; I mean causality as in an intuitive 'what's moving/pushing what notion'... I'm having trouble understanding how causality fits into our intuitive ideas of inputting our output back into the ...
Please, check the following discrete periodic sequence when the period $N=2$. $x[k]=\exp(j\frac{2\pi}{N}k), N=\text{period}$ $..., x[0]= 1, x[1]= -1, x[2]= 1, x[3]= -1, ... , N=2$ According to my DTFS calculation, DTFS coefficient of above sequence is as follows. $..., D_{0}=0, D_{1}=1, D_{2}=0, D_{3}=1, ... , N=2 $...
Can we sample the Dirac function? $$ x(t) = \delta(t) $$ Can we sample a DC signal? $$ x(t) = 1$$ I think that we can't sample $x(t) = 1$ because the Fourier Transform of $x(t) = 1$ is $2\pi \delta(\omega)$ (the Dirac function) and we can't sample the Dirac function because it extends to $\infty$ and we cant find $...
How do we apply windowing of 50% (4 samples) to a discrete signal with the odd number of values as 1234567? Is it done as: 1234 3456 567(0) or 1234 3456 67(0)(0)?
I seek to understand PyWavelets' implementation of the Continuous Wavelet Transform, and how it compares to the more 'basic' version I've coded and provided here. In particular: How is integrated wavelet, then differenced post-convolving, equivalent to convolving without int+diff? How is resampling the integrated wave...
I don't yet completely understand eye diagrams. Why isn't the noise in the centre of this polar BPSK diagram and instead are 2 margins at -4 and 4.. surely that's not where the noise would be in relation to the carrier. Also, how do you work out the SNR looking at this, I'm assuming it's the proportion of the full heig...
Note: This is being applied only to images of b/w text If we're given some image and plot the DFT spectra as and then we plot the rotated image's spectra Is there any way we could recover the angle the image was rotated by based on the magnitudes of the DFT? The only information I could find on how I would approach t...
I try to understand the co-channel interference occurred in MIMO systems with rich multi-path channels, but I couldn't find clear explanation about how it happens and what's its effects to the received signal. I tried asking HERE about it, but the idea of the question was not clear.
I have implemented a moving average, similar to the Hogenauer Filter, with a reduced number of computation operations. I expect the expected error to behave as the random walk and its STD to be of order $\sqrt{n} *\varepsilon$, where $n$ is the filtered vector length. Somehow I get one order smaller. What I am missing ...
Normally equalizer is used at the start of the receive chain .So do we need decision directed to estimate the doppler here and also later for carrier recovery for carrier phase recovery?
In particular, I have a signal coming from a twisted pair of arbitrary length with a differential encoded biphase line code. What should be a correct approach to timing recovery in this case? Currently I am trying to implement a baud-rate timing recovery algorithm using a Mueller&Muller TED (timing error detector), loo...
I'm processing an audio signal using an overlap add method.Everything at the block boundaries is fine. However I have a discontinuity at the very start of the first block and I'm not sure how to (or if I can) get rid of this.Zero padding the start seems to make no difference as the discontinuity is obviously "triggered...
I'm working on extracting the phase information in a given signal in MATLAB. I've the following vector; signal = [exp(1i*10) exp(1i*100) exp(1i*1000) exp(1i*10000)]; When I use angle function in MATLAB to calculate the phase value, it returns the following result. angle(signal) = -2.5664 -0.5310 0.9735 -2.8310 ...
I have a question related to crystal radio. I can't understand how a crystal detector (diode) shifts the spectrum from the carrier frequency to zero. The antenna receives bunch of signals and the LC circuit passes the most of the frequencies to the ground excepting the resonance frequency (and the near frequencies). S...
I'm a biologist and I was thinking of ways that impulse responses could be used to simulate how an animal sounds over various distances in different types of forests. Ultimately, if a tool was constructed that would allow scientists to simulate animal sounds over various distances, this would be a pretty useful researc...
Looking for books, course notes/slides, or some tutorials on decision feedback equalizers with in-depth details. I appreciate your help.
Currently I am studying about a modulation technique FBMC (Filter Bank Multicarrier) which is a predecessor of OFDM. The difference with OFDM is that, FBMC does not have a CP (Cyclic Prefix) which is a better use of spectrum. On the other hand, it is susceptible to ISI (Inter Symbol Interference) due to the absence of ...
Related to this question by @Molem7b5, what would be the frequency domain equivalent (filter implementation through overlap-add of DFT's) for a zero-phase filter as implemented with MATLAB/Octave/Python scipy.signal filtfilt command?
I cannot figure out what is going on here. I have an example problem in my book that says the ROC of a certain function is $$ 0.5 < |z| < \infty$$ The function's denominator is $$ 1 - z^{-1} + 0.75z^{-2} -0.25z^{-3} + 0.0625z^{-4} $$ By properties of the ROC, there should be a pole on the boundary of the ROC. Since the...
Assume if we have $N$ OFDM subcarriers represented by results of the inverse FFT of $N$ data symbols $\mathbf x$. As I know, the subcarriers of OFDM should be orthogonal. It means that $$X(n)X(n+1) = 0\quad\text{where}\quad n = 0,\ldots,N-1$$ My question is that I can't get that right when doing it in MATLAB. For exam...
I have a signal that isn't perfectly sparse and I would like to apply compressed sensing on it for lossy compression. However I would like to preserve specific section of the signal so that this "important" section can be perfectly reconstructed. Is it possible? How? (I hope this is ok to ask this kind of question - I'...
I tried to create a Matlab/Octave code to implement this DCT formula. Is the code below correct? As a help I used the code from this site and modified it a bit clc clear close all N=8; Pixel=imread('small.png'); figure imshow(Pixel) Cosines=zeros(N,N); for x1=1:1:N for i1=1:1:N Cosines(x1,i1)=cos( ( 2*pi*x1*(i1...
I am looking at the following system: $x(n) = A x(n-1) + b$ where x and b are vectors and A is a matrix. How can I derive the stability and causality conditions for such a system using Z transform? If I apply Z transform to each element of x, I have: $X(z) = A z^{-1} X(z) + b$ Therefore, $(I - Az^{-1})X(z) = b$. Then, ...
Imagine I have an $n$-bit sensor, whose noise spectral density is $V/\sqrt{Hz}$. $V$ is an exemplary measurement unit. The desired measurement bandwidth is also known. Is there a mathematical way to find a minimum detectable signal or minimum SNR or clean (unaffected by noise) sensor bits or ... based on the available ...
Context: I'm trying to do formant estimation. My first attempt didn't work out all that well so I'm trying to follow closely Praat since their formant estimation is remarkably accurate. Question: I thought it was obvious to apply the filter (pre-emphasis) before Downsampling, however Praat doesn't. Is there a reason fo...
I'm trying to model a transfer function in Python and thought I could do it by simply plotting the transfer function at many frequencies. This seemed to work for a 2nd order LPF. See the below figure. A bit of sample code would be like: s = np.arange(10 * 2 * np.pi, 1000 * 2 * np.pi, 10) # Creates vector of frequencie...
I am working on classifying different sounds ( not speech or words exactly something like ambulance alarm, police alarm, cough sounds etc) I read few paper which suggested to extract dsp features such as MFccs, skewness, kurtosis, log energy, entropy, zcr etc ( using total around 20 features ) from each segmented sound...