instruction
stringlengths
31
27k
I have some room impulse response at 48kHz sampling rate. I have recording at 16kHz sampling rate. I want to apply impulse response on the recording. What I do now is downsample impulse response 48kHz -> 16kHz and then convolve both signals. Is it ok to do so? What are possible downsides of such approach? PS. I guess t...
So, I recorded this audio on my phone while I was running a tone generator on my PC at a frequency of 13Khz, now I want to extract this frequency which is dominant from the recorded WAV file. So, far I tried to read the wav file using scipy and then I tried to calculate FFT to get the frequency spectrum Here's my code:...
I am trying to automatically detect, whether a given stereo recording was done by the X-Y (intensity) or A-B (time-of-arrival) recording method. Does anybody know, if there is research on the topic? I could not find any.
I am doing research in laser satellite communication and am trying to understand a difference between RF and optical/laser communication systems. With an increase in distance between a transmitter and a receiver in an RF system, attainable data rate will decrease (all else being equal); the beam becomes wider. The sign...
I want to OCR photos of pages of printed text. Nothing too complicated but the images were taken with smartphone cameras, the lighting is suboptimal and sometimes the images were photocopied before. So far I successfully used the Tesseract OCR engine with its built-in image binarization. I learned that it uses the Otsu...
I'm doing a puzzle that gets me to call a phone number which produces a load of beeping sounds. Putting this into audacity as a spectrogram produces this: Zoomed in it looks like this: This looks like on/off keying. The problem is that I don't know how to take this binary signal and convert it into actual binary (oth...
I am working on an image detection and tracking problem and have correctly implemented the Kalman filter. I have two Kalman filters and want to track a maneuvering target. After all the books I have read, no one uses a solved example or an easy to understand way of implementing at least one cycle of the system. Can som...
Can one argue that discrete time-series coming from stocks or commodities (prices) are derived from a continuous-time process? One can probably argue that stocks or commodities at any time have a value and therefore a continuous-time price/value curve exist. The problem I have with this argumentation is that although o...
When processing IMU data, does the gyroscope get impacted by gravity? Linear accelerometers need to have gravity compensation but nothing is said of IMU.
Given a well-behaved signal $s(t)$ given by, $s(t) = \sum_{i}^{N} \cos( \omega_it + \phi_i) $ with a large $N$ and a well-known power spectral density (PSD), $\tilde{S_1}(\omega)$. Is it possible to compute the PSD for $s(t)^2$, $\tilde{S_2}(\omega)$? I am pretty sure (checked numerically and it makes sense) there is a...
EDIT: Scroll down for actual working code. I'm working on implementing a real-time convolvution reverb JACK client on C and I've been trying to follow a number of sources (including Gardner and Wefers (pages 110-111) ) to no avail. I've tried to follow the texts to the best of my ability and honestly, I can't get rid o...
We know that convolution in time is equivalent to multiplication in frequency (Fourier). $$x_1(t) \ast x_2(t) \leftrightarrow X_1(\omega)X_2(\omega) \tag1$$ However, for a sampled signal, this property only holds if the frequency resolution $\Delta f = \frac{1}{T}$ for the sampled signals are the same, i.e. the signals...
I want to create a sum of damped complex exponential signal with the known values of frequency $f$, damping $\alpha$, amplitude $a$ and phase $\phi$ for the $k = 1,2,...,K$ exponentials. Is there already a command in MATLAB that does it? P.S. I have already written own function to do this. \begin{equation} x_n = \...
I'm very new to the world of signal processing and looking for some guidance. I have 5 kHz accelerometer data from a car and looking to process this to remove some of the high frequency noise and also determine whether some of the 'spikes' in the data are in fact real events (Some are 6G, so I believe they may not be '...
EDIT This ended up being a bug with my plotting code :) I'm relatively new to using IIR filters, I wanted a bandpass filter for the 0.5Hz -> 5.0Hz frequency range and was looking at the zero-pole plots for different options scipy gives you. I'm using def zpk_plots(low_cutoff=0.5, high_cutoff=5.0, order=5, attenuation=...
Some digital amplifiers for sound use simple non linear power supplies that lower voltage on higher loads. What is it doing to the input signal from the source compared to the signal sent to the loudspeakers and how is the input level from the power supply used in the computation?
So I am trying to demodulate an OFDM signal with SNR = 10 dB, the parameters of modulation are as follows, oversampling factor = 8, cyclic prefix length = 144, number of Sub carriers used = 3600, number of symbols = 1, modulation format = 16 QAM. when I use an SNR of 30 dB, I can demodulate the QAM constellation perfec...
Translational invariance is a property that the continuous wavelet transform (CWT) has but the discrete wavelet transform (DWT) does not have. It says that a shift of the signal, i.e. $x(t)\rightarrow x(t-d)$, leads to a shift of the wavelet coefficients, i.e. $W_x(a,b)\rightarrow W_x(a,b-d)$ without other modification...
Good day to everyone, i have frequency spectrum i selected top 10 peaks of that spectrum i give weightage from 1 to 10 to top 10 frequencies by multiplying the corresponding amplitude by weightage amplitude of heighest peak is multplied with weightage of 10, second heighest peak with 9 and amplitudes of other peaks acc...
Would someone help confirm whether the steps I have here for OFDM communication chain make sense? At the tx bits - symbols - IFFT+CP - precoding - DAC - filter - PA - up conversion At the rx side downcoversion - LNA - filter - ADC - Remove CP + FFT - Equalizer - symbols - bits If my understanding is correct, where does...
I have a wav file at a 44.1KHz. I'm trying to change the sampling frequency to 1.26MHz. For that, I need to use interpolation and decimation, and so I did, but I'm getting odd results back. It seems like there are a few spikes when I do the FFT although there shouldn't be. Here is my function: import scipy import nu...
I am trying to implement a triangular modulation in Matlab, however I am having issues implementing the resulting frequency ramps. I have the following input signal (in reality, this signal is the input for a voltage controlled oscillator): Also, I have generated a matrix "z" which assigns a frequency value to each am...
import numpy as np import matplotlib.pyplot as plt Fs = 170 # sampling rate Ts = 1.0/Fs # sampling interval t = np.arange(0, 1200, Ts) # time vector f_f = np.arange(30, 80.01, 0.01) n_f = len(f_f) y2 = 0.0 y2 = sum(np.sin(2 * np.pi * f * t) for f in f...
I've been studying the time-frequency uncertainty principle of Dennis Gabor, and the tradeoff of the STFT window size in representing the tonal and transient characteristics of the musical signal being studied. I understand that by observing the spectrogram, one can see "blurry" temporal events (vertical lines) with a ...
I am investigating Wiener filter in the frequency domain, given by $$ W(\omega) = \frac{S_{ud}(\omega)}{S_{uu}(\omega)}$$ where $S_{xy}(\omega)$ is the cross-power spectral density (CPSD), see scipy.signal.csd or MATLAB cpsd. I used the Python's scipy.signal.csd for estimating $S_{xy}$. Here $d[n]$ is the desired signa...
I need to filter out line frequency of 50 Hz. As my signal may contain the frequency of 50 Hz, how can I remove the effect of line frequency of 50 Hz without losing the information in the signal? The signal contains frequencies in the range 10 Hz to 500 Hz.
I have around 1000 different time series, and for each one of them I want to automatically determine if there is any seasonality in the time series. Given the assumption that there is seasonality present, it is easy to determine periodicity from FFT or PSD. But how do you automatically decide that there is no seasonali...
I am working on a classification algorithm to recognize a sound anomaly. I have two audio classification systems placed at different locations. I would like to interconnect these systems and base my results based upon these simultaneous systems. I am giving an "anomaly score" to the classification algorithm results. If...
The discrete-time signal $x_n$ is a sum of $K$ discrete-time complex damped exponential: \begin{equation} x_n = \sum_{k=1}^{K} \underbrace{(a_k e^{j\phi_k})}_{c_k} {\underbrace{e^{\{(- \alpha_k + j2\pi f_k )\Delta t\}}}_{z_k}}^n, \quad n = 0,1,...,N-1 \end{equation} where $a_k$ - amplitudes, $\phi_k$ - phases,...
I have a 50Hz sine wave(mains voltage divided to the full-scale voltage of the ADC) sampled at 4kHz with not much noise in it. I want to measure precisely the peak-peak voltage of the sine. My first guess was to find the maximum and minimum values of the sine and average the Vpp from these. My second method was to calc...
We knows SIBs are transmitted from BCCH down to PDSCH and we use them to configure PHY, MAC, RLC layer. Now when UE gets to SIB so it will already have decoded PDCCH and DCI info, right. So, can UE know where the data is? Can't it read it?
I have a set of N real sequences and need to pick K sequences (with no replacement) such that their sum has the minimum variance. E.g. I have N=3 real sequences of length 5: x(1)=[-0.9 0.7 2.0 2.5 1.5] x(2)=[-1.8 -0.2 0.5 -1.3 -0.7] x(3)=[-1.5 -0.9 0.3 1.5 0.4] If I need to select K=2 sequ...
I am trying to demodulate an OFDM signal which was captured using a spectrum analyzer. The transmitted signal contained a 16 QAM modulation format, the received signal and the transmitted signal are not of the same length because the received signal is sampled for 20 periods, so to match the signal lengths I have perfo...
I am trying to generate a time-domain violet noise signal with the following power spectral density (PSD): $$ S_n(f) = A^2f^2 $$ Unfortunately, I am having trouble finding the right amplitude coefficient to get the correct value of $A$. I am generating the signal by: Creating a white-noise signal array $\mathcal{w}(t)...
In chapter 15 of the book Wireless Communications by Andrea Goldsmith, Goldsmith gives a formula for an estimate of the signal-to-interference-ratio for the node on the edge of a cell in a cellular system SIR = 0.167 (3N)^(ɣ/2) where N is the number of channels and the path loss is modeled as P = P_t d^-ɣ. There are s...
I used the scipy hilbert function to calculate the envelope of my signal. The problem is that the signal is complex, so it throws an error when I use Hilbert function. I tried to just use the real part of the signal, but the result doesn't look good as you can see in the following picture. The code snippets I used: # ...
I have an image of a 2D-sinusoidal pattern $f(x, y)$ with wavelength $\lambda$ which I would like to convolve with a 2D circular pill-box function $h(x,y)$ of radius $r$. The image is given by $$ f(x,y) = \dfrac{1}{2}\bigg[1 + \sin\bigg(\dfrac{2\pi x}{\lambda}\bigg)\bigg]. $$ Similarly the circular pill-box function is...
Could someone explain what Homodyne BPSK is? What is a difference between BPSK and Homodyne BPSK? I have read about this type of modulation in researches in optic communication. I surprised how phase modulation can be used in optic/laser system.
I have a hard time understanding why the combination of integrator and comb (integrate-and-dump) is the same as a separate integrator and comb in series like in this picture: Please explain why these two structures are equivalent. I have read that this is the same as this: The last integrator is with reset signal. I ...
OK, so I am designing a 2 kHz bandpass FIR filter using the following parameters: Fa = 1900 Hz Fb = 2100 Hz Fs = 50 kHz M = 33 pts Att = 40 dB I calculated the coefficients using this online tool (https://www.arc.id.au/FilterDesign.html) The code is written in C and consists of a circular buffer where the latest analog...
Assuming $x(t)$ is a periodic function of period $T$ and having the Fourier transform $X(\omega)$, it is required to calculate the Fourier transform of the signal $x(t)+x(t-T)$. Since x(t-T) is equal to x(t) the Fourier transform should simply be $2X(\omega)$ but if we use the time-shifting property of the Fourier tran...
I have a time series, which I believe should have daily periodicity, the signal is sampled once every 15 minutes, which means that one period is 288 samples. When I am trying to validate this result based on the FFT of the signal I get different results based on the number of points I sample from the FFT. I am doing th...
For a Chinese learning app, we let users record a syllable and we use speech recognition to assess if the pronunciation was correct or not. Every Chinese syllable can be pronounced with different tones (pitch differentials) that have different meanings. We use Beethoven to detect the pitch from the audio to assess this...
I was asked to explain why a zero order hold (ZOH) filter is not a good choice for signal reconstruction. To answer this question, I was thinking about studying the Fourier transform of the reconstructed signal. If $x$ is the sampled signal, $\tilde{x}$ its Fourier transform, and $s$ the signal to be reconstructed, we ...
iam doing BPSK transmission and receiving with acoustic signals, in order to get my actual signal from my received signal I am using xcorr in matlab to find peak point of alignment and getting my signal from that, but I am having issues the maximum seems to be not one point but a long range of points. Can anyone tell m...
I am trying to decompose a Sobel filter into two vectors (column and a row) using Matlab. If our Sobel filter is A = [1 0 -1; 2 0 -2; 1 0 -1] we can get the U, S, V matrices in Matlab with [U, S, V] = svd(A) Which returns U = -0.4082 0.9129 -0.0000 -0.8165 -0.3651 -0.4472 -0.4082 -0.1826 0.8944 ...
Implemented butterworth stopband(notch) filter, order is 2 Getting total 10 coefficients, Designed in matlab. Can you please explain why I am getting 10 coefficients
I implemented a Kalman filter to estimate the heading of a robot that is moving in 2D, given the measurements coming from a magnetometer (X, Y) and a gyroscope (Z). The code is the following: from numpy import dot from numpy.linalg import inv ''' X: state A: state transition P: state covariance Q: process noise covari...
Can someone please explain how to define parameters for Reed-Solomon decoder correctly in GNU Radio? I have already looked at ETSI EN 300 744 Clause 4.3.2 , but it does not explain how to choose parameters for use cases which are not RS(204,188) or RS (255,239). I have signal which I know is RS(255,223) encoded. If I u...
A biomembrane separates extracellular and intracellular space. It is known that the resting membrane potential of a nerve cell is -70mV and is caused by an electrochemical gradient acting on the inside and outside due to different ion concentrations. Potassium ions are much more concentrated inside and therefore tend t...
I have speakers that connect with the plugs shown in the images below to a hifi system, but I would like to connect them instead directly to a computer. Before I can find some kind of adapter to make that possible my question is what the name of this plug is, and if it is some standard?
I would like to calculate the input function (unknown) by deconvolution of the output and the "system response" signals. The output is a finite signal from a measure device so it presents a certain amount of noise and values close to zero at the beggining and the end. The "system response" is also a finite signal wit...
The Fourier transform is used to map functions to and from time/frequency domains. I can make sense of what it means to calculate the Fourier transform of, say: $$y(t) = e^{j\omega_0t}$$ which is $$Y(\omega) = 2\pi\delta(\omega - \omega_0)$$ But, what does it mean when I use, for example, R language's FFT function stat...
How does Wavelet Scattering work, intuitively? What are its motivations, and how's it differ from the (continuous) Wavelet Transform? Can it be visualized?
What are the properties of the scattering transform, besides shift invariance and warp stability? How is it implemented in practice, and how can one visualize its computational graph?
The following three screenshots show the max volume levels (indicated above the VU meter) of Cuckoo by Tipper if played with: No EQ: -0.5db Headroom High Pass EQ: +2.5dB over Low Pass EQ: +0.4dB over I don't understand why this would happen. I saw a theory somewhere that cutting high's basically turns square...
I am reading Digital Communication by Lee and Messerschmitt. In Chapter 6 on modulation, the authors say: "Modulating a complex-valued baseband signal with a cosine wave yields complex-valued passband signals. We can say that this signal is complex-valued in the time domain because it does not have conjugate symmetry a...
To prove that $\int_{-\infty} ^\infty \mathcal{H}(g(t))(t)\text{d}t\neq\mathcal{H}(\int_{-\infty} ^\infty g(t) \text{d}t)$, where $\mathcal{H}(\cdot)$ is the Hilbert transform operator My approach to solution: $\int_{-\infty} ^\infty \mathcal{H}(g(t))(t)\text{d}t$ The inside integral can be written as: $-jG(f)$ when $f...
Olympic filter is the name of a digital filter for removing spikes in the data. In the "Image Processing Handbook" 7th Ed., pg 192, this name is rationalized as follows: A modification to the simple averaging of neighborhood values that attempts to achieve some of the advantages of the median filter is the so-called O...
I'm kind of new to signal processing and trying to implement a GMSK modulator using GMSK in a nutshell by Thierry Turletti to modulate a bunch of binary data and send them over RF antennas. I'm very confused about what is happening in this model. How do you integrate NRZ data? integrating 1 is x+c and -1 would be -x+...
A scalogram is said to discard phase information with modulus; is it still possible to recover the signal to some extent? Algorithms like Griffin-Lim can invert within an error, but what's the theoretical bound (ideal case) on accuracy? Are there better approaches?
Is scattering equivariant to multiplicative time warps? Defined as $$ x(t) \rightarrow x(\tau(t)t),\ \text{sup}|\tau'(t)| < 1 $$ This post claims it holds approximately - what are the arguments, and approximation conditions?
Below I have plotted the signal (Lifetime decay) I am trying to deconvolve from a known impulse response function (IRF), as well as the IRF itself. I'm using scipy.signal.deconvolve. Please note for my deconvolution code, I am using only the peak of the IRF, not the entire array sequence as shown on the plot above. He...
I recently stumbled upon this GNU Radio flow graph which smooths spectrum. Block parameters are seen in image attached below. Also visually results doesn't change if I take out "Keep 1 in N" block. I know visually this can be achieved by averaging regular frequency sink block but I wanna know how and why is this approa...
I would like to implement my own xPSK coherent demodulator on a traditional PC connected to an acquisition board. I am wondering what kind of bitrate it is possible to reach processing only with the microprocessor? If it is the range of 100 kbits, 1 Mbits, 10 Mbits?
I was reading Simon S. Haykin's Digital Communications in order to understand the concept of quantization. However, on SQNR, I got stuck over the point where the author mentioned: With the input $M$ having zero mean and the quantizer assumed to be symmetric, it follows that the quantizer output $V$ and, therefore, the...
Context For an assignment, I need to find the correlation matrix of a dataset with 100 random variables and 1000 realizations for each. (It's a stock market example). Problem I don't understand how one can compute the auto/cross-correlation for a given dataset of discrete random variables with multiple realizations. Ex...
I have a question about the channel model below. theta, phi denotes AoA(Angle of Arrival), AoD(Angle of Departure) from receiver and transmitter. I know that channel impulse response is the sum of individual responses. But the channel model above considers AoA(Angle of Arrival) and AoD(Angle of Departure) and those ar...
The Kalman filter is a minimum mean-square error estimator. The MSE is defined as $E\left(||\hat{x}_k-x_k||^2\right)$ where $x$ is the state and $\hat{x}$ is the estimate. When $x$ is a vector, for example, a vector that contains distance and velocity, is the MSE equals to distance MSE plus velocity MSE? If so, the bas...
Let's consider an example ECG time series, sampled at 360Hz: I verified that autocorrelating a signal preserves its frequency content. For instance, both original and autocorrelated data show the same peak frequency: However, I noticed that band-pass filtering the autocorrelated signal does not yield the same results...
I designed a Parks McClellan filter to design a lowpass filter. First, I created the order of the filter with firpmord(). Then I designed the filter with firpm() and created the impulse response. I then filtered my signals with filtfilt() . What I want to learn here is the mathematical equivalent of firpmord(), firpm()...
I have this system: $$y[k] = (1 + (-1)^k)x[k]$$ I would like to know if it is time-invariant or not. I've done some work and came out with this: $$y_1[k] = (1 + (-1)^k)x[k - k_0] = y_2[k] = (1 + (-1)^{k-k_0})x[k - k_0]$$ Which simplifies to this: $$x[k - k_0] = (-1)^{k_0}x[k - k_0]$$ Which means that the system is time...
As far as I know, memoryless systems are causal systems. But why aren't systems with memory necessarily causal? Since the system with memory is affected by past input and current input, I think that this property is the same as causality.
I am starting a project on this Keggle dataset containing EEG registrations (sampled at 128 Hz) of several subjects. What I am really interested in is the final machine learning model, but still, to fit it I need to reproduce the preprocessing of the EEG signal necessary to features engineering reported in the associat...
I want to convert greyscale images to ones that have just black and white pixels. Simply dividing the input pixels into black or white based on being below or above a set grey level, doesn't give nice results. I'm therefore looking for an algorithm that does some rasterisation. My internet search led to many tutorials...
I have 25,200 samples of data. My bandwidth is 12.6KHz and my Fs is 1.26MHz, I want to plot an Amplitude-Frequency Spectrum to display up to 100 different signals, that's on purpose (12,600 * 100 = 1,260,000), For that I need to compute FFT on the first 100 samples, I can't really do that because the algorithm I'm usin...
I am new to signal processing, so please bear with me. My question applies to any general problem of estimation from noisy measurements but I will like to understand this through a problem given here. Suppose a function $f(t)$ needs to be estimated, say $f(t)$ is a polynomial in time and the coefficients, $\boldsymbol{...
Let's say we have a device placed in a 5m x 7m room. The device dimensions are 50cm x 50cm x 10cm. The device has an internal fan which is producing acoustic noise. The device also has an internal pump which makes noise when activated through a button press on a digital display. Is it possible to somehow cancel or supp...
Given a block, $x[n]$, of M samples. Calculating abs(fft(x)).^2 returns the power spectrum of that block through the use of a $M$-point FFT. I can calculate the same using Goertzel's algorithm. At which $M$ will it be more efficient to use an FFT instead of Goertzel?
I've recently been reading up on Analog Device's SHARC floating point DSP. It seems cool reading about DSP specific processors, however, I'm curious what applications actually leverage DSPs. For example, if I'm doing audio processing, wouldn't I just be better off using x86 since that has a larger install base? To be m...
Theorem: Let $$f(z) = \sum_{n=0}^{+\infty}a_nz^n$$ where $z\in\mathbb{C}$. If $f(z_0)$ exists for some $z_0\in\mathbb{C}$ then it converges for all $z\in\mathbb{C}$ such that $|z|\lt|z_0|$. Proof: It follows from the hypothesis that $\exists M\ge0 : |a_nz_0^n|\le M$ for all $n\in\mathbb{N}$. We have $|a_nz^n|=|a_nz_0^n...
Suppose I work with sampling frequency FS and block length of L. I implemented the Frequency-domain Block LMS (FBLMS) algorithm described here, slide 16, using the overlap-save method (to properly convert linear convolution to FFT products). The resulting filter $W$ is a $2L$ complex vector $W \in \mathbb{C}^{2L}$. Ho...
Let's assume I'm receiving a signal with power measured in dBm shadowed according to the normal distribution, i.e. $P_{\text{dBm}} \sim N(0,1) $. If there is also a normally distributed noise power $N_{\text{dBm}}$ of mean $0$ dBm present, the signal-to-noise ratio is \begin{equation} \label{hur} \text{SNR}_{\text{dB}...
I am no professional in this area so please forgive me if this question is too immature. And thanks in advance for any help and information. I want to know how to calculate the transmission distance of a signal, say a radio wave or any type of signal that is used to transmit information (like transmitting sound, more s...
I saw this adding noise to a signal but I still have some questions. I have normalized IQ data of a signal. Lets suppose that I know what the current SNR is (say 8dBm). How can I add noise to the I and Q components of my signal so that it has a new SNR (of course one with a worse SNR then what I am starting off with)? ...
I want to reproduce the result given by filter() MATLAB function using scipy.signal functions. The result is not consistent: Matlab example: bb = 0:.1:9.; aa = 1; xx = repmat(0.9234e-18, 100, 1); [y, zf] = filter(bb,aa,xx); y(1:10) zf(1:10) # print result: ans = 1.0e-17 * 0 0.0092 0.0277 ...
Suppose you have an i/q stream with a sample rate of 20 MHz. You want to bandpass filter a 1 MHz bandwidth (ie passband from 5 to 6 MHz). You then want to heterodyne that 1 MHz chunk. How would you do this efficiently in matlab? Matlab's bandpass function is really slow... First idea that pops into my mind is to create...
I am very new to this topic. I ran a Fourier transform with the scipy fft function. I than plotted the return values: I am assuming the x-axis means how many cycles there are in all the data and y-values are the amplitudes at that number of cycles. I have a time-series that I want to decompose into cycles. How do I us...
This might not be trivial nor short so in advance thank you all who read this in attempt to help. I'm building a Kalman filter in matlab and I'm fairly certain the software itself is working correctly because I tested it on some examples I found on the internet. Therefore my suspicion is that I made a mistake (either m...
Using the time shifting, time reversal, and scaling, I want to derive the form of the Z Transform of $$x[n]=-a^n u[-(n+1)]$$ $u[n]$ is the discrete-time unit step function: $$ u[n] \triangleq \begin{cases} 0 \qquad & n < 0 \\ 1 \qquad & n \ge 0 \\ \end{cases}$$ (disregarding the ROC) given the Z transform of the unit s...
How does JTFS work, intuitively? What are its motivations, and how's it differ from the Wavelet (time) Scattering transform? Can it be visualized?
How does JTFS differ from wavelet time scattering in its computation graph, and how does FDTS discriminability work, at a lower level? How is it implemented in practice, and how can one visualize involved ops? Can the coefficients be normalized (for e.g. ML applications)?
If $x[n]=(0.5)^nu[n]$ and $y[n]=(x*x)[n]$ then what is the value of $\sum\limits_{n=-\infty}^{\infty}y[n]$ ? I calculated the $\mathcal{Z}$-transform of $x[n]$ and then applied the accumulation property of $\mathcal{Z}$-transform. $$X(z) = \frac{1}{1-0.5z^{-1}}\\ Y(z) = \bigg(\frac{1}{1-0.5z^{-1}}\bigg)^2\\ \sum\limits...
I'm new to DSP and currently working on time-series data. The mentioned time series (of Toe) is extracted from a video tracking various body parts of an athlete. Ideally, there shouldn't be any movement in the signal and should stay around 0. I cannot explicitly make it zero, because, for other datasets, I'm not aware ...
I have two signals from two sources at a given condition and I have a mixed signal at the same condition that I know is coming from those same two sources. Is it possible to extract the source signals from that mixed signal using machine learning? I am attaching the stft plots of the two source signals where the fundam...
I'm trying to calculate the Fourier transform of an impulse-train sampled signal in two differnt ways but I end up with different results. Impulse-train sampling of a continous signal $x(t)$ with sampling period $T_{s}$ is defined as $$x_{p}(t) = x(t)p(t) \textrm{ where } p(t) = \sum_{n=-\infty}^{\infty} \delta(t - n...
In Wikipedia, a Fourier transform of the Sine Window \begin{align} w[n] = \sin \left(\frac{\pi n}{N} \right), \ 0\leq n \leq N \end{align} is plotted like below. However, I am not sure how to obtain this plot. The Fourier transform of the sine function should be \begin{align} \mathcal{F}\{\sin(2\pi A t)\} = \frac{1}{2...
Given a non-invertible matrix $X \in \mathbb{R}$, let's say that matrix is, e.g. : $X = \begin{bmatrix} 0.7500& -0.2500 &-0.2500 & -0.2500 \\ -0.2500& 0.7500& -0.2500 & -0.2500\\ -0.2500& -0.2500 & 0.7500& -0.2500\\ -0.2500& -0.2500& -0.2500& 0.7500 \end{bmatrix}$ The matrix $X$ is multiplied with sparse ve...
I have to find the FM and PM waves corresponding to this sawtooth signal: I have found out the PM wave as: I am getting the FM wave as this : I have plotted this using Python. Can anyone please tell me whether these plots are correct? I think I have got the correct PM wave but shouldn't the FM wave frequency change ...
I've been trying for days to implement this algorithm to work with size N samples but I can't manage to do it. my goal is to compute FFT for 100 samples, so I need factor 5 and 2, I wrote a simple FFT function and a prime factor function but I don't really understand how to go beyond that and articles with complex math...