instruction
stringlengths
31
27k
Suppose we have a system $S$.We give it the input $\delta(t)$ and get a response $S(\delta(t))$.If the system is linear and time invariant we can calculate every output $y(t)$ from any input $x(t)$ by finding the convolution of $x(t)$ and $S(\delta(t))$.But why does the system need to be time invariant?
Given a sequence $$ x[n] = [0, 1, 2, 3, 4, 5, 6, 7] $$ and its subsampling (by e.g. factor of 2) $$ x_\text{sub}[n] = [0, 2, 4, 6] $$ are $x_\text{sub}$ and $x$ related in spectrum? That is, given $X = \texttt{DFT}(x)$, is there an operation $\text{op}$ such that $x_\text{sub} = \text{op}(X)$? Can it also be described ...
I was wondering how I would calculate the power of a noise, if I have a uniformly distributed white noise between $-\frac{q}{2}$ and $\frac{q}{2}$? My approach was to use the formula $$\int\limits_{-\frac{q}{2}}^{\frac{q}{2}} x^2 \ \frac{1}{q} \ \mathrm{d}x = \frac{q^2}{12}$$ But I'm not sure if that is right. Or do I ...
I am given a notch digital filter with the $z$-transform being: $$W(z)=MF(z)F(z^{*})^{*}=M\frac{z-q}{z-p}\frac{z-q^{*}}{z-p^{*}}$$ where $M$ is the normalisation factor, $q=e^{-i2\pi\frac{f_0}{f_s}}$, $p=(1-\epsilon)q$ and $0< \epsilon \ll 1$. It is easy to see the zeros of this system are on the unit circle while the ...
In order to get a better feel for phase response and how it applies across the field of dsp, I'm looking for example scenarios where a filter's phase response is a concern and where it is not. Take for example the attached figure I've made. The graph compares an analog RC low-pass filter (S) with both its digital IIR c...
I'm creating a RS(15,9) code and can't figure out how to determine when T>t (T>3) by using the syndrome components. I understand that to determine the error count you use the largest TxT matrix whose determinant is NOT equal to zero. However, by this logic, the only way to determine if T>3 would be to calculate the det...
The following signal is an example of frequency shift keying. Let the pulse rate be 100 bits/sec. If f1 = 1324 hz what should f2 be for the two tones to be orthogonal? I know that the formula to solve this is delta F = 1/2T, and I am given f1....what I am not understanding is what is T? Is it 1/pulse rate, which is 10...
I am an undergraduate electronics engineering student taking a signal processing course this semester. I have learned a lot of theoretical things in my lectures, such as how to shift or fold a signal, how to convolve 2 signals, how to take their Laplace or Z or Fourier transforms, but I want to build something useful i...
I'm trying to perform a discrete convolution of two functions, $f(x) = 1$ and $g(x) = \exp(-x)$ of length nsize using FFTW. I have followed the procedure for zero-padding my data from here. My resulting values are qualitatively similar, but the magnitudes are way off from the expected result. I have attached the code I...
Matlab command for inverse z transform iztransonly applicable for causal signals? or also valid for non causal signals? Actually i want to find inverse z transform for the cases shown in attached snap and i am confused if iztrans command is applicable to all of them?
I am Ph.D in pure mathematics and interested in signal processing. Theoretically, any illustration of the eigendecomposition of the discrete trigonometric transforms (DTTs) is worthwhile. Q. What real applications can be followed by having the eigendecomposition of the discrete sine and cosine transforms? Any referenc...
Does the Kramer-Kronig relations apply to this example $f(t) =\left(1-t^2\right)^4\cdot\theta(1-t^2)$? with $\theta(t)$ is the Heaviside step function. I made a detailed related question here with full explanations, where I got no answers, but the main doubt could be solved just by knowing if the KK-relation conditions...
Suppose there's a vector of $d$ of positive numbers $x(1),\ldots,x(d)$ which I need to obtain from a vector of $d$ derived quantities $m(t_1),\ldots,m(t_d)$ where $\{t_i\}$ is some conveniently chosen vector of real numbers and $$m(t)=\sum_{i=1}^d x(i)^t$$ Is there a practical way to obtain $x$ from $m$? For instance, ...
I’m trying to simulate a TLL loop using Gardner TED. I set symbol rate is 1000 and 8 samples for 1 symbol. First I use Root-raised-cosine filter to shape the symbols, then I use interp1 in matlab to resample the signal to add sampling delay. And then I feed the signal to the match filter, then I downsample the signal t...
Suppose I have a list of amplitude (straight line signal): x = [1,1,1,0,1,1,1,1] By intuition, zero value in list x makes the noise of straight signal. If we modified some value, such as 2, we get more noise level. y = [1,1,1,0,1,2,1,1] Hence by my intuition, SNR of list x is greater than SNR of list y. So how do I ...
I want to find the transfer function h(t) of the below positive feedback system. I came out till this. How can i get the inverse laplace of this function? say β = 1 and γ = 1
For a course that i'm taking im asked a question about the ambiguity function of a FMCW radar. However i have not found a good source for reading about this so don't quite understand it. I get given the following cuts: I understand it in the following way: If there are 2 targets, i cannot distinguish between them if t...
I am having issues with my implementation of a FIR high pass filter. The low pass filter has an acceptable level of attenuation in the stopband, but the high pass filter has poor attenuation in the stopband. I have not seen any mention of this occurring in the sources that I read and I am unsure why this is occurring. ...
I am currently trying to understand librosa.feature.melspectrogram in a mathematical sense. In my understanding, spectrogram is based on the STFT which is for a given discrete time sequence $x[n]$ of length $L$, the value corresponding to a frame of $x[n]$ at time index $m$ and frequency index $k$ is $$ X_m[k] = \sum_{...
From what I know noise-canceling headphones generate sound waves that are 180° out of phase with the ambient noise. I understand that they are not effective at canceling out sudden and unpredictable sounds, such as a car horn or a dog barking, because there isn't enough time for them to process the sound and generate t...
I have to apply a downsampling filter on a realtime data stream (signal) and I want to do it in python. The data is sampled at 16 kHz and loaded in a loop in chunks of 1 second. I have to downsample the data with the following: Forward-backward filter for downsampling to preserve phase (zero-phase filter). Downsample ...
The discrete cosine transform(DCT) is a popular choice for spectral analysis in audio, video, image compression algorithms. This is primarily due its efficient "spectral compaction" property in comparison with Fast Fourier Transform(FFT). Is there a way to measure approximate "spectral compaction-gain" (if its appropri...
I am solving a problem to find the zeros and poles. Subsequently, it is requires to determine the impulse response. Below is the system function: $H(z)=\tfrac{z}{20z^2-4z+1}$ I am able to compute the poles by quadratic factor: $z=\tfrac{-b \pm \sqrt{b^2-4ac}}{2a}$ $$=\tfrac{-(-4) \pm \sqrt{4^2-4(20)(1)}}{2(20)}$$ $$=\t...
I have short segments of a biological signal interpolated at 10 Hz (anywhre from about 8.5 sec to 10 sec length). I want to use a cwt to then convert this segment to frequency over the short time frame. I believe need to window the time function and remove the average to make the average value zero, and then pad with z...
Maybe a example of coupling effect in frequency modulated continuous (FMCW) radar will be helpful to better demonstrate my problem. Let us consider a FMCW radar system. We have a complex transmitted signal $\textbf{x}(t)$ with bandwidth $B=50 \, \textbf{MHz}$, and duration time $T=7.3 \, \mu s$ of a chirp and $N=1024$ ...
How we can use MATLAB for z domain especially in scenarios where we have two different expressions of Z transform(one has negative powers of z and other has positive powers of z) I have added a link and snapshot of that and relevant MATLAB code where i get different poles and zeros when i switch from z^-1 form to z for...
I have data $d$ recorded from an antenna of sensors. These data are composed of a Gaussian noise $n$ and a signal $s$ which I try to estimate. This signal propagates on the antenna with frequency dependent attenuation and velocity. Below is an illustration of such simulated data. We can observe that the signal comes fr...
Per the Space Exploration SE question Are launch windows to Mars avoided if they result in landings during dust storm season? the synodic period of the relationship between the motion of Earth and Mars in their orbits with the approximation that they are circular and periodic is given by the following: Launches to Mar...
I just want to understand, why is the result of my wavelet(?) transform so bad. For $0\le i< k$, where I set $k$ to $10$, I split the signal in blocks of length $s_i:=2^{i+2}$, overlapping by $s/2$. I then take the absolute value of the dot product of the block with $[e^{i4\pi(k+0.5)/s_i}]_{0\le k<s_i}$ and store it ...
In literature, $V_\max = \lambda\cdot \operatorname{PRF} / 2$; should it be $V_\max = \lambda \cdot \operatorname{PRF} / 4$, which would be consistent with FMCW $V_\max = \lambda / (4 \cdot T_c)$? This is because $\operatorname{PRF} = 2 f_d = 2 \cdot (2 V_\max / \lambda)$.
In Continuous Wavelet Transform (CWT) To achieve energy normalization and to ensure that all wavelets have the same energy regardless of their scales, each wavelet is divided by the square root of the the scale S.
Here's response of FIR design: which shows SPL 0dB and here's a wave file exported from ( DRC ) FIR design software: FIR48kHz.wav. Audio software (internally uses FFTW routines) where this filter is then used/measured reports +2 dB peak gain for full range 0-24kHz filter and +4dB for reduced range 0-20kHz filter (soft...
I am simulating a first order delta sigma modulator (DSM) used as an ADC. The input to my DSM is a full scale sine wave. The power spectral density I expect from the DSM output is as follows : The sinusoid peak as well as some noise that is shaped to the higher frequencies. In order to avoid any spectral leakage, I def...
I want to simulate the process of obtaining the impulse response of a room. What I did: Generate a room impulse response sequence by using the python module: rir-generator Generate a sine sweep signal with this formula $$ f(t) = A\sin\left(\frac{2 \pi f_{1}T}{\ln\left( \frac{f_{2}}{f_{1}} \right)}\left(e^{\frac{t}{T} ...
I acquired some noise signal (5GHz samplerate, 520 samples) data from a device and recognized that it is not gaussian distributed. There seems to be some slow sinusoidal signal underlying. I tried to visualize it by applying a moving average filter to my waveforms. Here are some examples: It also shows when the nois...
I've been looking for info on this topic for a while and I came across several algorithms that may be suitable for this purpose. Specifically I'm interested in getting a frequency representation like this in real time from where I can extract multiple pitches (chords), if any. But the frequency must have an exponentia...
i got little problem. I'm trying to detect HFOs in single channel EEG (the recording is multichannel, but there is not enough channels to use ICA) for my diploma thesis experiment and i want to first preprocess the intracranial EEG signal (rats with electrodes placed in CA2 thalamus) by filtering movement artifacts. I ...
I need to filter some array of data before differentiating it, I do this so I don't drown the signal in noise. It's also important that no delay is applied to the signal, that's why I decided to use a forward-backward filter like scipy's sosfiltfilt and implemented the following: order = 4 freq = 0.00025 sos = sc.sign...
I am trying to implement the DFT circular frequency shift property in MATLAB and my code is below. I have also attached a snapshot from the Proakis book where this property is highlighted but I am confused why I am not getting same equal value of LHS(Left Hand side) and RHS(Right hand side) clc;clear;close all x=[1:8...
I am currently struggling on the book "System Identification: Theory for the User" by Lenart Ljung (freely available here) about the definition of the spectrum (around page 33). As I have seen elsewhere, it is defined as the Fourier transform of a fancy autocorrelation function. This gave rise to many questions and I w...
What is a numerically stable way to obtain the inverse transfer function from a measured response? I have a system that shows a low-pass behavior. I would like to increase the bandwidth by some form of pre-emphasis. I have measured the response of the system to the shortest square pulse excitation I can do. This looks ...
Let T1 and T2 be two separate systems and T be the cascaded system: Prove if the statement "T1 is LTl and T2 is not LTl, then T cannot be LTl" is correct I would truly appreciate it if you could provide us with some hint. My intuition told me the statement is false, but I could not get any counter example
We performed some vibration tests on a shaker, with two accelerometers on our setup. One was on the shaker table, to measure the input signal. And the other one was on a flexible part of our test setup, this is considered the output signal. The input was zero mean band limited white noise acceleration, between 100 and ...
Title says it all. Are there processors with FPUs that deal with denorms arithmetically correctly (don't assume they're zero nor flush them to zero) and don't cause an exception? I would be interested in knowing who the black sheep and the white sheep are. Like the Intel Xeon or AMD Opteron, are denorms for them just a...
I'm missing a step to understand the factorization of the FIR filter transfer function: $$H(z)=\sum\limits _{k=0}^{M}b_{k}z^{-k} \tag{1}$$ From DSP First: The $z$-transform of a finite-length signal, such as $H(z)$ for an FIR filter, is a function of the complex variable $z$, and it is also an $M^{th}$-degree polynomi...
Given $$ Y(t) = A X(t) \cos(\omega t + \phi) $$ with $X(t)$ is zero-mean WSS (wide-sense stationary) process, $\phi$ ~ Unif$(0,2\pi)$. Suppose $X(t)$ and $\phi$ are independent random variables. I want to compute the mean and autocorrelation functions of $Y(t)$. My attempt is (using independence of $X(t)$ and $\phi$, a...
We are receiving 3 phase current readings from Induction motor using CT sensors. I am not aware of what processing is being done on the spot. My job is to do Motor Current Signature Analysis on it using python. But the currents have weird spikes everywhere. Sampling frequency is 6500, Fundamental Frequency = 50Hz Plot ...
Suppose I have several groups of signal measurements, each containing multiple replicates, and I know that within each group the signal "shape" is approximately the same but with variance/error that depends on the signal. E.g. for each group I would have a set of vectors of the same length, which are strongly correlate...
I am studying signal processing and currently doing signals & systems. While going through convolution and especially the impulse response , there are problems where LTI systems wherein the input is an unit impulse at $ t=0$ ,but the output pulses are generated at $t\ge 0 $ as well as $t\lt 0 $ as well. Consider the fo...
There are lots of options in textbooks, youtube and website blogs. There seems to be three options: Calculate phase difference between samples to infer frequency error or offset. Calculate phase difference between symbols to infer frequency error or offset. Use a band edge filter (derivative of the pulse shaping filte...
I'm wondering if there is a standard definition for global gain and frame gain in audio and speech processing. I found these terms together with an imprecise definition in a text about bandwidth extension in speech coding. However, I'm not able to find this definition in any other publication, lecture notes, or textboo...
I am getting a shocking result from my matched filtering simulations and math. It would seem unlikely, but I'm seeing a 3dB gain in SNR if I process real samples instead of complex. Where is the flaw in this reasoning? A matched filter is a convolution of the received noisy signal with a conjugated reversed copy of t...
Let's consider baseband complex signal like this: red: real part of signal blue: magnitude^2 green: mean value of magnitude^2 as you can see, there are a lot of peaks but only one has value greater than 10. From definition PAR=Ppeak/Pmean... question is what would be Ppeak in this case? Max(pepeak) could be taken, but...
I have encountered a text (a specification) in which $$\text{FFT}\left(f\left(x\right)\right) = f\left(\text{FFT}\left(x\right)\right)$$ is clearly presumed (for the functions they are applying). Thus, I believe a composite function and the property sought is commutativity (of the composite function). What I would like...
Supposing there is a 16-bit data bus between the CPU and the memory, I want to save 16-bit data 1000 0000 0000 0001 to memory with a given address. The data bus consists of 16 wires(I don't know the terminology for "wire") connecting between the D0~D15 pins of the CPU and the same name pins of the memory. I wonder if ...
I am trying to display a growing sinusoid in MATLAB and i know that imaginary part corresponds to oscillations but i am confused how can i incorporate real part in exp argument? I have also attached my current code and current out put and desired output clc;clear;close all % Generate a sine wave using exponential funct...
Let N be an even integer, and $x[n]$ be a finite length signal over the interval $n\in [0,N-1]$; let $X[k]$ be the N-pt DFT of $x[n]$. Analytically find the DFT of each sequence below in terms of $X[k]$. (The DFT size is N unless specified otherwise): a) $x_1[n] = x[N-1-n]$ b) $x_2[n] = (-1)^n\cdot x[n]$ For part a) I ...
I'm trying to match a signal with a rectangular pulse shape using a rrc filter. Which alpha (0.25, 0.5 or 0.75) is best for doing this and why? My gut says 0.25 but I really don't understand. Edit: The output signal looks as follows and was passed through a rectangular filter for pulse shaping: The signal gets transmit...
I am not from electrical eng. or physics background, so a layman explanation would be appreciated. I work with sensor data (accelerometer) from wearable device, collected for few hours. I take few samples from it, and prepared a fixed sized samples of 100-time steps. This is the acceleration (actually 1 dim) magnitude ...
im trying to denoise a signal to which i added AWGN. Here is what ive done so far: import numpy as np import matplotlib.pyplot as plt from scipy import signal """Creating a cosine and adding AWGN to it. Then denoising it. """ # Create cosing and cosine with noise f_0 = 50 f_max = 2*f_0 t = np.linspace(0, 2*1/f_0, 256)...
I've been learning about signals for a while now, and I'm just starting to learn about Continuous time Fourier transforms. In this particular case, we were asked to get the inverse Fourier Transform of $$F(\omega)=\begin{cases}\omega^2\,&\ -\omega_0\leq \omega \leq \omega_0\\0,&\textrm{otherwise}\end{cases}$$ and I jus...
Cascaded integrator-comb (CIC) filters are used in decimators, and decimators with a gain that is a power of 2 are popular (at least at my workplace) because the gain can be normalized with a right shift of the output data. My understanding of decimators comes from Discrete Time Signal Processing by Alan Oppenheim, whe...
Here is my attempt to perform an FFT on a random signal with 2 tones in which I applied zero padding AFTER windowing. (I did not apply zero padding before windowing because that would suggest that the zeros are part of the original signal which is not correct.) The signal amplitude is around 3.5 but the FFT amplitudes ...
Most of us have come across the impulse response of an ideal (continuous-time, unity gain) low pass filter with cut-off frequency $\omega_0$: $$h_{LP}(t)=\frac{\sin(\omega_0t)}{\pi t}\tag{1}$$ The question is what happens if we replace the sine in the numerator of $(1)$ by a cosine? What type of filter is it? What is i...
I am investigating the time-domain response of electromagnetic waves. The input signals are a chirp with linear frequency sweep 2.5 Hz->4.5 Hz -> 2.5 Hz and another signal which is abruptly turned off at 10 seconds. Let's call this $x(t)$. I then find the Fourier Transform of these signals. I have the experimental v...
I am trying to find a mathematical model to understand the correlated phase noise. Here, I see the reference phase noise is almost the same after up-conversion and then down-conversion. How does correlated noise get canceled as though the mixer has not added any noise at all? I am looking for a signal processing angle ...
Let's say the N-Point DFT of $x[n]$ is $X(k)$. Now from this question, I know how to compute the 2N-Point DFT of the same $x[n]$ in terms of $X(k)$ However, this idea doesn't translate well if I have to compute the 2N-Point DFT of $x_1[n]$, for example, where: $$x_1[n] = \begin{cases} x[n], & \text{...
I have a waveform that's modulated by a trapezoidal function. I fitted the envelope to the expected function to show if the amplitude is modulated correctly. I also plotted the difference of the fit and the envelope This is an example of a fairly "healthy" waveform. Sometimes my amplifier likes to compress and decomp...
I have signal which a sinous wave with frequency 1MHZ and DC signal at 0.9V. The signal is sampled every T the total length is 5e-6 sec so for T=3.301028538570082e-09 i have 220 samples. sampling frequency is Fs=302935884.4722904Hz The original sinous plot is shown bellow. As you can see Sinous amplitude is 0.1V But...
I have 1D array data which is a horizontal pixel array with 2048 pixels with 12-bit values. So I can plot pixel number from zero to 2047 versus pixel values. But I need the FFT of that 1D array. But in this case there is no time and I use a ready FFT function which requires "samplig rate as input". What should be the s...
So, I'm currently studying the Mel spectrogram and I'm struggling to understand one thing: suppose I have a spectrogram for an audio signal that was sampled at $44100$ Hz (i.e. a Nyquist Frequency of $22050$ Hz). Also suppose that I'm using 1024 filter banks. I always worked under the assumption that I can transform th...
(I don't see a way of conveying the situation better than by providing a screenshot. Please pardon me.) According to MP3 specs, the below depicted MP3 audio frame starts at 0x00000800, having a length of 0x000001a1, so the next audio frame starts at 0x000009a1. Yet, loads of sync markers appear in the audio data: How...
How does Noise Reduction techniques implemented in code help us? I am working on an analog accelerometer and while I log the data, I see noise in the data values that is almost constant and in the range of 0-50g. I am able to register shock values beyond the range of 50g. Other than reducing the noise from actual physi...
I am trying to understand the fact that "The DTFT of 1 (an infinite discrete sequence of unit impulses from from $-\infty$ to $+\infty$) is $2\pi\delta(\omega)$" in an intuitive or physical manner so that the significance of this result and its application in signal processing is understood. just to show how the above...
I am looking for complete OFDM transmitter chain with all the details i.e. starting from modulation symbols up to up conversion to carrier. What I have found on the web is Modulation Symbols serial to parallel conversion IFFT CP addition Digital to analog conversion up conversion to carrier I am looking for details a...
I am trying to image some ChArUco targets using a monochrome machine vision camera with a CMOS sensor and the attached images show the artifact I am observing: 2-pixel-wide bright vertical streaks adjacent to light-to-dark edges (only on light-dark transitions from left to right). Here is another example where the whi...
What is the difference between Short time energy(STE) or root mean square(RMS), Librosa library offers a function to calculate RMS but doesn't offer one to calculate STE, which gives the impression that STE isn't that useful and RMS is enough, While in researchers paper they use STE, so that I got confused a little bit...
I'm looking for an algorithm that can find a significant change in an array, I mean that I know that the data have 3 part of different behavior. For example: For this array I need it to return this two values. I thought to use the second derivative, but didn't succeed to get a good result. Any help?
Least Squares channel estimation (or equalization) can be accomplished using the "Wiener Hopf Equations", or the Discrete Fourier Transform. Both appear to be least squares solutions. How do the two compare and contrast? Under what conditions would one approach be preferred over the other, and if given the same conditi...
I want to speed up my blob detection function by computing the second order derivatives of the input image using the integral image and some box filters. Initially, I used the following method, which provides correct results. def smooth_gradient(image, sigma, deg): # define the filters according to the arguments ...
I have a DAC which is assumed to be nonlinear, such that it produces unwanted harmonic distortions at integer multiples of the input frequencies. (EDIT: Any other nonlinear distortions, such as intermodulation products, are assumed to be negligible). If the harmonics fall outside the bandwidth of the analog bandpass fi...
In FMCW, we have range resolution calculated as delta_d = c/(2B), and dmax = fs * c/(2*S) where S is the slope. my understanding is numRangeBins = dmax / delta_d. However, in the post (range-doppler map to range-velocity map conversion), it says: rangeAxis = (1:numRangeBins)*(c/(2*fs)) % Range bin size is c/(2*fs). f...
Let N be an even integer, and $x[n]$ be a finite length signal over the interval $n\in [0,N-1]$; let $X[k]$ be the N-pt DFT of $x[n]$. Find the 2N-Pt DFT of $x_1[n]$ in terms of $x[n]$, where: $$x_1[n] = \begin{cases} x[\frac{n}{2}], & \text{if } n \text{ is even}\\ 0 & \t...
In automatic speech recognition the spectrum $f$ is interpreted as the convolution of elicitation $e$ and impulse response $h$. By applying the cepstrum $cep(f) = FT^{-1}(log(FT(f)))$ this convolution is turned into an addition: \begin{align} f &= e &* h\\ FT...
Can feedback stabilize a unstable system?I guess so since we may get rid of any poles in the positive complex plane by feedback but I am not sure.
I am trying to model a Kalman Filter for an IMU (inertial measurement unit) with the method described by Zhou (2004) and Filippeschi (2017, pp.11-12). In this method, the state vector is: $$ X = \begin{bmatrix}g_x\\g_y\\g_z\\m_x\\m_y\\m_z\end{bmatrix} $$ Where $g$ is the gravity vector and $m$ is the magnetic vector. T...
I'd like to implement a lowpass with arbitrary slope. I'm currently cascading biquads in order to get a higher order, hence higher slope. But is it possible to do the opposite - lower the slope of one biquad? Normally one would be 12db/oct, so anything lower than that. Sort of mixing with dry signal, but without the ph...
Based on this post here, I tried to calculate the phase difference between sine waves. Here is my code. Fs = 64*10**6 N = 2048 f = 100000 t = np.linspace(0, (N-1)/Fs,N) order = 3 amp = (2**(12)-1)/2 def butter_lowpass(cutoff, fs, order): return butter(order, cutoff, fs=fs, btype='low', analog=False) def butter_low...
I'm working with some IQ data from the paper A Wideband Signal Recognition Dataset. Specifcally I've been trying to plot the constellation diagram for some the modulations within the dataset, however, when plotting IvQ I get something like this: The meta data corresponding to this IQ data/plot looks like this: "core...
Consider the MIMO system which has $N_t$ antennas at transmitter and $N_r$ antennas at receiver and uses Generalized space shift keying (GSSK) modulation. The received signal is given by: $$Y = H X + N_w\tag 1$$ where, $H$ is the channel of dimension $N_r \times N_t$, $N_w$ is AWGN of dimension $N_r \times L$, $X = [\m...
The adjoint of the DFT is the IDFT. But suppose we don't need to calculate a full DFT (just a subset of frequencies), and so are using the Goertzel algorithm instead. What is the adjoint of the Goertzel algorithm? One way to think about this might be to model the Goertzel operation as a full FFT followed by truncation ...
I have an audio file which was created by substituting multiple speech segments into an original utterance. I want to find the timestamps where such substitutions happened, so I guess that one thing I can do is looking for the abrupt changes in the audio waveform. By visualizing the waveform, I have something like bel...
I have 2 time-shifted signals,$f(t-t_0)$ and $g(t-t_0)$. Assuming that $y=f(t)*g(t)$, which is the convolution of the signals. By definition, I have $f(t-t_0)*g(t-t_0)=\int_{-\infty}^{+\infty}{f(\tau-t_0)g(t-t_0-\tau)d\tau}$ Substitute $\tau-t_0$ with $t_1$ then I have $f(t-t_0)*g(t-t_0)=\int_{-\infty}^{+\infty}{f(t-2t...
I am new to SDR. But I have an USRP X310. Installed UHD and GNU Radio from source on Ubuntu 20.04. Connected to the USRP with SFP+ through the port 1 and powered the USRP. But the LED of the ethernet port doesn’t light up at all. And it seems like the computer also doesn’t see the device. Checked with other cables and ...
Let's assume that there are two convolutions: $y_1 = (h_2[n]\cdot x[n])*(\bar{h_1}[n]\cdot\bar{x}[n])$ $y_2 = (h_3[n]\cdot x[n])*(\bar{h_2}[n]\cdot\bar{x}[n])$ where "$\bar{x}$" is complex conjugate, $\cdot$ is element-by-element multiplication, and $*$ is linear convolution, that is $(f*g)[n]=\sum_mf[m]g[n-m]$. I am l...
I am new to signal processing and I want to implement an LPF using SciPy. In order to do so, I used the following python code from: here The code itself looks like: import numpy as np from scipy.signal import butter, lfilter, freqz import matplotlib.pyplot as plt def butter_lowpass(cutoff, fs, order=5): nyq = 0.5...
I saw many answers for such questions by writing down equations such that the symbol is formed of n bits so the duration of the symbol in QPSK must be n multiple of the bit duration. I am not convinced as from my understanding, QPSK is making use of the phase to represent two bits together using same bit symbol we used...
I have a signal $3.5 \cdot 10^{-5}s$ long as shown below. It was unevenly sampled so I did cubic spine interpolation. My signal as shown in time domain about 0.9V and 1MHz frequency. I want to make an accurate FFT picture with $F_s=10\texttt{Mhz}$ so $T_s=10^{-7}s$, hence $N = 3.5*10^{-5}/10^{-7}=350$ I want an accurat...
I'm trying to frequency shift a sine wave at 50kHz by using a complex exponential at 15kHz. I should be getting an FFT with a peak at 65kHz. Instead I'm getting a strange looking peak at 52.4kHz. Anyone know why this is? This is probably a simple issue but I've been stuck for too long. Here is my Matlab code: clc,cle...
Let $y(t) = (h * x)(t) + n(t)$ be some observed signal where $h(t)$ is some filter / impulse response, $x(t)$ is some input signal we are interested in, and $n(t)$ is noise. In order to recover $x$ given $y$ and $h$, I can define a regularized inverse filter, (in Fourier domain) $$G(\nu) = \frac{H^*(\nu)}{|H(\nu)|^2 + ...