instruction
stringlengths
31
27k
I keep seeing $$\frac{E_b}{N_0} = \frac{E_\text{s}}{\rho N_0}; ~~ \rho=\log_2{M}$$ But my own calculation is: $$\frac{E_b}{N_0} = \frac{E_s}{N_0}\frac{1}{k}$$ Where $k = \frac{\rho n}{ms}$, where $\rho = msr$ is the spectral efficiency, $m$ is the modulation efficiency, $s$ is the percentage of carriers that carry data...
Autocorrelation for power signals is defined by $$R_x(\tau)=\lim_{T\to\infty}\frac{1}{2T}\int_{-T}^Tx(t)x^*(t-\tau)dt\tag{1}$$ Is it true that for periodic signals $(1)$ can be computed by $$R_x(\tau)=\frac{1}{T_0}\int_{T_0}x(t)x^*(t-\tau)dt\tag{2}$$What are the other ways for computing $R_x(\tau)$? In this question, i...
Let $\mathcal{L}$ be a stable LTI system. Is it true that if input has finite energy then output also has finite energy? I'm not sure about that. We know that $$\int_{-\infty}^{+\infty}|h(t)|dt\lt\infty \tag{1}$$Where $h(t)$ is the impulse response. Also we have $$\int_{-\infty}^{+\infty}|y(t)|dt = \int_{-\infty}^{+\in...
Thought this would deserve a separate post on its own. What's going on is that I finally got my low pass digital filter working on the STM32H753ZI using the PMODI2S2 peripheral and I noticed the output signal is extremely low ~340mVpp this is after the biquad filtering. If I take out the low pass filtering the output s...
As a sampled tone's frequency nears $f_s / 2$, amplitude modulation grows apparent: ("Actual" curve in grey; blue is what we get if taking samples (dots) "at face value"). This is fairly problematic for the "we're safe below $f_s/2$" assumption; instantaneous amplitude is distorted, and localized energy contents are w...
I am a senior Game developer want to self-study how to create electric guitar amp/effect plugin. I read around and managed to made a simple distortion plugin using JUCE. But because of lacking in basic knowledge, I don't 100% understand what it does so I don't know how to improve or make new plugin. My question is: How...
I am currently trying to recover a satellite signal, encoded following CCSDS standards. This includes a convolutional code with rate 1/2 and constraint length 7. I am receiving the signal through an SDR directly connected to the sender using coax cables and some attenuation in-between. For testing purposes, I am sendin...
I am trying to implement the BPSK-63 modulator using liuid dsp library. Here is my code: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <getopt.h> #include <math.h> #include <complex.h> #include <liquid/liquid.h> #define SAMPLERATE 11025 int main(){ modem mod = modem_create(LIQUID_MODEM_BPS...
What is the best way to design a FIR filter with a given linear phase response, such that each frequency inside the passband is phase shifted according to: $$H(f)=e^{i2\pi f k}$$ where $k$ is factor that I want to specify. I also want to specify the number of taps $N$. Note that the effective shift is bigger than the ...
What is the difference between designing high-complex filters to reduce/remove frequencies in a signal and calculating the fft, reducing/removing those frequencies manually, and reconstructing the signal? Although the latter seems to be easier, I am pretty sure there must be compelling reasons to use filters instead of...
By an LTI system, we mean a time-invariant linear map on continuous/discrete-time signals. What (elementary one and multidimensional) real examples of continuous/discrete LTI systems do you suggest to provide a nice motivation for pure mathematicians?
Assume we have the following system (coming from control systems theory, hence in s-domain) $ Y(s) = H_A (s) \cdot A(s) - H_B (s) \cdot B(s) $ I now wish to consider $a(t)$ and $b(t)$ as white noise of unit variance, and I'm interested in the Power spectral density of $y(t)$ (rather the RMS of y(t) derived via the inte...
I have been given the specifications for a digital highpass filter (stopband, passband, stopband attenuation and maximum passband ripple). I am expected to design a prototype lowpass filter in the analogue domain, use frequency transformation to convert it to a highpass, then use bilinear transformation to convert it i...
Let there be a discrete signal that is the sum of sinusoidals and can be described by $$s(n)=\sum_i A_i \mathrm{sin}(2\pi f_i \frac{n}{f_s}+\phi_i)$$ where $A_i, f_i, \phi_i$ are unknown but fixed parameters of my signal, $f_s$ is my sampling rate, and $n$ is the sample measured at time $t=\frac{n}{f_s}$. Of this signa...
I have created a function that filters an image (250x250) with a gaussian blur kernel (5x5) using FFT and IFFT. I am trying to get my filtered image to equal exactly the filtered image created by the 'imfilter' function using the 'replicate' option. There are small differences in the two filtered images. They look iden...
I have an audio signal and i want to process it sequentially. Is there an algorithm which allows to modify the spectrum of a signal when i remove a part of signal and add the other one? For example, i obtain a set of 256 samples of input data. Then i do 256 FFT and i want to add the result spectrum to 16384 FFT which i...
I'm trying to implement a digital filter, which is given by the following transfer function: $$ 1+2V K \frac{K+c_m+2Kz^{-1}+(K-c_m)z^{-2}}{1+2Kc_m+K^2+(2K^2-2)z^{-1}+(1-2Kc_m+K^2)z^{-2}} $$ $$ +V^2K^2\frac{1+2z^{-1}+z^{-2}}{1+2Kc_m+K^2+(2K^2-2)z^{-1}+(1-2Kc_m+K^2)z^{-2}} $$ My interpretation of the coefficients is thi...
Is it possible to design linear-phase filters that sum to a flat frequency response? If so is it practical to use them in real-time audio processing for as many as 10 bands? My experience has only been with Linkwitz-Riley IIR filters, but I would like to explore the possibilities of linear phase or minimum phase filte...
Good day everyone I have recorded experimental frequency response functions (frfs) for a loose bolt monitoring project. Please see figure 1 below for an example of the frf. Figure 1 The purpose of my project is to determine if loose bolt conditions can be determined using vibration testing. I used a lapped beam made u...
From here; $\hat f=\mathcal{F}(f)$, bar = complex conjugate: Time-shift property: $x(t-b) \Leftrightarrow e^{-j\omega b}{\bf X} (\omega)$, so why is it $+$ (red)? What at all is happening? Looks like convolution theorem, taking $f$ and $\psi$'s time-domain multiplication into frequency domain, except don't we need a ...
A friend of mine is working at an institute for nano-membranes. Currently they are using ImageJ and do a lot of manual (in my opinion inaccurate) work to process some membrane "photos" (images generated by a measurement process, I have remove the label at the bottom, which contains lens type, scale etc.). The results a...
I was trying to build a (B)PSK-63 modulator as my hobby project. Here is my code and the link to specs: How to modulate PSK63 with liquiddsp? Now it is working, but since I am using a NCO to shift the signal from zero to 500 Hz, i have a lot of harmonics: I have found a function that designs a kaiser filter: unsigned ...
I'm trying to understand the derivation of LS algorithm for channel estimation in OFDM. Could anyone explain why do we need complex conj transpose in the below equation?
I recently implemented a digital state filter based on the recommendation here. I've tested this filter's performance as a very low cutoff low-pass filter with limited coefficient quantization precision and it's working entirely as expected. However, I've only tested it in the time domain. I'd additionally like to char...
I have a script using SciPy for checking the RMS of various Butterworth Bandpass Filters of varying orders. I would expect the RMS values to increase and decrease linearly and consistently as you get closer and further from the passband, but this is not what happens at all. The RMS fluctuates dependent on the frequency...
I have grainy CCTV footage that will need some amount of clean up. I request for ideas on the best way to clean out the noise. I am attaching a frame extracted from the video here for hints on the specific noise cleaning I will need. Just for context, the guy in the image robbed and brutalized a vulnerable female a cou...
This question was a source of disagreement on whether "amplitude aliasing" can occur for a signal bandlimited to below half the sampling frequency. The question was closed before the disagreement was resolved. A key to the disagreement may be in the definition of "bandlimited". Is there a different way to define "bandl...
I have a problem. I am confused, I have two function like this: $\sin(t)$ $\sin(2\pi t)$ what is the difference between of them and how to calculate period and frequency for second?
I have a data set that consists of max hold frequency vs intensity data from an SDR at a specific RBW. I want to reprocess the data as if I sampled it with the larger resolution bandwidth so I can compare what that file might have looked like. What would be the correct way to go about doing this to get as close to what...
I want to compute the 1-D noise power spectrum (NPS) for a uniform CT image. The equation of the 2D NPS is as following: $$ NPS(f_x, f_y) =\frac{1}{N}\sum_{i=1}^N|DFT_{2D}[I_i(x,y)-\bar{I}_i]^2\frac{\Delta_x\Delta_y}{N_xN_y} $$ whre $DFT$ is the discrete fourier transform, $I_i$ is a ROI, $\bar{I}$ is the mean of the R...
There are some educational materials, like Alex Pan - CS 194-26: Image Manipulation and Computational Photography - Fun With Frequencies and Gradients, which demonstrate the unsharp masking technique used for sharpening the image is almost equivalent to applying a Laplacian of Gaussian (LoG) filter on the image: Howev...
I want to modulate this signal if possible with an Arduino, but have no idea what circuit can help me here. Let's ignore the timing and the measurements from the image for a moment, my problem is more about the alternating shape of the signal. I'm a beginner here and learning a lot at the moment. I don't wan't any comp...
I learnt from here that the following filter can turn white noise into pink (-3dB/ octave). b0 = 0.99765 * b0 + white * 0.0990460; b1 = 0.96300 * b1 + white * 0.2965164; b2 = 0.57000 * b2 + white * 1.0526913; pink = b0 + b1 + b2 + white * 0.1848; How would I turn white noise into blue/ azure noise (+3dB/ octav...
I'm thinking of pixelize + threshold, but I need a more formalized way of finding the darkest spots on the photo, with tweakable parameters. Something I can think of is the parts with lowest spatial frequency and least luminous pixels together, i.e. the spots with darkest pixels spread over a largest area (on average) ...
I am doing distance measurements by transmitting a 100 kHz tone and receiving it and measuring the phase difference.The distance is simulated by a delay simulator which is very precise (around 10 psec) The 100 kHz tone is PM(Phase not PSK) modulated with an index of 1.1 rad and upconverted to 70 MHz. Then it is receive...
In a related question a probable solution was given to build a first-order digital filter and then cascade three of them in order to turn white noise into pink. I have applied the C++ as follows but still the signal sounds and looks like white noise. I would like to know what is wrong with my implementation and why I ...
Suppose we have a sequence of still images each of which has been contaminated by some particles(ex, dust/sand/smoke) making the images very poor in certain areas. What approach would be best to teach image regeneration using multiple frames? The simplest technique is to simply find a way to detect what parts of the im...
I am working on a project that converts radio data and transcribes it into text looking for specific types of radio chatter. For most of the time, the radio signal is dead air. Periodically, there will be a callout for a specific type of municipal event (fire, medical, police). Each callout has unique series of sounds ...
The signal is the white dot or it is a point target. and I have to find the SNR of this image/point target. As i increase noise in thie image, black back ground shows some disturbance. AnHow should i approach this problem. I have to do it in matlab code.
I noticed that almost all machine learning enabled sound classification approaches use spectrograms or MFCCs as input for feature extraction. I am new to the area and would like to know if we can also combine waveforms and spectrograms/MFCCs of sounds to classify them more accurately. Then, is there a deep learning app...
I am working on producing deconvoluted image from degraded image where the process of degradation is known to be linear and space invariant. I have used Richardson-Lucy iterative deconvolution method for that. The formula used is given here under.$${\hat{f}}^{k+1}=\left ( {h^{*}}\otimes \frac{g}{h\otimes {\hat{f}}^{k}}...
Let $(e_i)_{1\leq i\leq M}$ be vectors with zero-mean i.i.d. entries from a Gaussian distribution. In a compressed-sensing setup, I have observed the collection of scalar products $(\langle x\, |\, e_i\rangle)_{1\leq i\leq M}$ for an unknown vector $x$. In the compressed sensing literature, what is the name for the co...
I am a beginner in AI methods. I have a collection of x(t) data, where x are some signal amplitudes and t is a time. My testing data are divided into two classes, say those from good and bad experimental samples. I need to classify the signals from unknown samples as good or bad according to their similarity to these t...
It seems like BLE jamming is technically possible by just jamming the 3 advertising channels 37, 38 and 39 https://github.com/lws803/BLE-jammer and it has been proven to work on an STM32 + 3x NRF24l01 transceivers. Can the hackRF switch between these 3 frequencies fast enough to produce a consistent jamming effect? Dis...
While calculating FFT(Fast Fourier Transform) of real data, to generate the frequencies I am using the formula: (Index*samplingFrequency)/InputDataLength What doubt I have is, in the above formula to generate frequencies should the index start from 0 or one. As, I know that the last frequency of the plot in general i...
**FIND UPDATES BELOW THE ORIGINAL QUESTION TEXT: I am trying to lowpass filter electrophysiological data and I see ringing near sharp transients at signal start and end. Ringing at start: Ringing at sharp transients: I am simply using Matlab's default lowpass filter: fpass=1000; f_sampling=20000; fil_X=lowpass(X,fpas...
While Analyzing the DFT Plot for a signal with N samples, say we find a peak in the magnitude of the DFT plot at index $k$, this implies that our signal has a high amount of similarity with an exponential phasor rotating at $\omega = (2\pi/N)k$ or equivalently a period of $N/k$ samples. But since we are in discrete tim...
Given a continuous-time impulse response $h(t)$, bandlimited to $B$. The discrete-time $h[n]=h(n/(2B))$ is then a unique and perfect representation of $h(t)$ and a discrete-time system $h[n]$ is then a perfect representation of $h(t)$ (impulse variance). However, $h[n]$ generally requires infinitely many terms. I am lo...
What specifically is PCM? I've seen it refer to: the sampling and quantisation of an analogue domain signal into digital samples those sample quantisations alone in the digital domain i.e. in memory or storage i.e. .pcm files the transmission of quantisations or indeed any bitstream as a digital signal with a digita...
I am dealing with a customized processor that has a processing latency of one sample (20.8 microseconds) at 48kHz Sampling rate . What I would like to know is ...does this latency of one sample have any effect on audio application in any way .. If yes I would like to reproduce this and see for a real time scenario.
I am working on to remove non linear tuning of laser . I am using resampling technique based on triggering technique . Firstly, I make collect a vector of maxima and minima from Tigger sine wave of frequency F1. Then I reconstruct signal sine wave (of frequency F2) with the maxima and minima vector from the trigger. FF...
Suppose you have a continuous-time (CT) system $h_c(t)$, bandlimited to $B$. Your goal is to represent the system as a discrete-time (DT) system $h[n]$, sampled at $f_s \leq 2 B$. Clearly $h[n]$ won't be a faithful representation of $h_c(t)$ because we do not satisfy the sampling theorem. But I am interested in the exa...
I am working on a detection problem which finally, I have to solve the following 2-D integral: $$\int\limits_{a}^{b} \int\limits_{c}^{d}e^{A\sin(x)\cos(y-B)}\, \mathrm{d}x \, \mathrm{d}y \ ,$$ where $a,b,c,d$ ,$A$ and $B$ are constants. Does anyone can help me with the analytical solution for this integral?
If I demodulate an input signal at a frequency and receive its I and Y (in-phase and out of phase) values; I can also take the R value by finding the absolute of I and Y. But what I'm confused is the application of FFT of a complex time signal (I and Y in this case) vs. FFT of a real value (R). I understand both result...
I'm trying to plot some sine waves (code example in plain js here). When freq is "low" (freq = 10 hz in that case), the plot is quite nice: The problem is when I increase the freq (try to set var freq = 50 for example): lots of ripples, it becomes distorted and not so good as plot. If I increment it more, even worse ...
I'm using Python to filter a signal using a Butterworth filter (scipy.signal.butter) and subsequently passing this through a forward-backward filter with cascaded second order sections (scipy.signal.sosfiltfilt). Obviously, this introduces a group delay which I don't like. I was told to use just the scipy.signal.filtfi...
I am detecting a contour of a smooth metal. I do binarization first then use openCV contour function. But sometimes the metal has defects such as dots or dusts at edge. This leads a unsmooth edge. Is there any way I can detect these defects with openCV function or some math calculation? This is the contour result. Thi...
I have the problem below and need to solve it using Matlab. I not a big expert in Matlab and just don't know how to implement it. Basically, it says that \begin{equation} R\:=\:\left[X\left(n\right)X^T\left(n\right)\right] \end{equation} but just don't know how to do that in Matlab. I searched a lot on the internet, an...
I am collecting acceleration, gyroscope and magnetometer data in all 3 directions. I would like to filter noise from the accelerometer using a Kalman filter. I am not trying to esimate orientatoin or position etc., I just really want to filter the acceleration signals. How should I design this filter?
I have a Ph.D. in pure math (interested in Harmonic analysis and operator theory). I am looking forward some proper references to lead me get the foundation of discrete/signal processing more and more. Actually, I had a review of the Heppenheim's books (both signal and digital ones) and (rather) got what he is say...
BRISQUE compares your image with a pre-learned model with opinion scores. I am not sure about this but would image resolution affect the result of BRISQUE? Moreover, if I have 2 filters and I would like to compare the results of using either filter to get the better result, can I use BRISQUE to quantify the better filt...
I'm trying to load an image from the disk and then to extract just the red channel of it and display it in grayscale with grey colormap but I don't know what I'm doing wrong.. The image should be displayed as an rgb color, but if I'm using convert_colorspace it doesn't work.. This is my code: # Import skimage and matpl...
The timing involved in this problem is a little hard to explain, so I'll start with my specifics: I'm developing a program that visualizes output (a bounding box) from a computer vision model on top of a live camera feed. I want to animate the display at 60 FPS, but the model only provides output at 5-6 FPS. In other w...
Suppose we take a reading of a single rotating axis using 2 identical sensors. Intuitively, I think that averaging the outputs of both sensors will yield a less noisy result. But what if sensor A has a defect that makes it much noisier than sensor B. Will it still be wise to use the averaged data? Or will it be better ...
I am trying to extract features from a very low frequency signal of $0.1$ HZ and less than $100$ samples. Is it advisable to use FFT and DWT on this signal?
Goal: Given two videos that are episodes from series but in different format (one Bluray/one TV for example), map the time differences between the two (which scenes are not in one of the two) and be able to compensate for some subtitles lags between version. Current state: I've began something thanks to this question (...
I'm trying to understand a variant of the filter presented in http://www.stockspotter.com/files/PredictiveIndicators.pdf in the "Code Listing 1.". Its expression is given as follow: $$y_n = c_0 x_n + c_1 y_{n-1} + c_{2} y_{n-2}$$ with: \begin{align} c_0&=(1-c_1-c_2) \\ c_1&=2 a \cos\left(2\frac{\pi\sqrt{2}}{T_s}\righ...
In the last few years, there have been many breakthroughs in the image processing world regarding repairing "damaged" images, images with corrupt pixels, or even reversing artefacts from formats such as JPEG, which have received media attention. I am trying to determine if these methodologies can similarly be used to p...
I have a filter response in the $z$-domain. $$H_0(z) = 2 + 6z^{−1} + z^{−2} + 5z^{−3} + z^{−5}$$ How do I implement this filter on MATLAB? I can do this if I have the coefficients but I do not know how to get them.
I am trying to understand how the output behaves when the input and the system function do not have a common region of convergence (ROC) for an LSI system. Consider an LSI system with $x[n]$, $h[n]$, $y[n]$ as input, impulse response, output signal respectively: We know that \begin{gather} Y(z) = X(z)\cdot H(z)\\[5pt] ...
I am a newcomer in signal processing. I saw that the $L^2$-norm of a signal is also applied as its energy! How is this concept illustrated for those ones who are working in pure math.
As I understand it, I/Q data is the complex representation of any waveform. It enables us to understand two things at any arbitrary point in time: The projected amplitude of the waveform. The direction of the waveform. However, it's still unclear to me what makes I/Q data so special. Logically, I can discern the dire...
https://faculty.engineering.ucdavis.edu/gardner/wp-content/uploads/sites/146/2014/05/Cyclostationarity_Half_a_century_of_research.pdf According to the paper above (page 654~655), a CT wide sense cyclostationary signal can be expressed in terms of jointly wide-sense stationary signals with non-overlapping spectral bands...
I want to mix two square waves of different frequencies together - I'm driving a speaker, and I'd like to play two frequencies at once on it (to whatever extent that is possible). I would just add the two signals together, but then the output signal needs to be capable of three voltage levels (if the original signals c...
A discrete Fourier transform will produce frequency samples sufficient to recreate the original time sampled signal from sinusoidal waveforms. That works great as long as the original signal is actually composed of sinusoidal waveforms. Let's assume that we know a signal is composed of non-sinusoidal waveforms, under w...
I am trying to create a chirp signal in the frequency domain, by simply setting the magnitudes of each frequency bin to one, and then setting the phase delay function such that the resulting time delay increases for each frequency bin. I am trying to calculate the length of the resulting chirp from the phase delay func...
I was using MATLAB for approximating FTs. Why DFT is used if we can approximate the transform-integration using summation.
I am working on this problem: Given an impulse response, find the system function, find the difference equation representation, find pole-zero plot, find output $y[n]$ if the input is $x[n] = 0.25^n * u[n]$ Here is what I have so far (MATLAB code) Find H(z) $$H(z) = \frac{5}{1 - 0.25z^{-1}}\quad,\qquad|z| > 0.25$$ ...
I was wondering does anyone know any programming library or a way that can help me implement this algorithm.
The system described by a logarithm of any base, let's call it $y(t) = \ln(t)$, is non-linear. Is it possible, by any means (transforms, operators etc.), and for small values of $t$ (for example, $t>0$ and $t\leq 0.5$), to obtain a linear approximation of the system (in such $y(t_1+t_2) = y(t_1)+y(t_2)$) with an accep...
I am learning about SIFT detection and descriptor. I am slightly unsure about why a Gaussian pyramid is built for the image. I do understand that within each octave, we are applying the Difference of Gaussian filter at different scales to the image and finding for each pixel location, whether it is a local maxima. We ...
I am struggling to derive a parallelized polyphase decimation FIR filter structure. I wonder if anyone can point me to some references? Normally a polyphase decimation FIR filter's decimation factor (denoted $M$) equal to number of decomposed shorter filters (denoted $K$). When $K=M$ the solution is a typical polyphase...
Given correspondences of $(x,x')$, we want to find a Homography matrix $H$ that maps $x' = Hx$. If we use 4 corresponding non - collinear points and the matrix $H$ has rank $n-1$, then the homogenous equation $Ah =0$ has a unique solution up to a constant. Suppose we find more than $4$ corresponding pairs of points, we...
I am trying to learn about KL Transform. I found this code. I am struggling to understand how does [v{m},d{m}]=eig(img_covariance); differ from [v2,d2]=eig(img_covariance);, The former returns two matrices of eigenvectors, from which the second (v{2}) is equal to v2. But what is the first one (v{1})? edit [v{m},d{m}]=...
I need help in understanding the frequency spectrum of a sine wave with phase noise that has been hard limited. Background: Typically, textbooks define phase noise for a sinewave, however in many applications, like in the case of a mixer, this sine wave is hard-limited. I am using a simple signum function to convert t...
Let $u_1$ be a random noise in $\mathbb R$. The PSD of $u_1$ is constant in the interval $[f_{1,1}; f_{1,2}]$ and is noted $p_1$. Let $u_2$ be a random noise in $\mathbb R$. The PSD of $u_2$ is constant in the interval $[f_{2,1}; f_{2,2}]$ and is noted $p_2$. The intervals $[f_{1,1}; f_{1,2}]$ and $[f_{2,1}; f_{2,2}]$ ...
I am in discussion with one of my colleague that he says changing sign of the exponent in Bluestein's algorithm for Chirp-Z transformation, transforms the spectrum from frequency to time domain? I am sort of confused, since they have invented ICZT very recently and it works in a different way.
Is the given input signal x[n] an energy or power signal? The image shows what I did so far. Is it correct? Thank you! EDIT: I solved it again, please tell me if I did it correctly this time. $$E= \lim\limits_{n \to \infty}\sum_{n=-N}^N = |4^nu[n]|$$ $$E= \lim\limits_{n \to \infty}\frac{1-4^{2(N+1)}}{1-4^2}$$ $$E=\inf...
I'm trying to familiarise myself with the concept of modulation spectra that I met in this work. My main question appears in the title: how does the modulation frequency appear in the modulation spectra? Calculation It is clear that the modulation spectra is the power spectrum of the magnitude spectrogram of the STFT, ...
Consider the signals $e(t)$ and $h(t)$ with units $\left[\frac{V}{m}\right]$ and $\left[\frac{A}{m}\right]$ and their Fourier transforms $E(\omega)$ and $H(\omega)$ with units $\left[\frac{Vs}{m}\right]$ and $\left[\frac{As}{m}\right]$. The time avaverage P of the product of the two signals (~power spectral density), $...
This is a basic figure that explains how Non-Coherent FSK actually works. The incoming signal $ r (t)=\sqrt{2 P}{Cos}(2 \pi t (\text{fc}+\text{fi})+\text{n(t)}$ where P denotes the signal power in Watts, $T$ denotes the symbol time in seconds, $f$, $i$ $s$ the carrier frequency in Hz, Also, n(t) denotes the AWGN with...
Let's say I have 2 sequences a and b in the time domain. Both are length N. A and B are the DFT of a and b. If I do a circular convolution of A and B in freq domain (A o B), then the IDFT of the result will be a x b in the time domain. Correct? Now what happens if I do linear convolution of A and B in the freq domain, ...
Consider the discrete-time time-invariant system with input $x[n]$ and output $y[n]$ satisfying $$y[n] = \sum_{k=1}^5{x[n-k]}$$ Consider approximating the desired system with a second-order IIR system with system function $$H^{'}(z)= \frac{1}{1+a_1z^{-1}+a_2z^{-2}}$$ Use the following error criterion: where $h_d$ is t...
I am having difficulties implementing state-space filters in (32-bit) fixed-point. This is because the coefficients have a huge dynamic range, for example (MATLAB code): A = [0.989923894 -116924.375; 4.34027786e-10 1]; B = [1; 0]; C = [0.010076086 1]; D = 0; When converted to biquad sections: [sos, gain] = ss2sos(A,B,...
Wiki writes iCWT as $$ f(t) = C_{\psi}^{-1} \int_{-\infty}^{\infty} \int_{-\infty}^{\infty} W_f(a,b) \frac{1}{|a|^{1/2}} \tilde\psi \left(\frac{t - b}{a}\right) db \frac{da}{a^2}, \tag{1} $$ where $\tilde\psi$ is the dual wavelet of $\psi$ in CWT, $W_f$ is the CWT of $f$, and $C_\psi$ is the admissible constant $$ C_\p...
I've read from the book "Proakis, J. G., & Manolakis, D. G. (2004). Digital signal processing. PHI Publication: New Delhi, India." Chapter 12 that the number of FFTs required for estimating the PSD from Welch method with 50% overlap is $2N/M$ where $N$ is the amount of data that you have from the signal, $M$ the size o...
Hi I'm trying to solve the problem when studying for an upcoming test. The given solution is $$y[n]= \frac{1}{b-a}(b^{n+1}-a^{n+1}) \quad \text{for } n\ge0 \ .$$ However, I'm not sure how to reach this point. We have to also verify using the z-transform. Any help would be appreciated so much.
I am an experimental physicist who is collecting a series of coherent imaging of trapped gas. If you are familiar with phase contrast imaging, you may understand what I mean by coherent imaging. The information about the sample is retrieved as interference between a phase-shifted version illumination and light scattere...
I build a flowgraph in gnuradio, generated python code, change a little and run it using python. My question is, does building the flowgraph in cpp will provide better results (time)? (in other words does GIL and other stuff that make python slower also infect here?)(and if not i would like to read why)
Consider a bandpass signal $s(t)$ with bandwidth $W$. After bandpass filtering, let the output signal be $r(t)=s(t)+n(t)$ I have read a paper that denotes $n(t)$ as Gaussian noise with one-sided power spectral density $N_0$. Therefore, the noise power is $\sigma^2=\mathbb{E}\{n^2(t)\}=N_0W$. What would be the purpose o...