instruction
stringlengths
31
27k
I have come across this quadrature modulator block diagram in many books and websites: I've read that the quadrature modulator allows to realize many different digital modulations, including multivalued phase modulations: BPSK, QPSK, 8PSK etc. So this seems to be a general block diagram for these types of modulations....
Ex: We're measuring vibration Frequency response of a structure, and at the same time there is a constant source of vibration (noise) from a pump. The pump is exciting the structure by sinusoid correspond to its constant rotational speed. Is it possible to remove the sinusoid which is induced by the pump using averagin...
I am referring to the Xilinx application note Polyphase Filter Bank Channelizer. The receiver portion should have FFT but the pdf mentions IFFT in both Tx and Rx. The paper by F. J. Harris, C. Dick and M. Rice, "Digital receivers and transmitters using polyphase filter banks for wireless communications," in IEEE Transa...
I ran a number of simulations for symbol timing synchronization in the past. I used GNU Radio mainly. Now, I'm trying to do the same thing in C++. To achieve that, I need a way to introduce symbol offset to the symbols. So suppose I have a complex array of $M$ samples acquired at a sampling rate of $N$ samples per symb...
I am trying to design an all-pass filter in order to compensate the phase distortion at the output of an equalizer. To do so, I take the phase vector of the output, compute the real and imaginary part using $e^{j\phi}$, then I do an IFFT and save the time-reversed output. The saved impulse response of the all-pass fil...
I am analyzing some program responsible for detecting the correct signal in the channel on the receiver side. It seems to me that such an implementation allows for the detection of the correct packets (because I mean packet transmission, from transmitter to receiver) from the received samples. It is known that under no...
I am working on a problem as I am trying to determine which is the best feature to use when working with audio. I have a piece of audio and I am trying to determine which is the best feature to use when detecting a clap. I am extracting multiple features such as spectral centroid, spectral flux etc and and I want to ...
I have used the energy-type signal autocorrelation function: $$\mathcal{R}_{xx}(\tau)=\int_{-\infty}^{\infty}x(t)x^*(t+\tau)dt$$ I have rewritten the equation as: $$\begin{align} \int_{-\infty}^{\infty}\big[u(t)-u(t-1)\big]\big[u(t+\tau )-u(t+\tau-1)\big]dt \\ \end{align}$$ How do I simplify this equation?
I'm not in signal processing, I'm from an another discipline. I've derived a simple result which I presume must be well known in SP and I'd like to know whether there's a paper or textbook that has it that I can cite. Suppose I have an n-dimensional stochastic process $\mathbf{x}_{t}\;=\;\left[\begin{array}{cccc} x_{t}...
I have checked the theory to calculate the magnitude of frequency response from the pole-zero plot from the previous posts. As far as I understand(and I hope I am correct), the magnitude can be calculated from this formula. |$H(z)| = \frac{|\prod_{n=0}^{n=\infty} (z-z_n)|}{|\prod_{n=0}^{n=\infty}(z-p_n)|}$ So, for this...
I have a filter with this transfer function in the z-plane $H(z)= z^{-k}$. Which type of filter is this (BP,LP,BS)and why? I have a delay filter with zero/poles equal to zero and the magnitude constant equal to 1, so can I characterize it as an all-pass filter ?
When I am in the DT Fourier Domain, and I want to come back to the time domain, which pair do I use? Asking because both pairs have the exact same "form" in the Fourier domain, and that is what is tripping me up. Do I just use pair 2 when I want to go into the Fourier domain and then I have to use pair 1 when I want t...
Consider the Fourier pairs: $$\psi(x,t) \stackrel{\mathrm{FT}}{\longleftrightarrow} \Psi(k,t)$$ $$\text{If } \quad \quad\Psi(k,t)=\frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty} \psi(x,t) e^{-ikx} \, dx \quad \quad \dots(i)$$ $$\text{then, can we derive: } \quad \quad \psi(x,t)=\frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty}...
I have many point patterns, and I want to detect those patterns that have points arranged in lines that may be curved, intersected or broken. For example, on the following picture, the upper left pattern is not interesting but other three patterns are those that I want to detect. Not all points in the interesting patt...
I know that the damping ratio of a system is defined by the angle of the pole, calculated with respect to the left hand side $x$-axis. Could one infer though, that if the magnitude of the poles is small (i.e. the conjugate poles lie closer to the origin), then the damping ratio of the system would be small ,and result ...
I am aware that complex discrete-time signals are of the form: $$ x(n) = a(n) \cdot e^{j\omega n T} $$ However, I have not yet worked with complex signals, only real ones. What are some practical examples of complex signals? Answers with plenty of detail are appreciated.
An analogue sensor has a bandwidth which extends from very low frequencies up to a maximum of 14.5 kHz. Using the Sampling Theorem what is the minimum sampling rate (number of samples per second) required to convert the sensor signal into a digital representation? If each sample is now quantized into $2048$ levels, wha...
In some places, it is said that z is equal to: $$z = e^s \quad where \quad s = \sigma + j \Omega $$ But in some places, it is said that z is equal to: $$z = e^{sT_s} \quad $$ where Ts is a sampling interval. Why are there two different definitions?
My goal is to make an approach to recognize modulation type of unknown signals. I have energy detector which monitors spectrum and it provides information about center frequency and bandwidth of detected signal. After shifting desired signal to 0 frequency I make a resampling that new frequency sampling equals detected...
I have the below detailed solution (boxed in blue) that I don't understand completely: I can reconstitute the differential equation from: $$ (1+Ts) X(s) = K_v U(s) $$ $$ x(t) + T\dot x(t) = K_v u(t) $$ but I don't get how do they get $x(t)$ from the initial conditions? I realize that my question is more about differen...
What I'm doing is that I send an audio signal consisting of a single frequency into a resonator. To check whether and how the signal has changed I perform a QAM demodulation. I do not need intend to recover the signal or something like that, I'm just interested in the magnitude of the change/modulation of the input sig...
Drawing the open loop block diagram between valve and pump is straightforward (please see illustration). But why should $v$ be an additional disturbance in this system (please see solution)? $v$ is going out of the tank?
Given an array of L sensors in a uniform planar array, with known positions in space, I would like to estimate both the angles of arrival and delays from a point source under multipath conditions simultaneously, initially using a Bartlett beamformer. The data from the array is in the frequency domain, taking the form o...
I have a signal h that I want to delay for a time t. I know that I could use two possible approaches: $h_{\text{delay}}[k] = \delta[k-\tau]\star h[k]$ $h_{\text{delay}}[k] = \text{IFFT}\left(\lvert H(\omega)\rvert e^{j\phi(\omega)}\cdot e^{-j\omega \tau}\right)$ Which theoretically should be completely equivalent (as...
I guess my question boils down to what "temporal resolution" means? I'm taking a signal processing class right now and we're learning about DFT and windowing at the moment. We've learned that when we increase the window size, $N$, we have greater "frequency resolution" From the image we see that the more we increase, ...
How would one find the pixels that match an RGB value in a matrix in MATLAB? Let's suppose that I want to find the image coordinates of pixels whose value is $RGB=(144,127,11)$ for a given image in a 3d matrix format. Is there any built-in function in MATLAB that implements this search without explicitly looping over ...
I am trying to learn about the behavior of the FIR filter however with complex coefficients. The filter I am trying to analyze is the following: $$H(z)=a+jbz^{-1}\quad\text{where the variable}\quad j = \sqrt{-1}$$ Now by setting $a = 1$ and $b = -1$ we obtain the filter $H(z)=1-jz^{-1}$ If we consider a discrete comple...
In the tutorials on particle filters that I have seen, it seems that the state transition function is already known. This example from Matlab, for example, states the the Plant or State Transition function is provided ahead of time. This video, also from Matlab, talks about predicting future state to move particles for...
I have read the paper A Fast Power Grid Frequency Estimation Approach Using Frequency Shift Filtering. I want to prove it using a numerical example, I have problem how to calculate the hp(n) values, Let's suppose that I have a sample signal which I have sampled with an ADC and for simplicity I will use Matlab to make t...
I have 2D pictures of an airplane of a specific model, taken with a simple camera, and a 3D point cloud model of this airplane. I would like to project the pictures onto the 3D model (cloud of points) based on control points that I manually locate on both ends. This should allow me to calculate distances on the 2D pict...
I have been reading more about EKF and I am a bit confused on how you handle predictions with multiple sensors. Ex, I have IMU, GPS, Odom and Stereo Camera. Each can be used to predict location, how do you combine them? My understanding of EKF fits in the basic framework of predict, act, measure, fuse prediction with s...
I am working on a hobby transmitter-receiver project. Presence of 4 pulses in T seconds is regarded as 1(not any number of pulses, should match below): lack of pulses during that T seconds is regarded as bit 0. This is how transmitter block sends out information. This signal is transmitted over a lossy channel so what...
I have an image of a cross-section of soil where the main object of interest are the plant roots. I would like to segment or extract the roots from the background noise of the soil itself and other obstructions such as spider webs. The goal is to form a clean image of the root network or end up with a result similar t...
Consider a typical BPSK system running at a baud rate of 1 kbaud/sec - the receiver needs to deal with severe frequency offsets, let's say up to +/- 1 MHz offset and that the frequency offset can change by up to 100 khz/sec. So we're dealing with a frequency offset that's 1000x the baud_rate. Usually if we were transmi...
Wanted to understand how google meet is removing halo effect when composing their image. They describe their method briefly in their blog as: "The blur shader simulates a bokeh effect by adjusting the blur strength at each pixel proportionally to the segmentation mask values, similar to the circle-of-confusion (CoC) i...
In that formula : $$ u(t)=K_{\mathrm{P}} e(t)+K_{\mathrm{I}} \int_{0}^{t} e(\tau) \mathrm{d} \tau+K_{\mathrm{D}} \frac{\mathrm{d} e(t)}{\mathrm{d} t} $$ I know from the formulae collection we refer to that : $$ \mathcal{L} \left\{ \int_{0}^{t} e(\tau) \mathrm{d} \tau \right\} = \frac{E(s)}{s} $$ But I don't manage to ...
As mentioned in the title, is it possible to use freqz to find the DTFT of a sine wave? I am confused about what the 'a' and 'b' vectors would look like, since there are only impulses in the numerator.
From Wikipedia, the equation for the 1D DFT is From a separate source, the equation for the 2D DFT is Notice how the 2D DFT definition features a scaling term while the first definition does not. Is this just an artifact of where the scaling takes place between the DFT and inverse DFT? Does it matter which transform ...
I am given a noisy signal $y(t) = x(t) + w(t)$, where $x(t)$ is my desired signal and $w(t)$ is the noise. In my scenario, the noise is very strong, much stronger than the desired signal $x(t)$. However, I know it is zero mean. Hence, if I can oberve $y(t)$ directly, I can recover $x(t)$ by averaging since ${\mathbb E}...
im trying to implement a band-edge FLL and timing locked loop from this paper (https://www.researchgate.net/publication/261499267_Band_edge_filters_perform_non_data-aided_carrier_and_timing_synchronization_of_software_defined_radio_QAM_receivers). The FLL works fine but i didnt understand the time accumulator and the i...
As we know, the path loss can be described by the equation as $$ \frac{P_{r}}{P_{t}}=D_{t} D_{r}\left(\frac{\lambda}{4 \pi d}\right)^{2} $$ In the OFDM system, such as Wi-Fi, there are infinite paths exist, assume it is in free space, and only one path exist, for the specific path (LoS path), the channel frequency resp...
I noticed a lot of hardware IC use special FIR filters with half zero of coefficients to minimize multiplication operations, especially in decimators/interpolators. E.g. [ 6 0 -19 0 47 0 -100 0 192 0 -342 0 572 0 -914 0 1409 0 -2119 0 3152 0 -4729 0 7420 0 -13334 0 41527 65536 41527 0 -13334 0 7420 0 -4729 0 3152 0 -2...
I want to compare two time-series data to see their similarity to each other. For this task, I use Dynamic Time Warping (DTW) algorithm. I have tried the implementation using Python tslearn: (the docs is here) import tslearn.metrics import numpy as np s1 = [0, 0, 0, 0, 0, 0, 52, 50.144, 50.144, 50.144, 50, 51.1544, 50...
I am trying to solve these two questions, but I am stuck with the filter stability and ROC. Hope somebody could help me with it. According to what I understand, the third option is correct. Fourth option is also incorrect as it only contains one pole and on zero. I think the first and second options are incorrect; the...
Is there any known math equation or other method to perform phase rotation on signal without decomposing it to frequency domain? In frequency domain it is obvious. You just need to perform phase shift for each frequency. But decomposing signal from time domain to freq domain, then perform phase shift on each frequency,...
The general structure of Sub-Band Coding (SBC) is shown below: The diagram shows that after each of the analysis filters, decimation is performed by a factor M which corresponds to the number of channels. Would this not result in aliasing when this decimation by N is performed for the higher frequency sub-bands and wh...
I am testing the Simulink discrete integrator block as shown in the picture below. The simulation is fixed step with $T_s = 1e-5$ and the cosine wave block setting and the scope display is also shown below. For the discrete integrator block, the gain value K is set to be 1 and the integration method was chosen to be...
It is not clear to me if the CZT transform actually increases the resolution relative to the FFT or just does interpolation. The resolution of the CZT transform is assumed to be arbitrary. Up to what limit?
Consider we have to design a signal $ \mathbf{x} \in \mathbb{C}^{1_{} \times N_{\mathrm{}}} $ that needs to have the lowest correlation with an unknown signal $\mathbf{y} \in \mathbb{C}^{1_{} \times N_{\mathrm{}}}: $ \begin{equation} \begin{array}{cc} \text { minimize } & E\left[\mathbf{x}_{} \mathbf{y}^{H}_{}\right] \...
I am trying to derive parameters for a triangular FMCW waveform such that the phase of the signal has consistency from one period to the next. Perhaps this is arbitrary and feel free to tell me so, but I have a bistatic FMCW system and as such I will be implementing a delay and freq offset calibration procedure on star...
In what way does it have a rectangular shape? Does it have something to do with a polar-coordinates graph?
I am using OpenCV(4.5.1) and trying to extract a smooth contour of an object on my image. Firstly I got the contour by: contours, hierarchy = cv2.findContours(mask2, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE) I got the following contour: Then I tried to remove the redundant element on the image by: for i,cnt in enum...
I can easily prove that the mean filter minimizes the square error $L_2$ cost function using simple calculus. However, how do you prove that the median filter is optimal with respect the absolute error $L_1$ norm?
I have been struggling with a research question and would appreciate any pointers (or full solutions). I have a data set of many (+/- 50k) observed - correlated - signals. These signals are known to contain 3 main components: S_total = S1 + S2 + noise. S1 is common to all signals, S_total is observed. For one signal, t...
hello I want to find the frequency response of a microphone. I give the input signal to my speaker and it produces a specific SPL with specific frequency. on the other side, I read the microphone output voltage. but I wonder which value of SPL is required to find the frequency response of microphone? should I fix the ...
I am currently working on a project, where we record an electron beam profile using a target. The obtained image is a result of convolution of the actual beam profile and the aperture wherein the aperture is respresented by an image of the same size as the beam profile with all pixels lying inside the circle (aperture)...
If we consider the mapping $\mathcal{H} : x[n]\mapsto y[n]$ and define the following output signal $y_{1}[n]:=\mathcal{H}\{x[n]\}:=x^{2}[n]$, then one can easily verify that such system is non-linear for it rejects the superposition property. But I am having a hard time applying the superposition property to $y_{2}[n]:...
According to this link, all I need to do to mix two signals is to multiply them. I have two chirp signals with same properties, one leading the other. If I multiply them to get the IF output, I don't get a constant frequency which is what I expect, I get double the frequency: from scipy.signal import chirp, spectrogr...
I am designing a QPSK demodulator to be used for receiving Meteor M2 (LEO satellite) signals (QPSK at 72Kbaud). However, I am finding a lot of problems in my way. First of all, this is the flowchart I came with: First, I filtered the signal, applied it a $\frac{3}{16}$ fractional downsampling and fed it to a Polyphase...
I was trying to design a filter for a system and I was able to obtain the group delay plot in matlab using grpdelay. The group delay output is in samples. However, I was not able to relate that data to the propagation delay of the signal through the filter. Is there a formula between these two quantities? Also, if I we...
I am new to DSP and, as a learning exercise, I am trying to design an all-pass filter in order to compensate the phase of an input impulse response (heqm.mat, which you can download from here). The MATLAB code is the following; for the phase compensation I am using the time-reversed technique, also called matched-filte...
I would like to know a short definition of the three fields Active Vision Attentive Vision Machine Vision For me it is quite hard to find a specific definition in literature. Sometimes authors group two of them together or use any of them as a synonym.
Assume a discrete time signal $(x_n)$ is given. Some texts define the DFT as $$ X[k] = \sum_{n=-N}^N x_n\exp\left(\frac{-2\pi j k n}{N}\right) $$ while others define it as $$X[k] = \sum_{n=0}^{N-1} x_n\exp\left(\frac{-2\pi j k n}{N}\right) $$ or $$X[k] = \sum_{n=1}^N x_n\exp\left(\frac{-2\pi j k n}{N}\right)$$ or many ...
How can I calculate bit error rate for 8-PSK modulation when I have $E_b/N_0$ given? I know that for QPSK/BPSK the matter is quite simple, but I cannot cope with 8-PSK. Let's say that my $E_b/N_0$ = 63.1 [dB]. Now, can I use this formula?: If yes, what can I substitute for n and Q? And if not, how can I calculate it d...
Breaking my brain all morning with this reading previous questions and googling ... I have made an RRC filter from the equation on wikipedia. It works fine and I compared it to commpy library in python. But what I dont understand is the frequency amplitudes. Should the RRC filter have normalised gain, i.e. 0 dB by div...
I'd like to be able to compare two audio streams: one containing the correct pronunciation of Arabic text (from the Quran), and the other containing one from a user learning Arabic. Here is a sample of what Arabic sounds like in case it helps: https://youtu.be/ZYaZ6Odbx_Y Questions I'd like to be able to answer: Did t...
I am using the Peak to Correlation Energy (PCE) Metric to measure the similarity between two images using MATLAB. In some cases, the PCE value obtained is NaN. How can I solve this problem?
A linear filter with a kernel that has zero mean could be thought of as a "DC-rejecting" filter. Is there a better or more commonly used adjective for such a filter?
Given a half complex spectrum (positive frequency bins from DC to Nyquist) as the result of a real FFT, to estimate the true (non integer) peak frequency I usually rely on Eric Jacobsen's estimator: $$f=Re\bigg[\frac{Z_p-Z_n}{2Z-Z_p-Z_n}\bigg]$$ where $Z$ is the complex bin value at local maximum and $Z_p$, $Z_n$ are t...
I wonder do I understand beamforming right. Question 1 Does same data inserted to all antenna at beamforming? Like figure below? The only different is through different phase shift? If it is right how about Massive MIMO which use 64,128 antennas? The all 64, 128 antennas get same data? Question 2 Does concept of layer...
It seems that most deconvolution algorithms mainly handle the main lobe of a point spread function (PSF) and assume that sidelobes can be safely neglected. For a direct algorithm trying to perform a division in frequency-domain, it seems difficult to deal with the zero crossings of the Fourier-transformed PSF. For the ...
I am taking an intro to radar signal processing course and we are discussing the Hilbert Transform and how it take a real input and its output is analytically complex. I'm trying ) how a radar recextracts $p(t)$ and can $q(t)$ frathe in-phase and quadrature phase components ssband signal $t$, (sayo underst)and how and ...
I have a system of coupled oscillators. One is a pendulum acting as a tuned mass damper and the other is a wooden structure. When I loosen the screw that allows the pendulum to oscillate I get a signal of the acceleration of the system like the following: I know for sure that the amplitude of the waves composing this ...
I have some iq data recordings of a 2-FSK waveform that I've created periodograms from. How do you estimate the SNR of this waveform in the frequency domain? I've heard two opinions: One: Integrate the signal band power over the excursion Find a clear area of the spectrum and integrate the noise power over the same ba...
I'm trying to create spectral plots similar to one below (it's from the datasheet of an AD1986 sample rate converter, page 8): In the comments below the plot, it says "Wideband FFT plot, 16K points". I'm particularly interested in having high spectral selectivity (if that's the right term), with the 1kHz peak being ve...
I have the problem below. It sounds simple but for some reason I have been stuck on it for a long time and don't know what am doing wrong. Am trying to solve this using correlations. So we all know that the variance $\sigma _y^2\:=\:R_y\left(0\right)$ which is basically the correlation of $y$ evaluated at zero. Now we...
So I've been looking at this butterfly diagram to try to understand it better: And I am trying to get a good understanding of the twiddle factors. The definition is given as: FFT Twiddle Factor: ${e^{i2{\pi}k/N}}$ and IFFT Twiddle Factor: ${e^{-i2{\pi}k/N}}$ So k is the index number of the iteration thus $k=0,1...N$ b...
I wonder how I can convert dBA (A weighted) to dB and vice versa. can anybody provide any kind of table or online conversion app? thanks following formula comes from https://en.wikipedia.org/wiki/A-weighting :\begin{align} R_A(f) &= {12194^2 f^4 \over \left(f^2 + 20.6^2\right)\ \sqrt{\left(f^2 + 107.7^2\right)\left(f...
I have a PLL that tracks the phase lag of a resonance system. When unwrapped, my system's phase lag has values beyond $-\pi$ to $\pi$. After unwrapping phase lag, are there any bounds on the phase difference between signals? I assumed that the bounds were always from $-\pi$ to $\pi$ since a phase difference greater tha...
I've already read and understand what does OFDM mean and what does it stand for and why we use it in our wireless technology today. My question that I didn't understand is what does it mean number of "OFDM symbol per frame is 1 or two or 3 ..whatever"? to clear more, lets assume I have pattern of data to transmit : [0 ...
As I understand, there are two major methods of constructing wavelets on graphs. Spectral wavelets, from David K Hammond et. al, and diffusive wavelets from Coifman and Maggioni. I can't quite parse out any advantage one construction has over the other, which applications each is more suited for etc. The Hammond paper ...
I have been studying the digital audio processing by using the book <Designing Audio Effect Plugins in C++>. For analog Sinusoid: Complex Sinusoid = $e^{jωt}$ Delayed Sinusoid = $e^{jω(t−n)} = e^{jwt} * e^{-jwn}$, a delay of n seconds For digital sampled version: sampled complex sinusoid = $e^{jωnT}$, T is interval for...
Below is the graph of my load cell readings at 3 samples per second. I have collected 500 such samples. I want to stabilize the readings and read that first approach is to convert time domain data to frequency domain. I am new to DSP, so i seek your expert guidance on this. My main aim is to stabilize the readings so t...
I want to compute the output image by first dividing the image into 8*8 blocks and applying laplace filter separately and combine them but I am not getting the correct output Here is the code: I=imread('moon.tif'); figure; imshow(I); title('Original Image'); g=[0 1 0;1 -4 1;0 1 0]; [N, M] = size(I); output = zeros(N,M)...
I am a little confused on CDMA and its interaction with the typical pulse shaping filter ex, raised root cosine. Is the RRC filter bandwidth selected to be consistent with the CDMA spreading/update sequence? Or is it kept the same as prior to CDMA implementation so the number of pulses is consistent with the number of ...
I am kinda lost on how to map my indices for each stage to my look up array of precomputed twiddle factors. For an $N=8$ point FFT i have $N/2$ twiddle factors in total: ${ [0] = W_8^0, [1] = W_8^1, [2] = W_8^2, [3] = W_8^3 }$ With this look up table available how do you calculate, which index matches with each other ...
I am new to communication and studying amplitude modulation. Let us assume an amplitude modulated wave given by $$\big(m(t)+ A\big) \cos(2\pi f_c t)$$ Now we have formula for efficiency as $$ \eta=\text{useful power / Total power}=\frac{\overline{m(t)^2}/2}{A^2/2+\overline{m(t)^2}/2}$$ I am not able to understand why t...
I'm trying to calculate the Butterworth filter gain. If I use the formula mentioned on Wikipedia: $$ G^2(\omega) = \frac{G_0^2} {1+\left(\frac{j\omega}{j\omega_c}\right)^{2n}} $$ I don't get a matching result from calculating the gain directly from the filter's magnitude using R's signal package. library(signal) # But...
I am trying to write a python function that checks whether two lets say sine signals would generate a distinct beat envelope or not. I know that the beat frequency = f1-f2 where f1 and f2 are the frequencies of my input signal. Is there a mathematical measure on when two sine curves generate a beat envelope and when th...
I have designed an IIR filter in Matlab that comprises the following biquads 0.244 0.002 0.244 1 -1.432 0.543 0.244 -0.345 0.244 1 -1.555 0.777 0.244 -0.388 0.244 1 -1.652 0.943 I want to implement this filter in a 16-bit DSP. Before converting the coefficients to short int, I therefore normal...
Is there anyway to simulate the effects of sampling an analog signal with Python/MATLAB? I am trying to show what happens to the frequency domain (magnitude and phase) of the analog signal after it has been passed through an analog Butterworth filter and that subsequent signal is sampled. How would I simulate sampling ...
I have made some progress since my last question, and again I am asking you for advice. Hi, I'm still designing an unusual (in terms of signal analysis) EEG experiment, which forces me to design my own filter. I have made some progress since my last question, and again I am asking you for advice. I prepared a document ...
I am trying to implement a Kalman filter for an echo pulse detection application as similar to this paper. (an open source version is here (pg 16)) The measurement variable is $h(x,t)=A_0 (\dfrac{t-\tau}{T})^\alpha \cdot \text{exp}{(\dfrac{t-\tau}{T})}$ and the state vector is $x=[A_0 \; \text{ } \alpha \; \text{ } T ...
I have a PDM data input from the MEMS microphone on the Pynq-Z1 development board. My eventual goal is to take the FFT of the audio samples and display the frequency bins on some LED. I am struggling to understand what exactly is needed to convert the PDM signal to an acceptable input for the FFT. I have seen some vide...
I have an acceleration measurement in x, y and z direction, i.e. three vectors each of length 3000. $x = [x_{1}, x_{2}, x_{3},...,x_{3000}]$ $y = [y_{1}, y_{2}, y_{3},...,y_{3000}]$ $z = [z_{1}, z_{2}, z_{3},...,z_{3000}]$ Currently I'm taking the RMS of x, y and z then I'm calculating the FFT. This produces a vector o...
I am trying to bandpass a neural signal acquired at 20kHz between 0.5 and 100 Hz. I have tried to do it in two ways. The first way is to sequentially highpass and lowpass the signal and the second one is to use the bandpass function in Matlab. To my surprise, the results were dramatically different. See image below: H...
so, here is a very simple model. The CCDE is given, but I was trying to derive it on my own and now I am stuck. first of all, the reverse y[n] when goes through the delayed system, it turns to y[n-M]. then when it passes through the leaky integrator system, $y'[n-M] = (1 - \lambda) * y[n-M] + \lambda * y'[n-M-1]$ comb...
I want to make a log-frequency spectrogram out of this audio. Later, I need this spectrogram for pitch sequence analysis. This is a sample sequence I want to achieve: [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 18 18 19 19 19 19 19 19 19 19 18 0 0 0 0 19 18 18 18 19 19 19 ...
I have read from different web links,different formulas of quantization step size as shown highlighted in attached snapshot,but what is actual/correct formula?
I am not EE or DSP engineer, however I am working on a project that uses TDOA estimation for location finding. I am able to get the localization algorithm working using cross correlation to estimate TDOA. The challenge is that the receivers are separated by a distance and I am trying to find a method where I wouldn't h...