instruction
stringlengths
31
27k
I am programming the simplest way of implementing and IIR filter. However, I am struggling with the use of buffers. Do any of you have any simple implementation of an IIR filter implementing manually the convolution? I would like to have something simple, implemented on a function or something like that on C/C++. thank...
Hi :) I'm not sure this is the right place to ask this question, but I'll try anyway: Here are two well-known facts, and I don't understand how they work together: Males usually have deeper voices than females because they have longer vocal folds. Short and relaxed vocal folds produce a deep voice, long and tense voc...
I would like to compare 2 generic images, with same sizes and normalized values. Which metric would be better than the baseline Eucledian distance?
For example, in a PSK modulation. I saw that to plot the BER curves as a function of the noise, we never took into account the pulse shaping filter. More precisely, the signal is not filtered by the pulse shaping filter. In practice, it is necessary to filter the signal to have a limited bandwidth. Why then is the puls...
I am implementing EQ lines in my filter. I need to do biquad with slope 24 db/oct, 36/oct and bigger so I would like to cascade several biquads. I am stuck with calculating frequency response of two biquads - now I am able to calculate magnitude and phase and draw one curve (peak filter). Should I multiply this respons...
so i have this lab in coursera course, well i tried first at Linux terminal at the first command %matplotlib inline, it doesn't work : ( bash: fg :%matplotlib no such job ), even if I apply it like matplotlib inline or matplotlib also doesn't work, I know those lines like IN[19] show when you write ipython in the term...
I have two datasets $X_1$ and $X_2$ in a sparse wavelet basis, and I have two filters $f_1$ and $f_2$. I’d like to compute the inner product of the convolutions $$\langle X_1 \star f_1, X_2 \star f_2\rangle$$ in the sparse wavelet basis. How do I this? Thanks! James
I just want to check that my understanding about the following paragraph from Optical Filter Design and Analysis by Christi K. Madsen, Jian H. Zhao is correct: A filter’s magnitude response is equal to the modulus of its transfer function, $|H(z)|$, evaluated at $z = e^{j\omega}$. Based on the pole/zero representatio...
Suppose I have an IIR filter in the $z$-domain in the following form: $$ H\left(z\right)=\frac{1}{1-0.2z^{-1}-0.1z^{-2}} $$ How do I represent this in MATLAB? I am pretty sure if I just listed the coefficients as H = [1 -0.2 -0.1]; this would be considered wrong. Can somebody help me with this please?
Let's say we want to transmit a sequence of numbers Using PAM, this sequence is transmitted with the signal $s(t)$ The pulses in $s(t)$ are transmitted at a rate $R_p=\frac{1}{T_p}$. This is called the "pulse rate" or the "symbol rate". We want $T_p$ to be short, to transmit information faster. However, this increases ...
Firstly hello all, I need help about periodic signals. I have a question as below. $x(t)$ is a periodic signal and $0.1t^3[u(t) - u(t - 7)]$ describes its one period. What is the value of $x(t)$ at time $t = 317$? Hint: Determine one period of the signal and find its values. How can we solve this in MATLAB ? I tried ...
I have defined the following linear phase filter of order 4 (real and symmetric) in matlab: h_d = [0.8367 -1.537 1 -1.537 0.8367] I calculate the frequency response (for many points) and then I use firls function (which is supposed to give the least-squares solution) to find a linear phase FIR filter (5 taps) that matc...
Delta modulation encodes the difference between a sample and the previous sample in only one bit. Differential PCM encodes the difference between a sample and its predicted value. Is this difference encoded in one bit or more than one bit? If encoding is done in more than one bit, what is the advantage of differential ...
As per my current understanding we use IQ sampling as way to increase the useful bandwidth to Fs rather than $F_s/2$ when viewing the FFT because the IQ sampling removes the negative frequencies and the entire $0-F_s$ band contains useful frequencies and not images of first half spectrum. My questions are: Is there an...
I have many defined functions as below and trying to simplify it with MATLAB simplify() function $g(t) = 14.9je^{j31°} e^{j2t} - 14.9je^{-j31°} e^{-j2t}$ How can we simplify these kind of functions using MATLAB? Thank you.
I understand that approximate and detail coefficient represent the different signal bands. But what do the values mean and how are they used?
I was trying to analyse the lossy compression of MP3 audio files through their Spectrograms and the results were something like this (where the upper is 80Kbps and lower is 128Kbps). It is obvious that the compression works by deleting higher frequencies from the audio. This is visible from the Spectrogram itself so I...
I got ValueError: operands could not be broadcast together with shapes (194,259,3) (600,800,3) with the below code: import numpy import math import cv2 original = cv2.imread("original.png") contrast = cv2.imread("compressed.png",1) def psnr(img1, img2): mse = numpy.mean( (img1 - img2) ** 2 ) if mse == 0: ...
Could anybody explain what is meant by the following statement on page 50 of Oppenheim and Schafer's book Discrete-Time Signal Processing (third edition)? The eigenfunction property of complex exponentials depends on stability of the system, since at finite $n$, the transient response must have become zero, so that w...
Suppose I have a IIR filter represented by $$G_0\left(z\right)=\frac{1}{1-0.2z^{-1}-0.1z^{-2}}$$ I would like to use the LMS algorithm to model an FIR filter $G\left(z\right)$ of order $N = 15$ such that it would adaptively reach $ G_0\left(z\right)$ coefficients values So we know that $G_0$ can be represented by: num ...
This is the statement from the book: Eq. (129) only ensures that $y_t[n]$ will be bounded for all values of $n$. For example, this may include a case where $y_t[n]$ oscillates and hence never becomes small. Hence, it is not clear how one can conclude that the transient response must become increasingly smaller as $n\...
What would happen if I am using the maximum frequency as the sample rate for sampling a pure tone sine wave? For example, a $10\ \rm kHz$ sampling frequency for a $10\ \rm kHz$ monotone sine wave. What effect would aliasing produce at the output?
Been working on a FSK Modem in the last few weeks and have gotten it to work with 400bps, very reliable, atleast over a virtual audio cable, but it also works when playing a sound directly into a microphone. Now I've shifted my focus to other Modulation techniques that could be used, such as M-QAM (16, 64, 256) and was...
I have a pressure based Depth sensor. For reference, MS5837-02BA. All depth measurements I've been able to read are very accurate (±1cm) I tried experimenting to find out the speed of the body by differentiating the measured depth value. The measurements are taken at a 40ms time period. This is the time the sensor take...
Hi guys i have to find the fourier transform of the convolution: $$ sinc(t/2T)*\sum\limits_{n-\infty}^{+\infty} (-1)^{n}\delta(t - nT) $$ i was thinking of express the summatory as : $$\sum\limits_{n-\infty}^{+\infty} (-1)^{n}\delta(t - nT) = \mathrm{III}_{2T}(t) -\mathrm{III}_{T}(t-1)$$ so we have: $$ sinc(t/2T)*[\mat...
Shannon formula for channel capacity states that $$C=\log\left(1+\frac{S}{N}\right)$$ If this formula applied for baseband transmission only? Is it applied with passband transmission? Are there any changes in the formula with different types of modulation, for example, OFDM??
Let's say I have a causal 3-tap FIR filter: $$y[n] = ax[n] + bx[n-1] + cx[n-2]$$ Assuming I have access to all the data prior to filtering and generate a similar non-causal filter: $$y[n] = ax[n+1] + bx[n] + cx[n-1]$$ Would this new filter have the same frequency response but with different phase delay?
In the context of wideband receiver design, what are the advantages and disadvantages of Analog IQ sampling vs creating IQ digitally (with Hilbert transform)? Why do we use different ADCs to create independent IQ channels when we can use Hilbert Transform to create the Q channel and use only one ADC?
I would like to raise a mathematical question : Let's say we are been given : $$x(t) = \begin{cases} \cos(\pi t) & |t| \leq 0.5 \\ 0 & \textrm{otherwise} \end{cases}$$ If $x(t)$ goes through an LPF : $H(\omega) = \begin{cases} \pi - 0.5|\omega| & |\omega| \leq 1.5\pi\\ 0 & \textrm...
I have a basic question. The "well known" lowpass to bandpass transformation is $$ s \longmapsto \frac{\bar{s}^2 + \omega_1\omega_2}{\bar{s}(\omega_1 - \omega_2)}, $$ which gives a bandpass transfer function of $$ \frac{1}{s + 1} \longmapsto \frac{\bar{s}(\omega_1 - \omega_2)}{\bar{s}^2 + \bar{s}(\omega_1 - \omega_2) +...
Solve for minimum and maximum value of dct coefficient
In an example, an equation describing a causal LTI-system is $$ (D^2 + 5D + 6) y(t) = (D+1) x(t) $$ where $y(t) = y_{zs}(t) + y_{zi}(t)$ and the initial conditions are $y(0^-) = 2, \dot{y}(0^-) = 1$. $x(t) = e^{-4t}u(t)$ and we want to calculate $y(t)$. My teacher said in an example of a solution that because $x(t) = 0...
So the $H_1$ and $H_2$ frequency response estimators for SISO systems are defined according to: \begin{align} H_1 &= \frac{P_{yx}}{P_{xx}}\\ H_2 &= \frac{P_{yy}}{P_{xy}} \end{align} Where $\frac{A}{B}$ is an element-wise division of vectors $A$ and $B$. The $H_1$ estimator should be used when the noise is uncorrelated ...
White Gaussian noise has constant power spectral density $N_0/2$. I know that the area under the power spectral density curve between two points gives the power of the signal between these two points. If I want to know the power of a certain frequency in the signal (not in a range of frequencies), can we say that the ...
Find the minimum number of arithmetic operations required for 2D Filters I could not understand the question 6 of Quiz-1. What is the number of operations (Multiplications and additions) per sample in the case of separable filter kernels? How to calculate the number of arithmetic operations? Can anybody suggest how to...
I have a synthesized signal (the bottom of the following figure), which is the convolution of the input signal (at the top) and the objective function (in the middle). The intention is to retrieve the objective function from the convoluted signal, when the input signal is known. From practical point of view, it seems t...
How can we calculate the bandwidth of distinct signals like this? I guess the right answer is 90 - 10 = 80 Hz. But I have a hard time understanding why is this calculated in that way. I thought the bandwidth is calculated by the diversity of signals and since there aren't in-between frequencies like 11, 12... in the i...
In the article Analysis of the Performance of a Non-Coherent Large Scale SIMO System Based on M-DPSK Under Rician Fading Fig.1: I would like to know if we could invert the block of the sum with the symbol detection. That is to say, make a symbol detection on each antenna and after the sum where the bit $0$ is defined ...
I was told that in the FIR filter type I, the impulse response of a highpass filter $h_H[n] $can be obtained as follows, $$h_H[n] = \delta[n − m] − h_L[n]$$ where $h_L[n]$ is the impulse response of a lowpass filter, $\delta$ is a Dirac pulse (Dirac delta function), which delayed by an appropriate value of $m$. I've co...
I have tried everything. If you actually know how to solve this could you provide a hint? $$ e^{-2j\Omega}\frac{ \sin\left( \frac{7\Omega}{2}\right)}{ \sin\left( \frac{\Omega}{2} \right)}\star \frac{\sin\left( \frac{10 \Omega}{2} \right)}{\sin\left( \frac{\Omega}{2} \right) }$$ Ideally I would like to find the Fourier ...
I have the frequency response of two signals shown above. One is uncontaminated, and the other is the same signal contaminated by a multiplicative distortion with two poles and two zeros. I need to find/estimate the transfer function values of the contaminating filter in order to equalize the contamination. How do I a...
I am trying to design a type 3 FIR filter and generate its amplitude response from the function Hr_type3 (mentioned in Digital Signal Processing Using MATLAB by J. Proakis), but getting an Error : Unrecognized function or variable 'Hr_type3'. Can any one help me on this? I am trying to build a digital differentiator f...
In image compression applications, I know that for an $8$-bit $0$ to $255$ level grayscale image the PSNR (peak signal to noise ratio) can be defined as: $$ \text{PSNR} = 10 \log_{10} \frac{\sum_{m,n} 255^2}{\sum_{m, n}|s(m,n)-\hat{s}(m,n)|^2} $$ where $s$ is the original 2D image and $\hat{s}$ is the reconstructed ima...
I need to detect the exact position of some kitchen tools using machine vision. I've the possibility to label the tools with a pattern, to make the detection (more specifically the image segmentation) easier. What is the easiest pattern to detect using machine vision? The pattern should be: Easy detect in presence of ...
I am currently trying to implement the MUSIC algorithm for a real dataset which captures a sound signal in a room using a cubic 8 sensor array setup. Every example I've found for the MUSIC algorithm talks about the steering matrix and calculates it using a set of DOAs which are, well, the actual DOAs that the algorithm...
This question came up in the context of the ssqueezepy library. As a basic experiment I did compute the synchrosqueezed wavelet transform of three basic signals: A sine of 440 Hz. A sine of 880 Hz. A signal that mixes (1) and (2). The result looks like this: Full reproduction code: here Basically the transform manag...
I am currently learning about the Fourier transform of digital images, but I am wondering about one aspect. In most visualisations of fourier transforms of images, a horizontal and a vertical line in the middle seem to be rather dense compared to the rest of the image. Below is an image of two pattern which, from my un...
I'm new in EEG signal classification. Studying the literature on this topic, I wonder why the EEG signals are divided in epochs, so, instead of classifying the whole signal all at once, we usually classify "windows" of signal, splitting the original one. I searched in the literature for a possible explanation, but I fi...
I know this is not a technical question, but wanted to get some opinion on how to get some hands-on experience on embedded DSP / real-time signal processing I am comfortable with DSP and wireless communications simulations in MATLAB /python and wanted to get into embedded DSP development and I'm not able to get any str...
I have a 22 kHz mono audio recording, which is mainly speech, a reading. I would like to upsample somehow to 44 kHz, to improve the audible quality. I have read about there are AI methods for upsampling pictures, even videos to a higher resolution. Maybe there is some similar methods for audio too. The recording comes ...
Hi I've been given a signal made of a series of cosines. I have taken the DFT of the signal using a rectangular window (blue), hamming window (red) and a Blackman window (black). I have identified two of the cosine components of the signal. I was wondering how can I use the dB magnitude to find the actual magnitude of...
I am doing an automatic music recognition project with a deep learning model. For my data preprocessing, I am trying to calculate the Constant Q Transform for Polyphonic 88-key piano audio using Python's Librosa library. However, I do not understand what I should set fmin, n_bins, bins_per_octave to in Librosa's CQT me...
I have a random image with 11x11 pixels. In the center of the image is a square of 5x5 pixels. The gray level of the background is 0 and the gray level of the square is 50. How can I compute the result of the magnitude of edges given by the compass operator for this image taking into account that the image is not noisy...
I am working on blind identification of the physical layer parameters of a particular protocol. Everything was going well until I got to the MIMO part. The system contains two transmitter antennas and two receiver antennas. I found that the WiMAX standard was very similar to the protocol I was considering, so I began t...
Let us say say we have a noised constant signal and want to evaluate the standard deviation (std) of the noise. We calculate the std of the said noised signal and call it $\sigma_1$. Now we process the signal, by interpolating it and stretching it on a larger area and obtain a signal with more samples, which contains t...
I am looking for methods/algorithms for signal spectrum shaping. Let's say we have a white Gaussian noise and want to have a desired power-spectral density. The first solution that comes to mind is filtering. I was wondering if there are any other techinques. I appreciate any hints.
I am dealing with signals that in both extreme cases can have: a) Non-overlapping monochromatic pulsation-like events at different points within a time series. b) Overlapping pulsations at multiple frequencies for the entirety of the signal Code to create these dummy signals is as follows: import numpy as np from scipy...
[An update is added at the end of the post after receiving first response] I have an algorithm which is very sensitive to phase shifts. It works with signal sampled at 40MHz (it's a neural network so actually the sampling rate is not very flexible) I have a data sampled at 21.818e6 MHz and I resample it to ~40 MHz by: ...
I have occasionally come upon the term "shrinkage", mostly in the context of denoising methods. My rough understanding is that it refers to the part where the real distribution might not be exactly like the theoretical one that's being modeled while still being relatively similar (e.g. mostly Gaussian with some outlier...
I want to ask why everywhere is used to do edge detection in spatial domain and not in frequency domain with FFT of image and apply HP filter. Thank you.
I am writing a Direction of Arrival (DOA) estimator using the MUSIC algorithm in python and am having trouble getting the correct spectrogram output. Specifically, my resulting graph comes out aliased as such: On the left is the SYNTHESIZED signal, using the same source azimuth and elevation as the real dataset. On the...
Consider a circular antenna array (UCA) with $N$ antenna elements as part of the CW bistatic radar system. For each element we receive a signal of length $L$: $x_n[k]$, $k=1...L$, $n = 1...N$. Оne of the antenna elements is directed towards the transmitter. Thus, we can find cross ambiguity functions (CAF) as cross-cor...
Consider the following system: $$y(t-1)=\int_{-\infty}^\infty x()u(-t) d $$ where $u(t)$ is the unit step function, which is zero for $t<0$ and equals $1$ for $t>0$. $(1)$ Is the system causal? Why or why not? I think if $u(t)=0$ for all $t<0$. This means that $u(τ−t)=0$ for all $τ<t$ or, equivalently, for all $t>τ$ a...
I implemented a sigal processing structure using very basic operation like multiply and add, I wonder is it possible to find a built-in function in matlab to treat this as a black box and obtain its frequency response. I imagine the process being: Feeding in windowed sinusoid with magnitude 1 at different frequency. G...
The system I want to build takes an analog video from two receivers (that are receiving from the same transmitter) and then combines the signals using equal gain combining (or maximal gain combining if a simple circuit exists to variably attenuator each signal). My question is, how is this method practically implemente...
I want to use the output values of the top_block as a way of directing my flowdiagram. So I want the flowdiagram to take one path if the output of my processing block is 0 and take a different path if it is non-zero. The if self.blocks_multiply_xx_0.out_sig != 0: statement is the condition I am having trouble with. I h...
I'm new in the ICA processing and I'm trying to understand the non-gaussian requirement. I read that the problem is that, if the composed data is $\mathbf{x}=\mathbf{As}$ with $\mathbf{A}$ (unknown) mixing matrix and $\mathbf{s}$ (unknown) original signals, then in ICA framework the components of $\mathbf{s}$ can not b...
Given a continuous LTI system with transfer function $$H(s)= -\frac{2s}{(s+6)(s+2)}$$ Plot the location of the pole(s) and zero(s) Find all possible regions of convergence From the problem above find the impulse response Here's my attempt The poles are $s_1=-6$ and $s_2=-2$ and the zero is $s_3=0$ The all possible ...
I'm working on simulating an uplink scenario in satellite communication. The goal is to send a preamble + data to the satellite from ground station. Data symbols have a bandwidth of $15\ \rm kHz$ and the preamble has a bandwidth of $180\ \rm kHz$. I'm simulating the transmitter, channel and receiver in MATLAB. I've a q...
Perhaps it is a basic question, but can anyone explain the difference between the spectra (or power spectral density) of white Gaussian noise and a Dirac delta? They are both constant over the whole frequency range, however there are is a clearly striking difference between these signals. Why do they have the same s...
I need to implement a State Variable Filter, like the one I've programmed in C++ (see code below) inside Matlab. I'm only having the recurrence relations for y and s at the moment. This is the State Variable Filter, taken from the book listed below as a source. 1 The recurrence equations are: yHP = (1. / (1. + 2. * mR...
Hi guys i'm studying signals and systems, and my professor ask us if this signal is linear or not $$y(t) = \big[x(t − 1)x(t + 1)\big]^{\frac 12}$$ the fact that is in the form of $x\cdot x$ told me that that's not linear but the square root confuses me can you explain to me if this is linear or not?
This is a cross posting from the crossvalidated stack exchange as I thought this may be a better forum to ask. I have a dataset consisting of respiratory time series signals of different lengths obtained from different groups of patients. I want to either classify or cluster the patients using these timeseries by using...
Consider the following first order linear system described by: $\tau \frac{d}{dt}y(t)=-y(t) + x(t)$. I have seen a discrete time approximation to this system using a "First Order Hold" approximation of the form: $y[k+1] = e^{-T/\tau} y[k] + [-e^{-T/\tau} + \tau/T(1-e^{-T/\tau})]x[k] + [1 - \tau/T(1-e^{-T/\tau})]x[k+1]$...
I have two signals on Matlab, one being input and the other output. I want to know if taking the cross correlation of these signals would give me the impulse response?And if so, will taking the Fourier transform of that resulting signal give me the frequency response?
Given a random signal, is there a method of finding if it was modified or if it contains noise if you don't know the original signal? E.g.: given a random image, can I find out if it was modified if I don't know the original?
According to the following reference: A Really Friendly Guide to Wavelets, © C. Valens, 1999 Equation 3, the wavelets are generated from the mother wavelet by scaling and translation. S is the scaling factor. The equation is divided by the square root of S for energy normalization across the different bands. I can not...
In a vibration measurement of a rotating blade, I have the following information. The vibration signal is measured using a ICP accelerometer which has the following specification Measurement range: 50g Sensitivity: 100 mV/g Thus max output voltage: ±5V Broadband resolution: 100*1e-6g The variance of the acquired sign...
I know this is a strange question as its hard to do in digital domain. I know it is a straight forward task if the signal is defined within N number of samples where I can go to Fourier transform multiplied by complex sinusoidal with inverse period of that fractional delay and then come back to time domain through IFFT...
I am in the process of implementing a Linkwitz-Riley filter of 16th order. (LR-16, 96dB/oct) I am using 2nd order SVF sections with three modal outputs on each section. (LP, BP, HP) I am looking to obtain a 16-pole LP signal and a corresponding 8-pole AP signal. The complementary 16-pole HP signal will be calculated by...
how do I find the group delay of multirate system.(sample rate converter) , IIR non-linear phase filter Say decimation by 2 (with lpf) = tf1(num,den) then again decimation by 2 (with lpf) = tf2(num,den) In total decimation by 4. i can do the inidividual stages gd1 = grpdelay(tf1,fvec,Fs) gd2 = grpdelay(tf2,fvec,Fs/2) b...
I'm working on a DVB-S2 Symbol Timing + Carrier Synchronizer with a focus on 16-APSK | 32-APSK modulation Scheme. I understand that the first section could be achieved using a Polyphase Clock Sync approach (i.e. as implemented in GNURadio), the second functions is usually done using a Costas loops (i.e. in the simple c...
In my system, I need to measure the amplitudes and phases of four lasers, each of a different, known wavelength, chopped at a 50% duty cycle via TTL at frequencies spaced evenly (or not) around some fundamental frequency f0. The lasers are attenuated by some analyte medium, and the resulting laser power (which is measu...
EDIT, 12/12/20: Images below are of the radial sinusoid pattern. Left side is the "unrotated" version. Right side is what the a photograph of the pattern would look like if the disc was rotated into the depth dimension, 45 degrees about the x/horizontal axis, and 20 degrees about the y/vertical axis. Note that the diam...
I have here a squared sinc function, which is the Fourier Transform of some triangular pulse: $$\mathrm H(f)= 2\mathrm A\mathrm T_\mathrm o \frac{\sin^2(2\pi f \mathrm T_\mathrm o)}{(2\pi f\mathrm T_\mathrm o)^2}$$ As an excercise, I would like to go back to the original time domain triangular pulse, using the inverse ...
There are multiple speakers. Each speaker generates multiple MFCC. If I'm getting two different MFCC, can we know if those MFCC came from 2 different speakers or same speaker ? How can we compare them and check this ?
I am trying to apply a filter to reduce noise in angular measurements. Since the data comes with noise, the filter needs to be able to handle measurements that are not smoothly progressing; for example, the filter should be able to work with a series like below: 2, 358, 3, 5, 10, 18 ... 304, 315, 330, 348, 9, 15 As yo...
I'll appreciate it if any of you guys could help me with this question: Suppose that x(t) is a real signal, prove that the magnitude of its Fourier transform has even symmetry and its phase has odd symmetry. Thanks.
I am trying to understand the statement in a relatively old publication from 1970s, when Fourier transforms found applications in chemical analysis. The author quotes the derivative theorem citing Bracewell of 1965 (I could not locate this exact statement in later edition of Bracewell). Edits: As discussed in the comme...
I want to ask for a good textbook or online material which explains in detail: -the time and frequency domain mathematics behind upsampling and downsampling. -easy to follow Note: Oppenheim's discrete-time signal processing book is hard to follow.
I am reading the paper "Algebraic Signal Processing Theory: Foundation and 1-D Time". In page one, the first paragraph of second column, I did not get why shift invariance forces the algebra $A$ to be commutative? Is it taking about a particular signal model $(A,M,\Phi)$ or it is considered a general case?
We already have DTFT so why do we need DFT? Please don't write DTFT is used for discrete, aperiodic signal which transfers in the frequency domain to periodic and continuous, but in DFT is discrete periodic transfer in discrete periodic, these things I already know.
I am working on a project that takes some features of audio signals and classify them with a neural network. However, the audio signals are added with their own echo with the environment. What would be some of the processing techniques that can be applied on the features, including chroma stft and Mfcc.
In order to detect a frequency component of 1 Hz with a DFT - do I need a signal window (signal in time domain) of at least 1 second length (in order to have at least 1 cycle of the desired minimal frequency I want to detect)? Or is it possible to evaluate the spectrum of low frequencies with short signal windows (in s...
We have a FPGA system which takes input from an ADC and calculates a FFT. The system identifies the location of our frequencies of interest and sends the coefficients from those bins to my software. In addition to the coefficients I am sent the time series data While the hardware guys were working on the hardware I d...
Actually my question is how to get the weighted average of two or three IIR filters given their transfer functions, which is nearly equal to this question. How to calculate the total transfer function of the summation of two IIR filters? For example, I have two filters as following $$H_1(z) = \frac{b_0+b_1z^{-1}+b_2z^{...
I am trying to implement real FFT in iOS, for that i am using Accelerate Framework. Here is my Code for Swift. class FFT { private var fftSetup: FFTSetup? private var log2n: Float? private var length: Int? func initialize(count: Int){ length = count log2n = log2(Float(length!)) self.fftSetup = vDSP_cr...
In IEEE 802.11 Wlan, at the receiver side, we first use packets detection algorithm to detect the start of the packets, and then uses fine symbol timing estimation algorithm to find the start of the data symbol. However, if we can detect the start of the packets, we should be able to find the start of the data symbol s...
I'm currently working on an article for ECG classification which it says that it has used elliptic bandpass filter with 0.5Hz and 50Hz critical frequencies to eliminate base-line and interference etc. First problem is that I think it should be stopband instead of bandpass, am I wrong? Second problem is when I try to do...
I'm looking for a way (preferably already implemented in eg. python) of estimating a phase for a specified freq band. When I'm performing FFT on the signal, I can determine components frequencies as well as phases of interesting components. If I understand this well, a single complex number in the FFT result table is, ...