instruction
stringlengths
31
27k
I moved this out of another question, where I'd put it to give more context, and answered it here for the next reader. ELI5 how to implement a windowed sinc FIR filter in real time for an audio synthesizer. The synthesizer may adjust the filter's cutoff by an LFO, and there are a lot of filters in use, so this is both...
What if you had an $N$th-order Butterworth lowpass filter filter with -3 dB frequency of $\Omega_0$? $$ \Big| H(j\Omega) \Big|^2 = \frac{1}{1 + \left(\frac{\Omega}{\Omega_0}\right)^{2N}} $$ The number of second-order sections (SOS) or biquads in series is $\left\lfloor \frac{N}{2} \right\rfloor$. We know that the reso...
If I have a 3-bit ADC and a reference voltage of 8 V, any input voltage of exact increment of 1 V (e.g., 1 V, 2 V, 3 V, etc.) should not have any quantization error. With a 2 V DC input, the ADC outputs 010 with zero quantization error. Why then do we still have $ \Delta^2 \over 12 $ quantization noise and do we still ...
Is there an agreed upon name for a signal comprised of a repeating subsignal, but the period of the subsignal can be variable? For example, in an ECG, the subsignal (the waveform for a single heartbeat) is regular and repeats, but the period of the subsignal (the heart rate, RR interval, etc.) varies from beat to beat....
I've started to learn about FM and I followed this guide to FM a sine wave. I have managed to do it and here is the result: And the code: import numpy as np import scipy.integrate as integrate import matplotlib.pyplot as plt BasebandFrequency = 10e3 CarrierFrequency = 100e3 SamplingFrequency = 1e7 BufferLength = 200...
When I was at the University I did some courses about Acoustic. I always seen the dB octave band spectra, as the Fourier Transform of the dB in time. Now looking at some reference in Matlab, I noticed that it is a PSD instead. If it is a PSD should not be displayed as unit (dB/Hz)? Why everyone displays (dB) in the uni...
I have several signals, that I am trying to find a metric to compare the signal smoothness. By signal smoothness I mean, the signal that the distance between the peak to trough become smaller (getting close to becoming flat) is smoother, and if this peak-tough distance increases it becomes wavier. I can fit a Fourier s...
Consider an $N$ dimensional time series $x_i(t),~i\in\{0,1,\cdots, N-1\}$ where $x_i(t)$ is smooth. It turns out that for all $t$: $x_i(t)>x_{i-1}(t)$. The multi-dimensional series is sampled at some uniform sample interval $T_s$ yielding a set of $N$ sequences $x_i[k]=x_i(t=kT_s)$. Given these sequences, I would like...
I have multi-signal data and as a processing step want to apply peak sharping of signal as shown in fig below. is there any way I can achieve this in python ? Literature :Paper 1(Peak sharping section ) Paper 2 Algorithm in Literature $D_{K+1} = D_{K} + \lambda(D_{0} - h\bigotimes_{}^{}D_{K})$ $\lambda$ : Relaxation co...
I have run into some issues on an exercise for the course in signal analysis and systems I am currently studying. We are to create an echo effect and are using the system below: I am to find the systemes zeroes and poles for D=500. I did find zeroes by first describing the system like this: $y(n)=x(n)+x(n-D)+x(n-2D)\\...
I am trying to convert a stereo audio into a mono one by averaging both channels with Python. My audio is stored in sound and I calculate the average using np.mean(sound,axis=1). However, if I play the averaged audio, I am no longer able to hear the original sound: I hear a kind of random noise. Here is the original so...
I have a BPSK receiver that perfectly synchronizes in both phase and timing. This can be observed by looking at the convergence of Costa's loop and symbol timing recovery. My question is how to mathematically detect the lock for PLL-based algorithms (statistically or otherwise)? All the data from the Costa's (phase est...
I am interested in finding the true signal $p \in \mathbb{R}^D$ of an observed discrete signal $t \in \mathbb{Z}_{+}^D$. I know that each observed $t_{i}$ with $1 \leq i \leq D$ is the result of a random sample of a Poisson distribution with rate $\lambda_{i} = p_{i}$. For example: $p_{1} = 3.0$ then $t_{1} \sim Poiss...
I've written a simple program to take an audio file, and calculate the most prominent frequency for every 0.1s interval. My audio file has a sampling rate of 48000, and am taking datapoint windows of 4800. Using np.fft.fft, I am trying to find the most prominent frequency in that 0.1s window. When checking the output, ...
I'm trying to determine the reflective coefficient of sine wave. This one paper suggests a method using Fourier analysis. Here, it suggests Incident Wave = a cos(kx + Constant1), Reflected Wave = a cos(kx + Constant2), Wave = Incident Wave + Reflected Wave, Wave = A cos(x) + B sin(y), Followed by some mathematical fu...
I want to get the SPL of a monotonic sound like a 1khz tone but the problem is that I have a SPL meter which gives data in terms of A frequency weight. Is it possible to get the SPL of a 1khz signal, which is my dominant frequency and its amplitude is higher than any other frequency, by means of mentioned SPL meter? I ...
In analyzing the audio recording of a string instrument, I am struggling with pitch estimation. I am using the pYIN algorithm and every pitch estimation I'm obtaining is off by one octave. I assume that's caused by the fact that they're using the FFT. Looking at a spectrogram I observe that the second harmonic lasts lo...
I need help regarding the I & Q data which I extracted from VPI simulation software. The data is for 16 QAM constellation which is distorted by chromatic dispersion. The data is in 2 columns and have 512 rows. I loaded my Tx and distorted Rx data extracted from VPI simulation software in to LMS equalizer code. And run ...
I am trying to find a value from a given mathematical function whose input is supposed to be derived from FFT components. Essentially, I follow the procedure from [1] which assumes that a given sine wave (regular wave) is composed of a cosine and sine wave of different amplitude but the same frequency. How can I find t...
I have read several times that the variance for time domain data with a zero mean is equal to the integral of the power spectral density divided by N. From wikipedia, the discrete form of Parseval's theorem is: To my eye, the term on the left can only be called the variance of the time domain data if that data has a m...
I am new to DSP, learning some stuff, and looking for some advice from experts here. I am using the CMSIS DSP lib to get the frequency response of a dummy input signal that's a combination of 10 Hz + 30 Hz. Below is the code I am using. #include "arm_math.h" #include "arm_const_structs.h" /* std */ #include <stdio.h> ...
I did not major in signal processing, and I do not know a lot about some possibly very basic facts, so although SE has some questions related to this, I still have some confusion. I am given a data sample, data collected with an equal time difference (daily.) I am also informed that there are three major periodical com...
I'm trying to approximate this irregular signal to a square signal because I need to get the amplitude and pulse width of it. Is it possible to do an approximation for it?
I've seen many documents that refer to calculate spectrogram through overlapping windows but haven't found clear documents on why this is done and how to calculate the number of points that need to be overlapped? What will happen if I don't overlap the successive windows? Microcontrollers have a tiny RAM and low proces...
I am studying shot noise characteristics from this source: Here the author writes that autocorrelation function is given by: $$R_I(\tau)=\bar{h}*h*R_Z(\tau)$$ where $R_Z(\tau)=q^2(\lambda^2+\lambda \delta(\tau))$ and $\bar{h}(t)=h(-t)$ now applying the value of $R_Z(\tau)$ in the integral we have $$=q^2\lambda^2\int_{-...
I implemented a generalized likelihood ratio test (GLRT) detector/identifier. The result of the identification step results in a score for each of the objects to be identified in an ordered list. The ratio values are log of a ratio number. Is there a way to compute an estimate of the probability/confidence of similarit...
As known, the pilot tones are transmitted via subcarriers predefined and known in the transmitter and the receiver. The pilot spacing is repeated with a certain rate that depends on how fast the channel changes. I am talking about comb-type channel estimation. The distance between every two pilot's sub-carrier is calle...
I'm doing something like spatial audio algorithm using IIR modelled HRTFs. At each frame I get a direction information with azimuth and elevation, and then I have to find or interpolate the corresponding HRTF filter coefficients. The problem is that time-varying filters will result in audible artifacts. My current solu...
I am currently using a number of cameras with long focusing distance, i.e. >3m, and I want to calibrate them to find the intrinsic matrix. My problem is that if I want to cover all or most of the image with the target AND the target to be in focus, then the size would be too big of anything that I can print or buy. As ...
Does pwelch function, in matlab, adopt already the correction factor due to the window? When we use a window, like hamming or hanning, a correction factor for the amplitude or energy is needed. In my case the energy correction factor is needed. Is it possible that pwelch does already a correction, or should I use a c...
I have noticed that all filter taps from the firdes class are normalized by dividing them over the sum of all taps magnitude, as shown in the example below for Gaussian Filter. Is this normalization meant to keep the filter unit energy (or power)? and if that is the case, what is the mathematical justification for doi...
My DSP book (Rabiner, Lawrence R., and Bernard Gold. "Theory and application of digital signal processing." Englewood Cliffs: Prentice-Hall (1975).) has the following transformations for mapping a lowpass (analog) prototype filter to the desired filter: Lowpass to lowpass: $$ s_p\rightarrow\frac{s}{\Omega_u} $$ Lowpass...
I'm very new to DSP, and I'm unsure about finding how a signal $y[n]$ would look like. The following is given: Assume we have a finite support signal $x[n]$ which has the values $1, 2, 3$ for $n = 1, 2, 3$ and $0$ otherwise. Now we have the periodic repetition of this signal, call it $y[n] = \sum_{k=-\infty}^\infty x...
I have a Multi-User MIMO system where there are 2 users served by a base station. The base station consists of 64 transmit elements and the users are equipped with linear antenna array consisting of 3 elements. The channel that I use is One-Ring channel model which is NLOS model rich in multipath with scatterers. Hence...
I have a spectroscopy data representing Periodogram of 1024 pts (Periodogram estimate a theoretical PSD), however it is not normalized. How do we normalize the PSD ? The normalization I am looking satisfies : $$\sum_{k=0}^{2N-1}\bar{P}(k) = 1$$
Is there a way to introduce sparsity constraint on an autoencoder to achieve compressions in the Cosine/Fourier domain? I want to use the encoder part of the Auto encoder as the feature extractor from the STL-10 dataset. https://www.kaggle.com/residentmario/autoencoders The features learned should be more optimized tha...
I am trying to build a machine learning classification model of a given signal dataset of 3 classes (one file for train signal data is another one for test data). I tried different machine learning methods and almost all of them perform very poorly on the unseen testing data. I was surprised that the loss gets close to...
I am trying to implement a reverb algorithm but my knowledge is extremely limited in DSP. I am making a music application and I need to be able to process Float PCMs with a reverb algorithm to enable audio FX. Is there a fast, real-time reverb algorithm that anyone can suggest me? Any link, article etc would be appreci...
I am confused with this multiple-choice question: Assuming that $x(n) = e^{-2n}u(n)$, what does not happen if we limit the duration of this sequences to 2014 samples? A. The signal power leaks out into the entire frequency range B. The energy of the obtained limited-duration signal is greater than that of the original...
Assuming that a continuous-time $x(t)$ having its frequency content in the frequency band $1612\leq|F|\leq2015(Hz)$ is sampled with the sampling rate $Fs=806$ samples per second. Which of the following sampling methods can be used to sample $x(t)$ such that this signal can be uniquely recovered from its samples? A. U...
In the book Fundamentals of Music Processing: Audio, Analysis, Algorithms, Applications by Meinard Müller, the coefficients $d_\omega$ and $\phi_\omega$ are defined as where $\cos_{\omega,\phi}(t) = \sqrt{2}\cos(2\pi(\omega t - \phi))$. Also it's said that "The computation of $d_\omega$ and $\phi_\omega$ feels a bit a...
Taken from Guide to DSP where it says: ... at two ... standard deviations from the mean, the value of the Gaussian curve has dropped to about 1/19 ... It seems to be a straight forward calculation but my math just didn't work out to 1/19. The Gaussian probability distribution function is given by: $$ P(x) = {1 \over ...
To low pass filter a signal, we have to convolve it with a sinc function because it's the same as multiplying the Fourier transform of the signal with a rect function, resulting in the high frequency of the signal cut off, thus blurring the signal. Now I hear people talking about "box filters" and saying that by convol...
I seek to understand symmetry properties of analytic sequences, without referring to frequency domain: what criteria must a complex sequence $x[n]$ satisfy to be analytic? Framed alternatively, such a sequence's (if also zero-mean) self-correlation (cross-correlation with self) is globally zero. I found such conditions...
Can anybody explain me how to derive analytically the PAPR (Peak-to-Average Power Ratio ) for PAM constellations. E.g. 2-ASK (unipolar/bipolar), 8-ASK (unipolar/bipolar), 16-QAM, and 8-PSK? Thank you in advance
We see classes defined for Carrier Aggregation. The number of continuous carrier determines which class of CA it is. what are the criteria to decide contiguous carriers? Do the carriers need to stick with each other with no gaps? Or can some gaps of MHz be used as well? If the gap can be used, does it also contribute ...
I have a signal of the form $x^{*}(-n+2)$. To derive the signal's Fourier transform I use The following properties of DFT: $x^{*}(n)=X^{*}(-\omega)$ and $x(n-k) = e^{-j\omega k}X(\omega)$ so the signal's DFT will have the form: $e^{j\omega2}X^{*}(\omega)$. I am not sure if this derivation is correct or not. I also g...
I have two microphones separated by a distance d placed in end-fire configuration. Audio input data was played from the front side (i.e corresponding to 0 degrees.) The data picked by microphone1 and microphone2 is then plotted in MATLAB and compared. There will be an initial delay of (d/c) between the two microphones,...
I would like to know how I can find the sampling rate for the continuous-time signal: u(t) - u(t-2014), where u(t) is the continuous unit step function can be uniquely recovered from its sample.
How is hd(n) infinite duration when it is from -π to +π. Book says as it is infinite duration, we in the next step take-: h[n]=hd[n] from n=-(N-1)/2 to (N-1)/2 and 0 otherwise. I can't see how this hd[n] is infinite. What am I missing?
I'm trying to understand how Matlab LPC function works. So I made a little example script : I generate a real cosinus, calculate the LPC coefficients of this signal and then I try to predict the signal using only its first samples of it. clear all; %% Configuration Fs = 1e4; % Sampling frequency F = 1054; % Signal fr...
I have 4 signal functions like this: $1.\ e^{-2t}u(t)$ $2.\ e^{-2|t|}$ $3.\ (1-\frac{|t|}{2014})(u(t+2014)-u(t-2014))$ $4.\ u(t)$ I know the answer would be the third option since the other ones have their Fourier transforms as in the table here. However, I don't know how to use Dirichlet conditions to test their Fouri...
I have the following sequence flow, graphically: According to my understanding, the diagram describes the following sequence $$ y[n] = (cx[n] + x[n-1])[n-3](-1) $$ Now I'm very tempted to simplify this further: $$ y[n] = (cx[n-3] + x[n-4])(-1) $$ I saw something like this done before in some examples, but I wasn't abl...
I've been working on a project to send data via sound waves. The way I've carried this out is by encoding the data in pulses in the frequency domain, and then creating a unique sound wave containing that information. I've used python to plot that, which has given me: import scipy as sp import math import numpy as np f...
I am trying to figure out the sampling rate of a lock-in amplifier and how it is related to the time constant. For example, imagine measuring sinusoidal waves at $1$, $5$, $10$, and $50$ Hz frequencies with time constants of $30$, $10$, $3$, and $1$ seconds. The lock-in amplifier is used to measure the amplitudes and p...
I´m trying to implement my own FFT with the iterative Radix2 algorithm (I even thought about using the recursive one but it seems Simulink doesn´t allow me to). I tried all of the possible variations of it, like DIT and DIF, but I always get the same result and the output doesn´t make much sense to me. Being then used ...
I've been trying to perform a cross-correlation analysis between a Middle C sound (C4) and C5. I'm using the software RavenPro by Cornell to do the analysis. However, I've been unable to see a spectrogram for the middle C waveform. As you can see, the waveform is visible, but I'm unable to discern a spectrogram here. ...
I have two ADC interfaces with FPGA and 32-bit processed output data from FPGA. I have an IO signals to verify the Inputs and Outputs of FPGA. But I dont have any test points to verify the intermediate output blocks of the design like mixer and filter. Since I need to cross check the functionality of mixer and filter...
I have just started reading about wavelets for a data compression problem that I want to perform. I am reading about Discrete Wavelet Transform (DWT) but I can't understand where the wavelet family that has to be set is used. This is the DWT schema I do not understand where is the family wavelet used if only low-pass ...
What I don't understand about this algorithm-: What is the diffeence between w and w cap? What is the meaning of extremals? What does it means to reject p-r superfluous potential...
I essentially have two signals X and Y, recorded with PPG devices. These have been filtered already. I want to standardize(z-score) or min-max scale them but I don't know if I should do this on each signal individually, or combine them (This is my main question). I am then calculating the STFT to calculate the power sp...
I'm studying a course in signal analysis and have come across an exercise where I find the analytical part a bit tricky. I am to find the amplitude function $|H( f )|$ for a system with the impulse response $h(n)=\delta(n)+0.9\delta(n-D)$ Where $D=500$ I did some transforms: $h(n)=\delta(n)+0.9\delta(n-D)\\ H(z)=1+0.9z...
Lets say I have two signals with a different number of data points - a step function and a smooth spline as you can see below. What is mathematical operation I can use to quantify the "smoothness" of both signals. Thanks. [
I am working on trying to apply a low and high pass filter to an audio file that contains a set of exhalations over a microphone. The inhalations have been cut out of the file, and the exhalations are stitched together in the file. I am attempting to replicate this paper where they have set 10 and 150 Hz cutoffs on the...
I am trying to understand Discrete Wavelet Transform. I am trying to do it manually to understand all the steps well. Taking as an example the wavelet function 'sym2' knowing that its low decompostion filter bank coefficients are: dec_lo = [-0.12940952255092145, 0.22414386804185735, 0.836516303737469, 0.482962913144690...
I have designed an analog filter that includes a high pass filter with a cut-off frequency of 5 Hz and a notch filter with a cut-off frequency of 50 Hz. I want to sample the output signal of the filter and get its amplitude value. But near the cut-off frequencies, the filter response is not flat and causes the gain to ...
When I simulate BER for basic PSK schemes, I set the IQ complex noise variance to $\sigma^{2} = \frac{E_{s}}{2*R_{m}*R_{c}}*\left( \frac{Eb}{No}\right)^{-1}$ where $E_{s}$ = Energy per modulated symbol $R_{m}$ = Modulation rate (1 for BPSK, 2 for QPSK) $R_{c}$ = Coding rate I have now introduced shaping and matched fil...
Defining "analytic" as $x_a[n]$, where $X_a[k] = \text{DFT}(x_a[n])$, and $$ X_a[k < 0] = 0, \tag{1} \label{1} $$ what time-domain properties, such as symmetry or norm, are guaranteed for $x_a[n]$? For example, if $X_a$ is real-valued, then $x_a$ is even-symmetric in real part and odd-symmetric in imaginary. If further...
I have an analog signal alternatively captured by two probes. Sometimes the signal is periodic and depending on the physical conditions the two periodic signals might be in phase or out of phase. Also, these signals are quite noisy. After the analog-digital conversion I have to compute whether these signals are in phas...
What is the technique to calculate the false positive rate for an N-bit CRC? Example: Communication system sends M-bit packets with a N-bit CRC (M >> N) appended to each packet. What is the probability that the CRC passes, but it's actually a false pass (i.e., bc of bit errors)
While reading the paper "Perturbation analysis for subspace decomposition with applications in subspace-based algorithms" by Zhengyuan Xu, I came across the decomposition technique called Subspace decomposition, where the data matrix $X$ (noise free) is decomposed as: Journal: https://sci-hub.st/10.1109/TSP.2002.804084...
Referring to the figure attached above, is the ordering of the virtual antenna arrays (shown on the right) to measure azimuth and elevation angles of arrival correct? In my understanding, the ordering of virtual antennas arrays doesn't seem right. For example, the top horizontal row, which is supposed to measure the a...
The discrete wavelet transform is applied in many areas, such as signal compression, since it is easy to compute. I notice that, However, the continuous wavelet transform (CWT) is also applied to different subjects. In my opinion, the CWT is redundant and hence difficult to compute. So what are the advantages of the co...
How to solve a 1D Least Squares with $ L_1 $ Regularization? I know gradient based method, I wonder how much faster / efficient I can get. Related to Solve Efficiently the 1D Total Variation Regularized Least Squares Problem (Denoising / Deblurring).
Edit,this is the exact phrasing of my question Let $\lambda\in\mathbb{R^n}$.Prove that $f\star_{\lambda}g\in L^2(\mathbb{C^n})$ for all functions $f$ and $g$ in $L^2(\mathbb{C^n})$.What Happens when $\lambda=0?$ I been reading the book Harmonic Analysis on the Heisenberg Group By Sundaram Thangavelu and on Page 16,it...
I am trying to find the phase of a generic 2D sine wave with the 2D FFT. The formula for the phase is arctan(im/re). So I made 22 sine waves with phases ranging from 0 to 2 pi (by cropping the original sine wave at varying y-coordinates) and looped over those with this code: for i in range(22): inputWave = imread("crop...
I am currently working to calibrate a camera and I tried using both the Caltech Camera Calibration Toolbox for Matlab and OpenCV. I used the same images for both methods. Even if the error seems to be more or less the same between the two methods, the values don't quite match, especially the distortion coefficients Ma...
I know that it's a low-pass FIR filter with impulse response of length equal to $3$, but I don't know how to explain exactly why it's low-pass.
Suppose I have an audio and some noise, and want to do data augmentation for analysis. Since each audio and noise can have corresponding mel-spectrogram, instead of computing the mel-spectrogram of the wav form of audio + noise, is it sufficient for just adding-up the mel-spectrograms of audio and noise? Any mathematic...
Can you guys share 1 resource that solves similar type of this problem. This is not do my homework post. I just want a place which solves this type of problem. If you have pdf in book or sth, do share that.
Given a sinusoidal signal in white noise, how can one efficiently determine its frequency?
Suppose an arbitrary, strictly positive $x[n]$, transformed as $$ x_l[n] = \log(1 + C x[n]) \tag{0} $$ where $C$ is freely chosen. Given the following, where $h[n]$ is a Gaussian lowpass filter (or any other strictly positive lowpass): $$ \begin{align} y_0 &= h[n] \star x_l[n] \tag{1} \\ y_1 &= \log(h[n] \star x[n]) \t...
I need a sanity check. I think I understand the following, but I just can't get it to work. Suppose that I calculate a trifocal tensor $T$ from three sets of corresponding points in three images (call the sets $x$, $x'$, and $x''$). From $T$, I calculate three cameras, $P$, $P'$, $P''$, using Algorithm 15.1 in Hartle...
My nephew has this toy robot and asked me to build a new remote for it. It's a "Cady Wida" robot from JJRC. When I opened it up, a tag inside said "40 MHz" and the board sported a "CHOB" IR sensor. I'm assuming the robot wants a 40MHz sideband from a 2.4 GHz center frequency. So I fired up the RPI4 and "gnuradio" with ...
I'm trying to figure out how to compute the theoretical power spectrum of a first-order autoregression model (AR1). The AR1 model is given as $x_i = r_1 x_{i-1} + e_i$ where: $x_i$ is real-valued number at index $i$, $e_i$ is random Gaussian noise with mean $0$ and variance $\sigma_{\epsilon}^2$, $r_1$ is the lag-1 au...
I have a model function for a power spectral density (PSD). I want to simulate a time series with a power PSD equal to my model function. After some browsing about how to do this, I came up with the following method: Discretize my continuous PSD Convert the discrete PSD into amplitude points given by $\sqrt{N F_s S}$...
Say I have a signal of length 20s that contains signal from various (unknown) biological sources, e.g. heartbeat (~0.2Hz), respiration (~1Hz), and possibly som very-low frequency oscillations (~0.05Hz). My sampling frequency is fs=10Hz. I conduct a periodogram PSD estimate (hanning window, mean-subtracted, N_FFT=500), ...
I have seen some youtube explanations where matched filtering is explained as taking the input signal time reverse version with delay and then we do convolution of the input with this filter. But in many other references I have seen that match filtering is taking a template and sliding it over the input signal and look...
The image is taken from DSP Guide, where plot [a] is the time domain to synthesize [b] is the frequency domain where the amplitude denotes spectral density and [c] shows the actual magnitude of the sinusoidal amplitude. To convert spectral density to sinusoidal amplitude (i.e. from [b] to [a]), we multiply the spectral...
For a programmable CIC interpolation IP core configured as follows: Input bits : 17 Output bits : 49 (Full precision output) Stages, N : 5 Diff Delay, M : 1 According to E. B. Hogenauer in An economical class of digital filters for decimation and interpolation, Equation 22, $G_j=\begin{cases}2^j, & \text{$j$ = 1, 2, ...
I implemented a version of a CFAR average in MATLAB but it's 'slow' and I need to speed it up. I included the pseudo code and logic below. I used a nested for loop to calculate the moving average but this is no good since I want to run this on hundreds of millions of sample points. Does anyone have any methods for maki...
Suppose I have two time series (measuring the gyroscope data from two body sensors — A and B). I somehow need to evaluate whether the signal B is "following" the signal A — that is, how similar it is. Is there any measure that is used in signal processing for this sort of task? For instance, I'm thinking about some kin...
Problem definition: I measure N sources of noise $x_i$ and one output signal $y$ which contains real signal $y_0$ plus noise from all these sources $x_i$ transformed by linear response functions $h_i$ which are different for each of them. $\epsilon$ is noise from unidentified sources. I want to estimate this multidime...
Are signals modeled either digitally or analogously or can signals modeled as both?
I have been doing some multimodal signal analysis, and sometimes ICA is used for detecting statistically independent components. From my understanding, say if you have 2 sources and 2 receivers/sensors, you can have a unique solution, however if you have, say thousands of source, like in EEG, and 32 sensors, you need m...
I am reading An Approximate BER Analysis for Ambient Backscatter Communication Systems With Tag Selection wherein it is mentioned that "when the distance between two nodes is very small and line of sight is maintained then a random wireless channel can be assumed to behave as a constant". I am trying to understand how ...
I want to analyze an arbitrary impulse response. Basically, a list of tap coefficient. In general, "tap1" will give me a BW limitation. I want to add more taps and see what it does to the FFT. I have two cases The "cursor" is the first item in the list. I think the amplitude graph is correct, but something doesn't loo...
I am new to DSP. So I have a noisy signal with some high-frequency components. I was able to characterize the statistical properties of this signal through a gaussian distribution. My aim is to run a Singular Spectrum Analysis in order to remove some components at certain frequencies and see if they impact the Gaussian...
I am writing a program for converting microscopy images to a FEA model using Python and scikit-image. As part of it, I am writing a function which opens the grayscale image and has to do the following: Denoise the image using the denoise_bilateral() function. Resize the image using the rescale() function. Apply a thre...
I'm a software engineer with a CS degree working in machine learning. I'm trying to learn about Kalman Filters. In this short YouTube video from Mathworks, there's a discussion on a Kalman Filter with regard to a rocket: We want to measure a rocket engine's internal temperature $T_{in}$. We can't put a temperature sen...