instruction
stringlengths
31
27k
For any sequence zero-padding in one domain will result in interpolation in another domain and depending on center-padding or padding to right in one domain will either preserver or distort the phase in another domain and this is now very clear from this discussion zero-padding Problem: Zero-padding in convolution (fas...
I would like to detect oscillations in a signal $s$ and determine the nature of the oscillations, i.e. whether they are high-frequency oscillations or not. Edit : An example of $s$ is given below : As you can see, the signal $s$ has no oscillations for the most range of time. But, at the end, the oscillations appear ...
Suppose I have 2 seconds of data sampled at 1000 Hz., and two sinusoids differing only in amplitude and phase shift: import numpy as np from matplotlib import pyplot as plt from scipy.signal import csd,periodogram t = np.arange(0, 2, 0.001); x = np.sin(2*np.pi*200*t) y = 3*np.sin(2*np.pi*200*(t-np.pi/2)) fig,ax = plt....
\begin{equation} X(\Omega) = \frac{ 1}{T_s} \sum ^{\infty}_{k=-\infty} X_a\left \lbrace \frac{\Omega /( 2 \pi) - k}{T_s}\right \rbrace \end{equation} What is the purpose of multiplying sampled spectrum by sampling frequency ($ \frac{ 1}{T_s} $). Is it for making the equation dimensionally correct Or the purpose is...
As I understand it, pitch-shifting (without changing speed) and time-scaling (without changing pitch) are two sides of the same coin, because if we can do one we can get the other through resampling and changing the playback speed of samples. But when I think about it, I don't really understand what it means to pitch s...
I have a data_stream that I'm attempting to filter using two on-line butterworth bandpass filters to extract two frequency bands of interest. The original data_stream looks like this: mean: -3.9 max: 1257.0 min: -504 std: 171.9 I then filter this signal for two different frequency bands of interest [0.04-0.149hz] and...
I'm reading a paper from Lund University. They show the measurement and compare the accuracy of 3 types of arrays. The interest and question I got are two types, 4x4 URA and 12 elements square-shaped. The 12 elements square-shaped have similar antennas alignment to 4x4 URA but have no middle antennas. 4x4 URA is easy t...
I want to find 3d dimensions of an object in an image. With mobile phone camera and using the code here I can compute dimensions of an object within an image using a reference object. Following are the challenges I simply can't get 3d dimensions. Objects within objects detected and are not required. If someone has ex...
Given are two cosines according to the following formula $x_i(t) = cos(2\pi f_i t)$ with $f_1 = 1Hz$ , $f_2 = 2Hz$ and $f_3 = 3Hz$ . The two cosines are delayed by $\tau=0.1s$ to yield $y_i(t) = cos(2\pi f_i(t-0.1s))$. This corresponds to a phase shift and the delayed cosines can also be written as $y_i(t) = cos(2\pi f...
I have a signal recorded at 2MHz sampling rate. Before any decimation might be required, I first looked for peaks in my periodic recorded signal using STFT/spectrogram. From here, I can clearly see some peaks. Using PSD I could find that the frequencies were not prominent after ~500kHz so I apply the Butterworth filter...
I'm trying to decompose some signal to even and odd components, here's the Python code of it: import numpy as np t = np.linspace(0,1,64) f = 2e6 test_signal = [] for i in range(len(t)): test_signal.append(np.sin(2*np.pi*f*t)[i]+i*0.05) plt.plot(t, test_signal) which outputs the original signal: but if I try to...
I have the following system: $$y\left(t\right)=\int _{t^3-1}^{t^3}x\left(s\right)ds\:$$ I was told to determine if it's invertible system, casual system, memoryless system and linear system. I was able to tell that the system is linear, not memoryless and not casual. However I have no clue how to determine if it's inv...
In the survey article of particle filter A Tutorial on Particle Filtering and Smoothing: Fifteen years later, the equation (39) are $$ \begin{aligned} \pi_{n}\left(x_{n} \mid x_{1: n-1}\right) &=p\left(x_{n} \mid y_{n}, x_{n-1}\right) \\ &=\frac{g\left(y_{n} \mid x_{n}\right) f\left(x_{n} \mid x_{n-1}\right)}{p\left(y_...
Recently I obtained some measurements using a consumer grade ECG device (wearable, thus designed for low power consumption). The device is claimed to have a dynamic range of 10 mV (peak to valley), and to have a bit depth of 16 for coding data. However when looking at the data, the distribution is somewhat strange. E.g...
I am applying a low pass filter to my signal and I should make sure the transfer function of my filter is one. How can I normalize my filter? I am learning about filters and I appreciate any help. %lowpass filter sig = MY SIGNAL; sig_length = 5000001; % my signal length fs = 10000e9 ...
$\DeclareMathOperator{\sinc}{sinc}$ I have questions regarding the Fourier transform of the product of functions or distributions and the range of application of the convolution theorem. Context When measuring a signal $x$, measurements are made at a certain frequency $f_s=\frac{1}{T_s}$ over a certain period $L$. The ...
I've several sensors positioned at various points in the $X$,$Y$-Cartesian coordinate system, and I've experienced a problem to inject a planar Sine wave to the spatially positioned sensors, the sensor position has known to me and I provide the sensor position as follows: x = [2.1, 2.1, -0.7, -2.1, -2.1, -0.7, -0.7, 0....
I was studying about keyword detection and while doing some reading, I read we take 1 sec audio signal. We then divide it into 25msec sub sections with and overlap of 10msec. We apply mel filter bank and have 26 filter outputs. Now we color code them to create spectrogram. The number of rows in spectrogram are 26 and t...
My lecturer talked about transformation concatenation and he mentioned the "Drift" problem and that "bundle adjustment" may solve it. Since I could not find any information on it online, I have the following questions regarding it: What is the proper definition of "Drift" and how this "error" occurs? How "bundle adjus...
This question is related to one posted a couple years ago at (Why the spectral coherence is unity for all frequencies between single-frequency time series and itself). Suppose two signals have common frequency, $\omega_0$, and a fixed phase difference, $\phi_0$: $$x(t)=\sin(2\pi \omega_0 t)$$ $$y(t)=\sin(2\pi \omega_0(...
Continuing the discussion from Convolution kernel in Bluestein's algorithm it has a very specific signature of the kernel [conj(W), zeros(1, L-2*N+1), conj( W(N:-1:2) )]; for the fast-convolution. There W is the chirp specific to Bluestein's algorithm If not W would such a signature applicable for any general data? I p...
How to compute the inverse Z-transform of the form $$ G(z)=\frac{z^{2n}}{a(z^{2n})+b(z^n)+c} $$ I started by taking $$ F(z^n)=G(z) $$ so $$ \frac{F(z)}{z}=\frac{z}{az^2+bz+c}$$ This can be solved using the residue function in matlab, and it gives me the f(n) function. How do I get $g(n)$ from this?
I am analyzing a signal where I want to extract the peaks based on a threshold. My problem here is that there are some noise artifacts very high that are messing with my signal. I want to remove them but I don't know which is the best way to do so. Any suggestions or recommendations to avoid those peaks?
I know there are similar topics but I can not find any solution in my situation. I have an accelerometer sensor and a basic microcontroller. Accelerometer data is collected in an array via i2C. I want to evaluate collected data within 700 mseconds windows. For example, there is a raw signal below: Then I apply median ...
I am new in matlab.I was given the code for spectrum of rectangular pulse of amplitude 1V and duration 1ms, and now I have to find the spectrum of a triangular pulse of amplitude 1V and duration 1ms in MATLAB using FFT. How would that code look like? ~~~ fs=10000; step=1/fs; N=5000; t=0:step:(N*step); z(1:10)=1; % amp...
I am trying to implement the paper Qi Shan, Zhaorong Li, Jiaya Jia, Chi-Keung Tang - Fast Image/Video Upsampling and need some help with implementing minimizing an energy function (7) shown below. Here is a summary: Image degradation process from H (high resolution) to L (low resolution) is: $$ \tilde{H} = f \otimes H,...
In cochlear implants, the input signal is fed to a set of bandpass filters and is then half-wave rectified and low pass filtered to estimate the envelope signal. What is the need for doing rectification? Can't we directly take the output of the band pass filter and pass it through a LPF and use that data to stimulate ...
How fine should you sample in time (and what should the range be) when calculating a spectrum based on some relaxation times ("modes" in physics, not sure about signal processing). I have some relaxation times $\tau$ that span several orders of magnitude and want to generate the function $f(t) = \sum \exp(-t/\tau)$. Is...
That an action is “idempotent” means if you do it several times, the effect is the same as if you do only once. Lossy audio compression by definition loses information. Even if you convert it back to a WAV file, there will be differences from the original. However, what if you convert a WAV to MP3 and back, and then re...
How does the total transmit power affects the number of subcarriers? For example, if we have 624 subcarrier, can we use the same maximum power (for example the budget is 64 watts) as we will when we have 128 subcarriers? Specifically how does the available power impacts the subcarrier in ofdm?
Following this reasoning (link on ee.se) I'm trying to derive the transfer function for a Thiran filter, but I get stuck. I know of the original paper, I just thought I'd go this way. This is what I'm doing: Construct the symbolic transfer function (2nd order, for simplicity) with unity numerator, which will result in...
In transmitter I send the data 1 sample per bit, then received in Rx passing by ADC then FFE adaptive filter and then a slicer to return the samples in bits and calculate the BER and it works well When I try to make multi-path each path contains ADC and FFE adaptive filter it fails, as I make a functions named as FFE a...
The difference equation of the differentiator used in pan-tompkins algorithm is as follows : ( a five-point derivative) $$ y \left( n T \right) = \frac{1}{8} T \left[-x \left(nT - 2 T \right) - 2x \left(nT - T \right)+ 2x \left(nT + T \right) + x \left(nT + 2T \right) \right]$$ Can someone explain to me from where they...
I captured a signal on 433 MHz but I'm not able to build a functioning decoder for it. Is the transmitter using FSK to modulate the signal? Sample: https://ufile.io/w9vismfu (250k, unsigned 8-bit IQ)
I am recording a signal from a vibration sensor with a frequency response that stops at about 7kHz, but linear up to 1kHz. I am thus recording data from it using an Arduino at 2kHz, so that signals up to 1kHz can be accurately represented. I do not know exactly which frequency signal I am looking for, as the idea is to...
I've been trying to figure out the result for the entropy loss/entropy gain in linear systems derived in "The Mathematical Theory of Communication" by Claude Shannon. Claude Shannon states that If an ensemble having an entropy $H_{1}$ per degree of freedom in band $W$ is passed through a filter with characteristic $Y(...
Amplitude modulated signal is represented by $$ x(t) = (E_c + E_m \cdot \cos(2\pi f_m t)) \cdot \cos(2\pi f_c t). $$ At t=0, we have max. amplitude i.e, Ec + Em. Since the envelope is periodic, I expected Ec+Em amplitude to repeat. But clearly from the equation the cosine is 1 (carrier) only when $t = \frac{(4n+1)pi}{4...
From this formula, I thought that time constant (m or tau) is the variable sweeping from -infinity to infinity. But in this visualisation https://lpsa.swarthmore.edu/Convolution/CI.html, it is t the variable that sweeps. Although convolution makes sense this way but how come the notation is so confusing?
In the process of applying a lowpass Bessel filter to my signal, I realized that besself function does not support the design of digital Bessel filters and the bilinear function can be used to convert an analog filter into a digital form, except for Bessel filters. The digital equivalent for Bessel filters is the Thira...
I consider an array: import numpy as np from scipy.fft import fft from scipy.signal import hilbert a=np.random.rand(5) First I manually compute the fourier spectrum of the analytic signal,i.e. by zeroing the negative frequency terms and doubling the positive frequency terms: a_spec_manual = fft(a) a_spec_manual[1:len...
I'm working on a spectral processing plugin that's predicated on allowing the user to manipulate per-bin values in an STFT algorithm. I normalize the bin amplitudes by diving them by $N$ (number of samples used in the DFT), but the resulting numbers often inhabit a range that is difficult to work with directly, e.g. it...
I am a physics graduate student working on a data compression problem. I have been reading Prof. Steven L. Brunton's book on data driven science and engineering. I am fascinated to the concept of sparsity of images/signals. Prof. Brunton claims that images/signals are compressible in the sense that it will be sparse if...
I'm using the pyMannKendall package in Python to detect the presence of slope of any given waveform. More details of the package here: https://github.com/mmhs013/pyMannKendall I'm not exactly able to understand what do some of its output parameters listed below signify: z: normalized test statistics Tau: Kendall Tau s:...
While reading about the root locus method, I thought of a question and couldn't seem to answer it. Suppose for a negative feedback system, all the open-loop poles and zeroes and the centroid $\big(\frac{\sum{p_i}-\sum{z_i}}{n-m}\big)$ lie in the LHP (where $n$ is the number of poles ($p_i$) of the system , $m$ is the n...
I work on a constant envelope GMSK modulation. If I use the complex signal ( I + iQ) in conv, it works perfectly and if I want to rewrite it in baseband ; I and Q , it doenst work. Assume cmpl_sig in the code above is an input. I convolve it with gaussian filter: cmpl_sig_f = conv(h_gaus, cmpl_sig, 'full'); cmpl_sig_f...
I'm using MODWT (Maximal Overlap DWT) to extract features from a signal. Matlab implementation is using reconstruction filter instead of decomposition filter. In the first level of modwt decomposition, the output is just a circular convolution between the filter and the signal. For example: Suppose the signal is from 1...
I have created a program in python that can create any generic signal and a time range to display it as shown by the red '--' line below. I then created a way to calculate the phase, amplitude, and wavelength for each frequency in this signal via fft. Then, I create an equation for each frequency based on these amp, ph...
I am trying to understand how the Nyquist-Shannon theorem applies to sampling in the time domain. Suppose I want to sample a function whose time constants I know. From what I understand, the bandwidth is determined by the shortest time constant. After that, I'm shaky. Wikipedia appears to suggest that the Nyquist rate ...
FLAC uses linear predictive coding (LPC) as one of its central compression steps. While it allows for arbitrary LPC coefficients in the "FIR Linear prediction" subframe compression type, there's also the "fixed LPC" type, which consists of five different orders of LPC predictors. Those predictors are lifted straight fr...
As a DSP newbie, I've stumbled into doing band pass filtering (of pre-recorded IQ data) in the frequency domain - which allows brick wall filtering (I'm just setting the IQ values of each consecutive FFT 'batch' outside my frequency band of interest to zero and it seems to work a treat for what I've done so far). Doing...
I got many exercises where I have to determine the response of a system to an input signal The only things i have are the impulse response and the input signal. I was thinking I could use the convolution to get the output, but to proceed that way I should know the system is linear and time invariant, none of which is s...
I have a system described by the following impulse response: $h(t,τ) = g(t-2τ)$ Where $g(t) = e^{-at}u(t)$ I have to determine if the system is linear time invariant causal Then I have to determine the response to the signal $x(t) = rect(\frac{t+1}{2})$ I asked recently something quite similar, if it was possible to ...
I am trying to implement the kalman filter on simulink, for which I need the delay block to compute the new estimate based on the previous one. My state vector is three dimensional, and for some reason simulink fail to specify its dimension. I wrote my intial condition as [0;0;0]. I am not sure, if this is the proper w...
Suppose $f$ and $g$ are real. Why $$ C(\tau)=(f\star g)(\tau) = \int_{-\infty}^{\infty} f(t) g(t + \tau)dt \tag{1} $$ and not $$ C(\tau)=(f\star g)(\tau) = \int_{-\infty}^{\infty} f(t) g(t - \tau)dt\tag{2} $$ where $f=$ input, $g =$ template/pattern to be matched. $(2)$ properties: If $g$ is centered at $t=0$, and $f$...
I am trying to write an OFDM modem. I've already written a QAM modem, which I'm using as a basis for this project. The way I'm doing this currently is by spinning up several QAM modulators, each with a carrier frequency corresponding to a different DFT bin, and adding the waves together. On the decode side, I'm spinnin...
I am new to signal processing. I am using an sos analog Chebychev filter, and I was wondering what would be the result of plotting its frequency response using the sosfreqz function, as it is mentioned that this function works only for digital filters?
I'm using a phototransistor and an optical chopper to measure the angular velocity of a wheel, much like how mechanical mice used to work. The signal looks like a triangle wave with some noise in it, and I'd like to get smooth and fairly low-latency measurements, between 1 and 100 hertz. This is for a user interface, s...
I am working based on Angelo Farinas paper: Simultaneous measurement of impulse response and distortion with a swept-sine technique. The purpose of the work is part of a loudspeaker measurement and analysis system. At present my "measurement" data is generated via a non-linear transducer model, so simulated to include ...
Background: I am using a vibration sensor and arduino to record signals and log them with timestamps, where the signals need to be time accurate so that I can glean information about which frequencies are present. To eliminate aliasing I am connecting a low-pass Butterworth filter between the sensor and arduino. Questi...
I an new to signal processing, working on a UWB radar data this data has a shape of frames for which every frame (list) has 164 values, I want to apply a bandpass filter with cutoff frequency of 1hz and 5hz to filter the noisy data. My filter is not giving the good results as I expected (the filtered data is the reason...
I was reading about linear systems and random processes and I came across this $$h_{k}*h_{-k}*rxx[k].$$ I know what convolution is and its formula. Does the minus sign affect both of the parameters in the convolution or just k: $$h_{k}*h_{-k}$$ Is the multiplication in the summmation equal to any of these? $h[k]h[i-k]...
Is there a word to describe "Contour" works for left but not right. "Phase contour"? Context, above right is real part of a 2D separable Morlet (let's say, left windowed by Gaussian), called "spin down" as its direction of oscillation is down (with increasing x), but it happens to maximize chirp up in wavelet transfor...
I'm working on a discrete updating algorithm as follows: $x[n+1]=Kx[n]$ Here $K$ is a constant. The continuous counterpart of this algorithm translates to: $\dot{x(t)}=Kx(t)$ While the Laplace transform of the continuous one is quite obvious, I'm struggling to find the z-transform of the discrete one. Do I use the dela...
I try to draw the spectral density of a time series in order to compare it with the theoretical one. Please can any one help me to do this. This is the time series of all the data. Thanks Dan Boschen for your response. About "scipy.signal.fftpack as fft" is not worked. import scipy.signal.fftpack as fft ModuleNotFou...
What is the difference between the spectral density and the power spectral density, Or they are the same thing? In fact, I find this term in the book of GODA 2000.
I've got several (4) not-great audio recordings of the same short (a few minutes long) performance, each taken from different microphones. I'd like one high-quality clip of the event. This is... difficult. Likely impossible. I think I'm on a wild goose chase, hopefully there is a pre-existing way to do this? Challe...
I request to please tell me the source through which I can access audio version of UCSD dataset. UCSD is an video anomaly based dataset. Kindly guide me in this respect. Regards,
As I understand, the DFT of a signal $x$ is a representation of this signal in the basis $$ \{ e^{j2\pi kn/N} \}_{k = 0, 1, \dots, N-1}$$ Is it possible to form a base of such discrete complex exponentials but with different frequencies ? ($\{ e^{j2\pi f_i n} \}$) Why did we choose these $\frac{k}{N}$ frequencies ? In ...
To secure a communication, quantum cryptography can be used. The principle is to use an optical channel which allows the emission of photons in 2 simultaneous states and a radio channel which makes it possible to find the encryption key. Here is my question: Why isn't a radio channel used to transmit the encryption key...
Using the following website: on how the Fourier transform works (Interested in the Basic Principle part). I found out that if you have 3 pixels closer in the spatial domain you'll get more spaced fringes in the Fourier domain (frequency domain). How could one explain this ? Also I don't understand why our 3 closer poin...
Given a set of 3D points with their coordinates in 2 different coordinate systems, what is the correct algorithm to use in order to estimate the relative rotation and translation of the coordinate systems. Explored until now : 2D -->2D : basically project those points into some image plane, and perform 8-point algorit...
I am trying to understand filter design. I am trying to implement butterworth filter which would have high,low and bandpass using the difference equation representation for FIR and IIR. Given the low and high cutoff frequency, how can I formulate the coefficients for FIR and IIR filter?
The l1 trend filtering is expressed by taking $||Dx||_1$ where D is the second difference matrix why is taken of size (n-2)xn rather than circulant matrix of size nxn. I have implemented in both ways but there is not much difference in the results
I came across this question recently, and I am very confused by (b)(ii). b(i) gives $x_n$ = [0.5, 0, -0.5, 0]. My approach to (ii) was to recognise that $X_m$ represents the frequency content of the signal at $\omega = \frac{m \omega_0}{N}$, where $N$ is the number of samples (4 in this case) and $\omega_0$ is the sam...
I'm trying to "standardize" the results of the fast Fourier transformation. I've one wav with two peaks (3000 and 3300 Hz) saved with three different encodings(int16, float32, int32). And these are the scipy.fft plots: int16 float32 int32 It's clear enough that, while the peaks are coherent at 3000 and 3300Hz, their...
For one stage discrete wavelet transform (DWT), if we have a signal with 1000 samples occupying the frequency range from zero to 500 Hz, the output of the low-pass filter is a signal with frequency range 0-250 Hz, and the output of the high-pass filter is a signal with frequency range 250-500 Hz. Downsampling is then p...
How do I make the y axis in psuedo-frequency? Wx, scales = ssqueezepy.cwt(sig, wavelet = 'morlet', scales='log-piecewise', nv = 32, t = time_vector) ssqueezepy.imshow(Wx, abs = 1, borders = False)
I'm trying to write symbol timing recovery loop and taking help from "Digital Communications A Discrete-Time Approach" by Miachel Rice. MATLAB communication toolbox has also implemented the same algorithm in comm.SymbolSynchronizer. In both the implementations (given in the book as well as MATLAB's), the samples-per-sy...
I reseach gmsk modulation with linear approximation + laurent decomposition. In the answere to the my previous post, MR Boschen: L is the overlap of successive symbols as L is given in symbol duration. "Full response signaling" is with L=1 and one symbol completes before the next symbol starts. Any L>1 is partial res...
I have the equation of the power spectral density $S(f)$. I seek $(H,f)$ of each sinusoid which $H$ is the magnitude and $f$ is the frequency. How to calculate $H$ from $S(f)$? $S(f)$ is the spectral density of a random signal; the Fourier Transform of the autocorrelation function of the time series. To reproduce a tim...
Suppose we have a signal which contains several sinusoids with different known frequencies and noise. My object is to find the total power of these sinusoids. There are two methods for this problem, in my opinion. 1. Frequency domain method: Take the FFT of the signal, square the amplitudes of sinusoids and sum. This m...
I found myself in working with an FFT that does not have sufficient frequency resolution and I would like to increase this sensitivity. Since I have to perform this FFT on multiple noise acquisitions (which in first approximation should have all the same spectrum) I would like to combine all these noise "segments" to p...
Let's $q(t)\in \mathbb{R}$ represents a noisy raw signal, the filter is $$ \begin{align} \dot{x}_1 &= x_2 + g\gamma_1(q-x_1) \\ \dot{x}_2 &= g^2\gamma_2(q-x_1) \end{align} $$ where $x_1$ represents the smoothed version of $q$ and $x_2$ represents an estimate for $\dot{q}$ and $g$ is the filter's gain. The constants $\g...
I am looking for a lowpass FIR filter that is causal (all samples used are current or past) and exhibits very low passband ripple and has passband phase very close to zero, which necessitates a filter to be a nonlinear-phase filter. Meanwhile, for transition band and stopband, I want frequency response of the filter to...
So I've run into some trouble in trying to plot the PSD of an OFDM signal. Specifically, I cant see how we go from the discrete domain to the continuous in time domain. I have a time vector, which is sample at a rate of 10Khz, over a duration of 100s t = 0:1/1e4:100 I then generate a signal by low-pass filtering some ...
I have data that is sampled every 5 minutes(or every 300 seconds)from an automated instrument that measures temperature outside. The data is available on a monthly basis i.e every 1 month . That is 8924 sample points. But due to a power failure during an external event only 8867 points are available. I am wanting to c...
I'm a college student taking an image processing class. My homework is to apply the "triangle method" on a grayscale image and binarize the image using the result. The problem is that I think I have an incorrect understanding of what this "triangle method" is. Information about this algorithm is scarce and I couldn't f...
I make a script in python to extract amplitude from power spectral density. I try to verif it but I have a difference between the real amplitude and the amplitude extracted from PSD. To calculate the PSD, I use the welch method. Where amplitude H = square root (8*S(f)*df) df = the frequency step Can anyone give me some...
Given the system/filter $H(\omega)=\frac{1}{5-j\omega}$, find $h(t)$, it's magnitude response and phase and identify what type of filter it is. Now clearly given it's form, $h(t)=e^{5t}u(-t)$, but I'm confused on finding it's magnitude and phase as every example uses the form $\frac{1}{a+j\omega}$. Another confusing fu...
To model the frequency response of a system, I am looking for a method to fit the response of cascaded bi-quad filters to the response of that system using an optimization algorithm. The $S$-domain transfer function of the filter prototype to fit is: $$ H(s)=\frac{w_0^{2N-1}(s+w_z)}{[s^2+(w_0/Q)s+w_0^2]^N} $$ This prot...
Using the FT of the step function we have $H(\delta)=\pi\delta(\omega)+\frac{1}{j\omega}$, and it's magnitude is $\infty$ at $\omega=0$ and approaches $0$ as $\omega$ goes to both positive and negative infinity. Based on this, is the FT a low pass filter or a bandpass filter?
z / (z - e^-aT) is a low pass filter. z / (z - 1) is an integrator. What is z / (z + 0.5) ? In the time domain, it is Yn = Xn - 0.5Yn-1. It changes sign every iteration. Is this useful or should it be avoided?
I have an OFDM signal x, generated using QAM modulation, I first use the command in matlab y1 = ifft(x); to generate the time-domain signal. Then when I plot the PSD, I get that figure in the right of below picture. On the other hand, when I generate the time-domain signal using y2 = F’*x; where F = dftmtx(N)/sqrt(N);...
I'm synthesizing a tone, computing the FFT, power and then normalizing by the sampling rate and FFT size to get the magnitude in dB/Hz. fs = 100e3 f = 10e3 duration = 0.1 t = np.arange(0, duration, 1/fs) x = np.sqrt(2) * np.cos(2 * 3.14159 * f * t) fft_size = 4096 X = np.fft.fft(x, fft_size) X_norm = 10*np.log10(abs(X)...
I am using Arm-Cortex M3 Microcontroller and CMSIS for FFT, my microcontroller does not support floating point unit therefore I have to use fixed point (Q15 or Q31) for calculation. Before calculate FFT, I need to apply hanning window on to my data collected from ADC 12-bit (0-4095). My ADC data ranges from 1800 ~ 3200...
I have been reading about doppler ambiguity and I have two explanations for its occurrence that I can't relate to each other. 1st Explanation: In the stationary case (radar and target are stationary) we would have a peak frequency that define the range to a target $f_r$. If the target is moving a doppler shift $f_d$ wi...
Typically windows are symmetrical and real. Are there any applications where complex windows have been used (other than applying the same real window to the real and imaginary components of a complex number). A full complex window would have the sum and cross products between the real and imaginary terms as follows if...
I have an acceleration vibration signal (m/s^2) and I need to calculate displacement from this signal, as I know first I have to integrate acceleration I will get vibration velocity [mm/s] after that, I have to do it again integration of vibration velocity and I will get vibration displacement [μm] Am I right? But t...
I want to generate correlated complex white Gaussian noise signals in MATLAB. What I do is that I take complex Gaussian random variables with unit-variance and multiply them with the desired input covariance matrix. Next I have to send this signal through a bandpass filter to get the desired bandwidth, in my case 20 MH...
Would upscaling from a DVD to 4k on a TV be considered Digital Filtering? Would an AI trained to suppress noise and enhanced desired signal be considered a Digital Filter? I'm trying to figure out what counts as Digital filtering and what does not. In signal processing, a digital filter is a system that performs mathe...