instruction
stringlengths
31
27k
I am trying to classifiy grayscale images but I need to focus on a specific object on each image. I would like to segment the object but the targeted object has the same color than the background. And the background is like a zebra color, successive dark grey/light grey lines. I have already performed some algorothms d...
I'm trying to write a function in Python that calculates the magnitude of an FIR filters frequency response. I tried doing it by first calculating the Fourier transform with np.fft.fft and then calculating the absolute value with Pythons abs function. It looks something like this: def freqresponse(X,N): h = np.fft.ff...
I know from the sampling theorem, that the signal frequency $f_{sig}$ shouldn't exceed 0.5 of sampling frequency $f_{samp}$. I decided to have a look at it and tried for example $f_{samp} = 50 $ $kHz$ and varied the signal frequency as parts of sampling frequency. For $f_{signal} = 0.1\ f_{samp}$ sampling looks fine: ...
Given a signal $ \left\{ x [ 0 ], x [ 1 ], ..., x [ N - 1 ] \right\} $ what would be the correct way to upsample it in the frequency domain (Sinc interpolation)? Note: Added as a request by the answer giver of The Proper Way to Do Sinc Downsampling (DFT Downsampling) for Uniformly Sampled Discrete Signals with Finite N...
Most notable world powers are developing anti-satellite weapons and I could see a scenario where a significant number of the GPS satellites get knocked out. I'm wondering if there are ground based GPS transmitters or if there is any public knowledge on how to solve this problem? Basically every modern piece of US auto...
I am working with EEG data (time domain) in a machine learning task, where each input signal must be mapped to a class/frequency. I am using FFT in order to get data in frequency domain and make classification easier. I'd like to know if it is necessary to normalize data after (or before) applying FFT with z-score norm...
I would like to add multiple sequences with different FFT/IFFT sizes. For instance, we have 3 vector signals, $\vec{x_1}$, $\vec{x_2}$, and $\vec{x_3}$, having FFT/IFFT sizes of 512, 1024, and 2048, respectively (i.e., the 3 vectors have different lengths). Especially, they do not overlap each other in the frequency do...
I have a MATLAB script which process IF signals to acquire GPS satellites. I decided to capture IF signals containing GPS L1 C/A (1575.42 MHz) myself. What I have: HackRF TCXO for HackRF Active GPS antenna RTL-SDR v3 What I did so far: I set the center frequency to 1571.42 MHz to get the GPS signals on 4 MHz IF, wit...
Not sure if I should post this here or on Stack Overflow I have a .csv file from MTF Mapper with 2 columns from SFR measurement - frequency and contrast: frequency,contrast 0.0000,1.00000000 0.0156,0.99226302 0.0312,0.97449332 0.0469,0.95280915 0.0625,0.92804134 0.0781,0.90084362 0.0938,0.87229812 0.1094,0.84183842 0.1...
I am working on an alternative approach for a specific signal processing sequence which involves a kind of a test that I am using for justify the mathematical background of the design. The test is comprised of spreading ten harmonics of a sine function of frequency of 1 Hz over the frequency spectrum and interpreting t...
Consider the discrete-time system $$ H(z) = 1 + z^{-1} + z^{-2} + z^{-3} $$ To obtain the magnitude of the discrete-time Fourier transform, I substitute $z = e^{j\omega}$ to get \begin{align} H(\omega) &= 1 + e^{-j\omega} + e^{-2j\omega} + e^{-3j\omega} \\ &= e^{-\frac{3}{2}j\omega} \cdot \left(e^{\frac{3}{2}j\omega} +...
Assume I have a Ricker wavelet. I can compute the envelope of this wavelet as shown below: This is the normal condition we usually see. However, if I shift the Ricker wavelet to be wholly negative, and then I compute its envelope. A confusing phenomenon happens that the envelope looks like the opposite of the original...
I am dealing with an image restoration problem with noisy measurement. I use the classical total variation norm to remove the noise, specifically, the TV-$L_2$ problem. I used the famous Lena image for testing (size $256\times 256)$. The result is attached below: As can be seen, there are some dot-patterns like noise...
For example, we need the frequency range of $0\to3000\text{hz}$ to represent a speech signal. The book, Digital Signal Processing (Proakis), stated that we need a low-pass filter to admit only the said frequency range and to avoid aliasing distortion effects. My question is, if we only need up to $3000$hz, shouldn't we...
I have a RGB image in FITS format (though I can easily convert it to another format if that makes things easier). I wish to use the R, G, B channel data from each pixel in the original image, weighted by a number of constant values a to i, to create a new image with 3 synthetic channels A, B and C: A = aR + bG + cB B =...
Let's say I would like to find a point of inflexion of a digital signal which has been gathered via sampling of a continuous time domain signal with sampling period $100\,\mu s$. The digital signal plot looks like that My first idea was to use the moving average filter for preprocessing of the original digital signal,...
Let's say I have cross-correlated $x(n)$ and $y(n)$ and got the $R_{xy}(n)$. Now if I want to generate the x-axis component of $R_{xy}(n)$ in the command window of MATLAB. How can I do that? is there any built-in function available?
I have some misunderstanding in definition of frequency resolution of the signal. Here it is assumed that the resolution is: $$\hat{f_k}=f_{signal}\cdot T_{sampling}$$ (which is just relation of signal frequency to sampling frequency). However, for example in the standard Python function for calculating frequency resol...
I am trying to find resources where I can study the comparison of the various features of the Random access channel in LTE using simulated and real-world measurement data. It would be great if you can point towards any resources.
I am looking into designing a Bandpass Butterworth filter in python, but, I was not sure I am designing my filter correctly. What I have are the following: High cutoff frequency = 200Hz Low cutoff frequency = 10Hz Sampling frequency = 1000Hz for my data, I used Filter order = 6 My code definition are below: # section...
Of the four classic analog filter types: Butterworth, Chebyshev, Elliptic and Bessel- are any of these relegated to obsolescence for purposes of digital filter design in comparison to optimized algorithms such as least squares (firls), Parks-McClellan (firpm or remez), maximally flat (maxflat), etc? (NOTE: This questio...
I'm very new to signal processing and can't get ahead: I'm using an Accelerometer to measure the acceleration of i.e. the building vibrations or elements/machinery etc. For creating the spectrum, I complete a fft, with python's numpy, and there reach at the state where my problem lays. I have 2 problems understanding t...
Why is a feedback loop "appropriate" design for instruments that don't physically contain such loop? Or do they? See e.g. paragraph 7.7, and Figure 7.9 (shown here): https://www.cim.mcgill.ca/~clark/nordmodularbook/nm_physical.html It's intuitive that it may produce suitable tones, but does this make sense in the phys...
UPDATE: I am looking for a robust approach to decompose linear phase FIR filters with 100s of coefficients into its minimum phase and all pass components. I originally thought determining all the zeros from the coefficients would be a mathematical challenge, so this question was initially focused on approaches to find ...
I have performed Hankel Matrix Singular Value Decomposition de-noising to smooth out my univariate time series. It is the close price of EUR/USD exchange rate. Here is a picture: The problem I have is that the end of the data seems erroneous. How can I fix this or is there a better way to denoise my time series such as...
The filter with the response function $$ H(s) = \frac{1}{1 - s} $$ Produces a positive phase shift and a negative group delay for all frequencies Is it anti-causal? Is there a way to deduce such information from the frequency response of the system.
A class of digital filters called Frequency Sampling Filters (FSF) has been mentioned in a side note by Richard Lyons in another related question comparing IIR digital filter design using mapping techniques. There is very little information on this technique available through a simple web-search (obscured by the "Frequ...
As a response to this question I have proposed interpolating new samples in a DFT (meaning the frequency samples of an existing DFT result) sufficient to be the new samples that if we were to take the inverse DFT we would get a zero padded sequence. The property referenced is that a zero padded time domain sequence wil...
I want to filter out complex valued samples - Bandpass filter. I have 100 complex samples and I wish to filter out a range of frequencies from it, as you can see in the result of the FFT, there are 3 frequencies here. First At 252KHz Second At 315KHz Third At 378KHz I want to only keep the middle one (315KHz) I am u...
Suppose we have a system defined with input $x(t)$, and output $y(t)$, related by $$ y(t) = \sum_i \alpha_i(t)x(t-\tau_i(t)) \tag 1 $$ This is a linear system, (according to the textbook), so we can write it as a convolution with an impulse response $h(\tau,t)$ $$ y(t) = \int_{-\infty}^{\infty} h(\tau,t)x(t-\tau)d\tau ...
Okay, everyone here knows that my thing was audio and that I have never gotten paid to do anything regarding communications systems. So, while I know a thing or two about DSP and even a little about discrete mathematics (from which we get GF2 or Maximum Length Sequences) I am very humble about my "expertise" in this a...
I am working with the 5G NR polar code and have implemented the CRC-Aided Successive Cancellation List decoder based on this paper (Tal et al. 2012). As my decoder is only used to decode a limited number of message length (code dimension) and code rate, it has been optimized in many ways to speed up the processing time...
In this response https://dsp.stackexchange.com/a/79258/235, the calculation for the BER of an 8-PSK is performed. Can we use the same method for a differential modulation (DPSK) for example DQPSK? I tried but can't see how to deal with the differential modulation part.
Given random varaible X with distribution $$ \begin{cases} \mathbb{P}\left(X=1\right)=\alpha\\ \mathbb{P}\left(X=-1\right)=1-\alpha \end{cases} $$ Where $ \alpha $ is a given parameter($X$ is a binary signal), and noise $Z$ with normal distribution $ Z\sim\mathcal{N}\left(0,\sigma^{2}\right) $, we define the random var...
Furthermore, how can you see from the pole/zero plot if the system has feed forward/feedback elements?
Hertz seems to be considered a fundamental and atomic unit that we modulate or analyze. 112Hz, 113Hz, etc. Wouldn't we have more to work with if we considered sub-Hertz granularity, e.g. 112.5Hz, 112.59Hz? Why isn't this done (on a wide scale)? Why don't we see carrier frequencies in communications systems like this...
I want to improve the frequency resolution of the FFT algorithm. Can the CZT (Chirp z transform) improve resolution if used after the FFT? Because I read in some articles that the CZT has better frequency resolution than the FFT but it is computationally more expensive. So, if I use the FFT first and then the CZT, will...
I would like to estimate the ideal minimum detectable power levels for a few different tuners. I am wondering the best way to go about doing this just by using well-known engineering equations along with the manufacturer supplied data sheets. The tuner will be scanning for new signals beginning at 100 MHz. I wish to us...
Suppose a system follows this equation: $$ x(t)=A \cos(\omega t + \phi)+\eta$$ where: $\omega = 2\pi f $ and $\eta$ is a random error using Extended Kalman Filter, how does estimated value $\hat{x}$ be?
The original way of doing In-phase Quadrature (IQ) modulation is by modulating and mixing on the analog side. I have read that as the digital processing have gotten better, the modulation and mixing may be done on the digital side before going into the DAC. I have not found a lot of information about this and would lik...
I'm trying to create a real bandpass filter (17-point) in Python by calculating the coefficients b of a signal. This is the formula I'm using: $$b = \cos(ω(k-k_m))$$ for $k = 0,1,..,L-1$, where $k_m$ is the midpoint of the impulse response, $$k_m = 1/2(L-1)$$ I calculated omega with this formula: $$ω = 2πf/f_s$$ where ...
I am trying to implement the Zero phase - Minimum phase of Butterworth filter (1st, 2nd, and 3rd order) from scratch using python. Based on the resulting plots, it seems that I am doing something wrong but I can't figure out what exactly. This is my code. I only included the plotting for the zero phase but I used the s...
I am making a real-time audio compressor/limiter. I am in little doubt about the delay. What is typical delay times for a compressors or limiters delay/lookahead time? Most other compressors I see don't give option to adjust it, does that mean its fixed or tied to attack time or something else like RMS window time?
I am plotting time shift of the Hanning function. I find few plot result that I am not able to understand. Therefore I would like to ask my question here. The given Hanning function is: $$ x(t)={\tt hann}(t)=\tfrac{1}{2} [1+\cos(\pi t)],{\rm\ with} |t| \leq 1 $$ When I use Desmos to plot the time shift function, I fin...
How do I calculate the bandwidth required to transmit a UHDTV signal with a frame size of 3840 x 2160 at 50fps with a sampling rate of 8bits/sample?
I was reading this passage in a Doctoral Thesis about Adaptive cancellation. Using MATLAB, if i were to write a simple code, it would look something like this. transferFunction=tf(numerator,denominator); %construction of impulse signal dt=1e-3; t = -1:dt:1; impulse= t==0; %computing impulse response impulseResponse=...
Is there a general Time Scaling property in DFT similar to that of Continuous time Fourier Transform? I couldn't find any when I referred some standard books. This question and its answer don't give a general approach.
My question is as follows: if a (calibrated) camera is facing a perfectly flat surface (i.e. the optical axis is perpendicular to the surface), is the area represented by a pixel independent of the position of the pixel on the sensor? I simplified the problem (1D instead of 2D) and made a figure of what I think models ...
I calculated the $R_{xy}$ by cross-correlating $x(n)$ and $y(n)$. Now, in the MATLAB command window, I wish to construct the Y-axis component of $R_{xy}(n)$. I'm not sure how I'm going to do it. Is there a built-in function that I can use?
I've come across this question in textbook. I guess it's basically asking are there any input or impulse response conditions that a FIR filter won't be able to compute. I can't think of any.
I've got a 3D time-frequency sound intensity vector that I've derived from Ambisonic b-format signals. W acts as the sound pressure P, and x,y,z acts as the particle velocity U vector for the respective Cartesian axes. The intensity vectors are then derived using I = P*U. I then derive the direction of arrival estimati...
I'm wondering if there is a way to undo a finite difference filter with arbitrary timesteps. In the simplest case of a two-sample finite difference of a time-series $x[n]$, \begin{equation} y[n] = x[n] - x[n-1], \end{equation} we can perfectly undo the operation (assuming x[0] is known) by a cumulative sum, i.e., by de...
I'm trying to re-learn digital communication theory again and am creating a bit error probability simulation for various modulations. So far I've added BPSK, QPSK, and 8PSK and below is a plot that gets generated. I noticed the BPSK and QPSK lines (orange) are on top of each other and the 8PSK line (green) is about wh...
I am processing sensor signals and have been looking at using window functions to smooth out the signal before I conduct a fft on it. A normal symmetrical hanning function seems to disorientate the signal a little bit as my signal isnt symmetric. I wanted to ask if there is a way to have a non symmetric hanning functio...
I want to parse signals coming from 4G/5G towers to extract only the ID of the tower and the transmission time (on simplex communication: only downlink). Are these packets (or frames) sent on a regular time interval ?
Hi, I'm looking at this textbook question and trying to get a better idea of exactly what its asking. For the processing to be real valued each pole would have to have a complex conjugate right? So for the two points closest to the real axis, we would call $e^{j\omega_0} $ & $e^{-j\omega_0}$, then the next two at 45 d...
I want to implement the algorithm from the paper DhyaaAlrahman Latef Thajel1, Kadhim Mahdi Hashim1 - A New Technique for Data Compression. However in section 3.1.1, it says that it needs a binary image as input. My question is, does it mean that the method only applies to binary data (black and white)? Or that it appli...
I have read that for FIR filters, the duration of the transient response is equal to the order of the filter. But, for linear phase FIR filters constructed with the windowing method, the transient is N/2. I know that this has to do with the filter impulse response being symmetric with respect to N/2 (or (N-1)/ 2 if N i...
I want to generate linear frequency modulated (LFM) waveform or a chirp signal using DDS in verilog. I am not using DDS IP Core. I have created DDS module using 8-bit rate counter, a 12-bit address counter, and an 8-bit by 4096-line sine RAM to produce sinusoidal signal. I am stuck with how to incorporate the chirp rat...
I would like to test the frequency and transient/step response of the Zoom H5 recorder preamps. If possible, I'd also like to test the preamps for the built-in (exchangeable) XY capsule module, but I'm not sure yet how to go about this properly. To do the tests, I've ordered a BNC-to-XLR adapter in order to connect a d...
I want to implement a bandpass filter by using and combining my highpass and lowpass filter functions in Python: def lowpass(L,f): N = np.arange(0,L)-(L-1)/2 C = np.sinc(f*L) C *= signal.hamming(L) C /= np.sum(C) return C def highpass(L,f): Clp...
For example a signal $y(t)$ contains infinite number of sine waves each with varying finite random amplitudes and random frequencies between $-B$ to $B$. Can this signal be reconstructed when sampling at the Nyquist-Shannon sampling rate?
Cheers, in an exercise of mine I reach the point that I have to find the $F^{-1}\{Λ(ω)\}$ (where $Λ(ω)$ is the triangle function, with $1-|ω|$ for $|ω| \leq 1 $ and 0 elsewhere. Using the duality property, I know that I will have to end up with a $sinc$ function, and I also that for $x(t) = Atri(\frac{t}{T})$ we get th...
Consider the discrete-time system $$ H(z) = a_0 + a_1 z^{-1} + a_2 z^{-2} $$ To compute the DTFT, let $z = e^{j\omega}$ such that $$ H(e^{j\omega}) = e^{-j\omega} \left(a_0 e^{j\omega} + a_1 + a_2e^{-j\omega}\right) \label{eq:H_w} \tag{1} $$ If $a_0 = a_2$, then $H(e^{j\omega})$ can be put into polar form as $$ H(e^{j\...
I want to design an optimum receiver for a fading AWGN channel for ML Detection. I know that in the case of non-coherent communication we have to use an energy detector(even when the fading channel is used). But I am not sure about ML detection in Rayleigh fading when fade amplitude and angle are known to the receiver(...
I know that OFDM has many advantages in removing ISI. But I think there is one more way of removing ISI(equalizing or inverting technique). Syppose there is a channel $H(\omega)$ and we have our message $X(\omega)$. So, the received signal will be $$Y(\omega) = H(\omega)X(\omega)$$ So at the receiver end, we can just u...
I worked on fft recently, and I found kiss_fft code have some comments I do not understand. The sum of tdc.r and tdc.i is the sum of the input time sequence. yielding DC of input time sequence The difference of (tdc.r - tdc.i) is the sum of the input (dot product) [1,-1,1,-1... yielding Nyquist bin of input time sequ...
I would like to perform dB normalization on audio data to make less loud sound louder and to make unusually loud sound less loud, before feeding them into neural networks. I came across this function: $$S':= \frac{S-db_{ref}-db_{min}}{-db_{min}} $$ where $db_{ref}=20$ and $db_{min}=-100$. The clamp function is: If $s'...
Consider simple rectangular pulse and FFT of it in Python: import numpy as np import matplotlib.pyplot as plt def rectangular_pulse(t, amplitude, start, stop): wave = np.zeros(len(t))+amplitude wave[0:start] = 0 wave[stop:] = 0 return wave t = np.linspace(0,1,1001) # time fs = 1/t[1] # sampling freque...
Are there any examples of "Causal" Continuous-Time Linear-Time-Invariant Systems (CT-LTI) with output given by finite-duration functions $y(t)$?? With output I am meaning that $y(t)$ is such that $y(t)=h(t)\circledast x(t)$ with $h(t)$ the impulse response function, and the input $x(t)$ such the output $y(t)$ is given ...
I have a prediction mechanism that predicts some signal value. Generally the prediction look like this: The are some ranges of systematic error and I cannot do anything with this. But in many points a post-processing filtering will obviously do a good job to bring predicted signal closer to truth signal. I need to des...
I need to sample an ADC at 4096 * 60 = 245760 times per second, but the system clock is 200 MHz. This gives a sample period of 813.80208333.... clock cycles. I've determined that I can achieve the correct average rate if I have 19 sample periods of 813 cycles for every 77 sample periods of 814 cycles. Given the current...
I try to implement interpolation algorithm. I code this using MATLAB. Firstly, I create a signal and I upsample my signal using zero padding. fs = 1000; t = 0:1/fs:0.5-1/fs; sig1 = sin(2*pi*50*t); x_up(1:4:sig_len*4)= 4*sig1(1:sig_len); x_up = zeros(1,sig_len*4); After that, I filtered this signal. I create filter c...
I'm trying to grasp some understanding of the concept of stability in the context of the frame theory. The definition of frame in ref1 states that a sequence of functions $\{ \phi_n \}_{n \in \Gamma}$ belonging to a dictionary $D$ is a frame if there exist two constants $B \geq A > 0 $ so that: \begin{equation}\tag{1} ...
I'm working with X4M200 respiration sensor (Sensor Output Datatypes) and in provided link on page 11 it says that it provides recordings with Movement Slow/Fast Items (slow and fast pulsedoppler matrix). As I want to use this sensor to detect different kinds of movement, I find that would be useful. In this paper, as w...
I'm experimenting with the pykalman Python library to learn about Kalman Filters. In the code below, I'm generating a random walk where each step is the last step multiplied by 1 plus some noise: 1 + std_dev. In the first block, the covariance matrix of the KF (using a 1D signal/state, so it's really just one varianc...
$$x\left[n\right]:=\text{discrete time signal}\tag{1}$$ The following plot is DTFT of$~x\left[n\right]~$ What I know so far are as below. $$x\left[n\right]=\frac{1}{2\pi}\int_{0}^{2\pi}X\left(\exp\left(j\omega\right)\right)\exp\left(j\omega n\right)\,d\omega_{}\tag{2}$$ $$X\left(\exp\left(j\omega\right)\right)=\sum_{n...
$$ \begin{align} X(f) & = \int_{-\infty}^{\infty} x(t)e^{-j2\pi ft}dt & \\ & = \int_{-\infty}^{\infty} x(t)\left(e^{-j2\pi} \right)^{ft}dt & \;\;\mathrm{where}\; e^{-j2\pi}=1 \\ & = \int_{-\infty}^{\infty} x(t) (1)^{ft}\; dt, &\;\;\mathrm{but}\ \; 1^{ft} \; \mathrm{is\;always } \; 1 \\ & = \int_{-\infty}...
Although this topic has already been addressed in multiple popular questions of SE but i have few confusions in this regard Number 1) Link of question https://electronics.stackexchange.com/questions/86489/relation-and-difference-between-fourier-laplace-and-z-transforms In the top voted answer there was a sentence that ...
I am studying discrete-random signal processing, Could anyone tell me by an example or reference what it means by the following? Given an AR signal, find its PSD (power spectral density), its autocorrelation function. First of all, I cannot find an example of an AR signal. Thank you very much for your help.
Hello I am doing some work for a course and I need to take an audio file and remove the noise from it. So far I've removed the noisy signal which is a 1000Hz pure tone using the frequency domain. I did some fourier transforms, found the ranges for my filter and voila its done. However part of my assignment asks me to d...
I want to generate linear frequency modulated (LFM) waveform or a chirp signal using DDS in verilog. I am not using DDS IP Core. I have created DDS module using 8-bit rate counter, a 12-bit address counter, and an 8-bit by 4096-line sine RAM to produce sinusoidal signal. I am stuck with how to incorporate the chirp rat...
We know the fact that a bandpass signal is defined for real values. But for a typical scenario where we have a signal in the lowpass range:say : ()=0 sinc(Bt) and the transformation of the signal is done at cut off frequency say 5B, how can we represent the band pass signal for such a case scenario? Can anyone suggest ...
I have a scenario where ()=2⋅sin150t +sin250t and g(t)=()sin250 . The signal g(t) is passed as input through an ideal lowpass filter with cutoff frequency(fc)= 300 and passband gain= 3. what will be the output signal of the lowpass filter? Please suggest if there is any formula or representation to calculate this? I kn...
I have learned about STFT and wavelet transform recently, and wavelet transform seems better than STFT in my opinion. So, I wonder if there is any advantage of using STFT than WT, and if so, what are practical applications of STFT?
Can someone explain the difference between tdl (Tapped Delay Line) -a , tdl-b and tdl-c and their use cases?
Yesterday, I went hiking with friends who are all studying the same electronic engineering degree with me. During the hike, we talked about female classmates within our degree. Since there are only few female classmates within our degree, I only needed to use one or two sentence to describe that female classmates (such...
What is the main edge of using a spectral method (Spectral Intp/Trigonometric Intp) for upsampling or downsampling a signal in comparison to using a linear (Trilinear Intp) method to do the same? I understand that spectral methods are more accurate than linear ones. But how and why? Please negate my statement if I am w...
If we have 2 signals, and we want to show that they are independent, I came across a reference where the scatter plot for both was shown, and from the scatter plot, it was written that the signals are independent. I am unable to understand what a scatter plot between 2 signals x1 and x2 would signify.
I have a very simple yet fundamental question. Suppose I have a vector of data $x \in \mathbb{R}^N$. Without additional information, I guess the majority of people think this vector as defined over some regular Euclidean domain: a time-vector, a grid, etc. In this case, we can process this vector by means of some (non-...
Let's assume a system $h(t)= e^{j2t}$. This system has no region of convergence. What will be the output if I provide any input to this system?
I've just begun learning about signal processing on my own, and after reading about convolution I'm curious about why convolution reverb works. That is given a recorded impulse $\hat{f}$ and an audio signal $g$, why does the convolution $$h = \hat{f} \circledast g$$ produce an audio signal which sounds like the signal ...
I am doing an FFT on a series of pulses. The series is one pulse of amplitude 1 every 7 days over a total of 367 days. The code below is what I run: import pandas as pd from scipy.fft import fft, fftfreq, fftshift, ifft from scipy.signal import blackman from matplotlib import pyplot as plt import random ## Signal n...
I have an transfer function: $$\frac{Y(s)}{F(s)} = \frac{s^2+2s+3}{s^4+6s^3+13s^2+12s+9}$$ How can I find $Y(s)$ response of step function if $f(t)=\sin(5t)$ in MATLAB. And how can I plot the transfer function?
Is comb filtering a reversible operation? If applied to a signal, can I restore the original signal from the filtered image? What about the histogram equalization operation? Is it reversible?
I am trying to construct a Hankel matrix to write my own code for n4sid algorithm (page 47 and 22). $ \mathcal{H}= \underbrace{\begin{pmatrix} U_{0|2i-1}\\ Y_{0|2i-1} \end{pmatrix} / \sqrt{j} }_{2(m+l) i\times j}$ The problem is I'm having a hard time visualizing how the matrix should be constructed. a normal hankel ma...
In this paper the author says By using an irregular sampling pattern and filtering the irregular samples to create the pixels, featureless noise is produced from such high frequencies rather than false patterns. A similar argument is outlined in here without explanation If we make the samples irregular, in a control...
The following code define a jinc lowpass filter, how to derive a corresponding highpass filter? Is it possible? def design_lowpass_filter(numtaps, cutoff, width, fs): # Radially symmetric jinc-based filter. x = (np.arange(numtaps) - (numtaps - 1) / 2) / fs r = np.hypot(*np.meshgrid(x, x)) f = scipy.spec...
My question concerns the dimensions of the autocorrelation function of the white noise. First is a short summary of what I understand about the random signals. If we have a stationary random signal $x(t)$ whose amplitude is a random variable distributed according to some probability law : $p(x)$, then : its autocorrel...
Ever since I found out that coding gain allows you to receive a signal that is well below the noise floor I have been fascinated with the idea of covert radio signals (low probability of detection). You could imagine a clandestine scenario with spies or political dissidents where not only the content of the radio messa...