instruction
stringlengths
31
27k
I need to create a bandpass filter amplifier in python; and determine the transfer function, graph the bode diagram, and print the highcut frequency, lowcut frequency, the bode constant and the transfer function. So far, I've been able to create a bandpass filter, graph the bode diagram and print the transfer fuction, ...
I am trying to get a clear understanding of how compressed sensing works. A continuous signal $x(t)$ is under-sampled (less samples are collected than the numbers required by the Nyquist theorem). The signal is sampled using a random matrix $\Psi$: $$y= \Psi x$$ where $\Psi$ is a random matrix (measurement matrix). The...
We want to design dsp kit Labs for our undergraduate students for following tasks/topics. 1)Sampling and Quantization of real time Audio Signals on DSP Kit ; analyze the effect of Aliasing and Quantization Noise 2)FFT Algorithm with Radix-2 implementation on DSP Kit 3)FIR and IIR filters implementation on DSP Kit TMS32...
My objective is to detect all kinds of seasonalities and their time periods that are present in a timeseries waveform. I'm currently using the following dataset: https://www.kaggle.com/rakannimer/air-passengers At the moment, I've tried the following approaches: 1) Use of FFT: import pandas as pd import numpy as np fro...
I came across this here. Assuming that this is a true statement and not an experts' small joke, what makes circuits with digits (say with 0,1 bit machine codes) "analog"?
I have a signal sampled from $\mathbb{R}^2$ at a frequency of $2\text{Hz}$. It is quantized from $\mathbb{R}^2$ to $\mathbb{N}^2$, seemingly using the round operator. How can I estimate the error variance from this setup ? I've found models for univariate signals but they don't factor in the sampling error, and I'm not...
How to find inverse Fourier transform of: $ X(j\omega) = \frac{cos(3\omega) \cdot cos(\omega)}{\omega^2} $ The answer to this question is: $ x(t) = \frac{1}{2} y(t + 1) + \frac{1}{2} y(t - 1) $ where $ y(t) = \frac{6 + t}{2} ; -6 < t < 0 $ $ y(t) = 3 ; t = 0 $ $ y(t) = \frac{6 - t}{2} ; 0 < t < 6 $ How can we solve suc...
I was trying to model the CFO (Carrier Frequency Offset) estimation in MATLAB. The Frame I was working on is of the following structure, yellow being the information data. How CFO was introduced? CFO of deltaF was introduced by up converting (baseband to passband) the frame to Fc+deltaF and then down converting (pas...
i was able to show that it is not linear but for time-invariant I am not sure. $y(t) = (x(t))^2$ Let $y(t)$ be the output corresponding to the input $x(t).$ Let $x_T(t) = (x(t-T))^2.$ Then the output $y_T(t)$ corresponding to the input $x_T(t)$ is $y_T(t) = (x_T(t-T))^2 = (x(t-T))^2 = y(t-T)$ -> time-invariant Thanks f...
I'm trying to acquire a better understanding of the heuristics behind power spectral density (PSD). In particular, for a very simple function, is it possible to determine the peak PSD values from graphical inspection? Here's a simple Python example, where my signal is a linear combination of two sine functions having f...
One of the implementation of Bluestein algorithm as show in the below link Bluestein's Algorithm [conj(W), zeros(1, L-2*N+1), conj(W(N:-1:2)) ] padding the zeros at the middle of the sequence, eventually gave the correct results. But padding zeros just at the end does not give the correct results. Question: When to pa...
I am trying to calculate the instantaneous power of a 1-d signal within a particular frequency band in an on-line, real-time, streaming application. I have tried using sliding window FFTs but these require computing an average power over a window rather than the instantaneous power at each incoming sample. Wavelet tran...
I implemented the Hampel Filter (see here) for outlier removal, however I noticed in instances when the data in the sliding window is stationary and its standard deviation is very low, the filter will think even the tiniest deviation is an outlier. For example, if we have sliding window equal to 7 (three values on each...
Given LCCDE system. Is it possible to calculate the frequency response using Fourier transform?
The OFDM symbol duration is equal to FFT size (number of subcarriers) and guard interval according to some textbooks. However, in some research papers they mention that they implemented (using matlab) the symbol duration to be equal for example 12 µs, which is equal to 1/delta_f. The first scenario can be implemented e...
For purposes of understanding the process - not for any practical purpose for which I could use imresize - I wanted to show that 2x upsampling followed by convolution with an appropriate kernel (presumably the 2d equivalent of a "triangle") is equivalent to imresize(x,scalingFactor,'bilinear'), However I cannot do it p...
I know that the usual way to perform rotation of an image is to compute the new pixel coordinates by multiplying with a rotation matrix $ \begin{pmatrix}x_{rot} \\ y_{rot} \end{pmatrix} = \begin{pmatrix} cos(a) & -sin(a)\\ sin(a) & cos(a)\end{pmatrix} \begin{pmatrix}x \\ y \end{pmatrix}$ and then, lets say for exampl...
It is quite easy to solve when the denominator of the frequency response has no imaginary values..... But I do I solve something like this? $$H(\omega)=\frac{1+2e^{-2j\omega}}{1-\frac{1}{15}e^{-j\omega}+\frac{1}{5}e^{-2j\omega}}$$
I work on a GMSK modulation and trying to understand the concept of the Laurent decompositon of GMSK signal. My main reference is Pierre Laurent, "Exact and Approximate Construction of Digital Phase Modulations by Superposition of Amplitude Modulated Pulses", IEEE Transactions of Communications, Vol. 34, No. 2, Feb 19...
I'm currently reading this article and trying hard to understand it. According to the article, DFT is as follows: $$ X_k=\sum_{n=0}^{N-1}x_ne^{-\frac{2\pi i}{N}nk} \\\text{where k is integer and its range is [0, N-1]} $$ And here is where my first curiosity arises. According to the sampling theorem, we can only see as ...
You might have noticed ,as shown highlighted in attached snap, whatsapp voice notes are bearing a discrete time plot Is it exactly referring to sampled(discrete time)version of waveform of actual audio signal ?
For any sequence zero-padding in one domain will result in interpolation in another domain and depending on center-padding or padding to right in one domain will either preserver or distort the phase in another domain and this is now very clear from this discussion zero-padding Problem: Zero-padding in convolution (fas...
I would like to detect oscillations in a signal $s$ and determine the nature of the oscillations, i.e. whether they are high-frequency oscillations or not. Edit : An example of $s$ is given below : As you can see, the signal $s$ has no oscillations for the most range of time. But, at the end, the oscillations appear ...
Suppose I have 2 seconds of data sampled at 1000 Hz., and two sinusoids differing only in amplitude and phase shift: import numpy as np from matplotlib import pyplot as plt from scipy.signal import csd,periodogram t = np.arange(0, 2, 0.001); x = np.sin(2*np.pi*200*t) y = 3*np.sin(2*np.pi*200*(t-np.pi/2)) fig,ax = plt....
\begin{equation} X(\Omega) = \frac{ 1}{T_s} \sum ^{\infty}_{k=-\infty} X_a\left \lbrace \frac{\Omega /( 2 \pi) - k}{T_s}\right \rbrace \end{equation} What is the purpose of multiplying sampled spectrum by sampling frequency ($ \frac{ 1}{T_s} $). Is it for making the equation dimensionally correct Or the purpose is...
As I understand it, pitch-shifting (without changing speed) and time-scaling (without changing pitch) are two sides of the same coin, because if we can do one we can get the other through resampling and changing the playback speed of samples. But when I think about it, I don't really understand what it means to pitch s...
I have a data_stream that I'm attempting to filter using two on-line butterworth bandpass filters to extract two frequency bands of interest. The original data_stream looks like this: mean: -3.9 max: 1257.0 min: -504 std: 171.9 I then filter this signal for two different frequency bands of interest [0.04-0.149hz] and...
I'm reading a paper from Lund University. They show the measurement and compare the accuracy of 3 types of arrays. The interest and question I got are two types, 4x4 URA and 12 elements square-shaped. The 12 elements square-shaped have similar antennas alignment to 4x4 URA but have no middle antennas. 4x4 URA is easy t...
I want to find 3d dimensions of an object in an image. With mobile phone camera and using the code here I can compute dimensions of an object within an image using a reference object. Following are the challenges I simply can't get 3d dimensions. Objects within objects detected and are not required. If someone has ex...
Given are two cosines according to the following formula $x_i(t) = cos(2\pi f_i t)$ with $f_1 = 1Hz$ , $f_2 = 2Hz$ and $f_3 = 3Hz$ . The two cosines are delayed by $\tau=0.1s$ to yield $y_i(t) = cos(2\pi f_i(t-0.1s))$. This corresponds to a phase shift and the delayed cosines can also be written as $y_i(t) = cos(2\pi f...
I have a signal recorded at 2MHz sampling rate. Before any decimation might be required, I first looked for peaks in my periodic recorded signal using STFT/spectrogram. From here, I can clearly see some peaks. Using PSD I could find that the frequencies were not prominent after ~500kHz so I apply the Butterworth filter...
I'm trying to decompose some signal to even and odd components, here's the Python code of it: import numpy as np t = np.linspace(0,1,64) f = 2e6 test_signal = [] for i in range(len(t)): test_signal.append(np.sin(2*np.pi*f*t)[i]+i*0.05) plt.plot(t, test_signal) which outputs the original signal: but if I try to...
I have the following system: $$y\left(t\right)=\int _{t^3-1}^{t^3}x\left(s\right)ds\:$$ I was told to determine if it's invertible system, casual system, memoryless system and linear system. I was able to tell that the system is linear, not memoryless and not casual. However I have no clue how to determine if it's inv...
In the survey article of particle filter A Tutorial on Particle Filtering and Smoothing: Fifteen years later, the equation (39) are $$ \begin{aligned} \pi_{n}\left(x_{n} \mid x_{1: n-1}\right) &=p\left(x_{n} \mid y_{n}, x_{n-1}\right) \\ &=\frac{g\left(y_{n} \mid x_{n}\right) f\left(x_{n} \mid x_{n-1}\right)}{p\left(y_...
Recently I obtained some measurements using a consumer grade ECG device (wearable, thus designed for low power consumption). The device is claimed to have a dynamic range of 10 mV (peak to valley), and to have a bit depth of 16 for coding data. However when looking at the data, the distribution is somewhat strange. E.g...
I am applying a low pass filter to my signal and I should make sure the transfer function of my filter is one. How can I normalize my filter? I am learning about filters and I appreciate any help. %lowpass filter sig = MY SIGNAL; sig_length = 5000001; % my signal length fs = 10000e9 ...
$\DeclareMathOperator{\sinc}{sinc}$ I have questions regarding the Fourier transform of the product of functions or distributions and the range of application of the convolution theorem. Context When measuring a signal $x$, measurements are made at a certain frequency $f_s=\frac{1}{T_s}$ over a certain period $L$. The ...
I've several sensors positioned at various points in the $X$,$Y$-Cartesian coordinate system, and I've experienced a problem to inject a planar Sine wave to the spatially positioned sensors, the sensor position has known to me and I provide the sensor position as follows: x = [2.1, 2.1, -0.7, -2.1, -2.1, -0.7, -0.7, 0....
I was studying about keyword detection and while doing some reading, I read we take 1 sec audio signal. We then divide it into 25msec sub sections with and overlap of 10msec. We apply mel filter bank and have 26 filter outputs. Now we color code them to create spectrogram. The number of rows in spectrogram are 26 and t...
My lecturer talked about transformation concatenation and he mentioned the "Drift" problem and that "bundle adjustment" may solve it. Since I could not find any information on it online, I have the following questions regarding it: What is the proper definition of "Drift" and how this "error" occurs? How "bundle adjus...
This question is related to one posted a couple years ago at (Why the spectral coherence is unity for all frequencies between single-frequency time series and itself). Suppose two signals have common frequency, $\omega_0$, and a fixed phase difference, $\phi_0$: $$x(t)=\sin(2\pi \omega_0 t)$$ $$y(t)=\sin(2\pi \omega_0(...
Continuing the discussion from Convolution kernel in Bluestein's algorithm it has a very specific signature of the kernel [conj(W), zeros(1, L-2*N+1), conj( W(N:-1:2) )]; for the fast-convolution. There W is the chirp specific to Bluestein's algorithm If not W would such a signature applicable for any general data? I p...
How to compute the inverse Z-transform of the form $$ G(z)=\frac{z^{2n}}{a(z^{2n})+b(z^n)+c} $$ I started by taking $$ F(z^n)=G(z) $$ so $$ \frac{F(z)}{z}=\frac{z}{az^2+bz+c}$$ This can be solved using the residue function in matlab, and it gives me the f(n) function. How do I get $g(n)$ from this?
I am analyzing a signal where I want to extract the peaks based on a threshold. My problem here is that there are some noise artifacts very high that are messing with my signal. I want to remove them but I don't know which is the best way to do so. Any suggestions or recommendations to avoid those peaks?
I know there are similar topics but I can not find any solution in my situation. I have an accelerometer sensor and a basic microcontroller. Accelerometer data is collected in an array via i2C. I want to evaluate collected data within 700 mseconds windows. For example, there is a raw signal below: Then I apply median ...
I am new in matlab.I was given the code for spectrum of rectangular pulse of amplitude 1V and duration 1ms, and now I have to find the spectrum of a triangular pulse of amplitude 1V and duration 1ms in MATLAB using FFT. How would that code look like? ~~~ fs=10000; step=1/fs; N=5000; t=0:step:(N*step); z(1:10)=1; % amp...
I am trying to implement the paper Qi Shan, Zhaorong Li, Jiaya Jia, Chi-Keung Tang - Fast Image/Video Upsampling and need some help with implementing minimizing an energy function (7) shown below. Here is a summary: Image degradation process from H (high resolution) to L (low resolution) is: $$ \tilde{H} = f \otimes H,...
In cochlear implants, the input signal is fed to a set of bandpass filters and is then half-wave rectified and low pass filtered to estimate the envelope signal. What is the need for doing rectification? Can't we directly take the output of the band pass filter and pass it through a LPF and use that data to stimulate ...
How fine should you sample in time (and what should the range be) when calculating a spectrum based on some relaxation times ("modes" in physics, not sure about signal processing). I have some relaxation times $\tau$ that span several orders of magnitude and want to generate the function $f(t) = \sum \exp(-t/\tau)$. Is...
That an action is “idempotent” means if you do it several times, the effect is the same as if you do only once. Lossy audio compression by definition loses information. Even if you convert it back to a WAV file, there will be differences from the original. However, what if you convert a WAV to MP3 and back, and then re...
How does the total transmit power affects the number of subcarriers? For example, if we have 624 subcarrier, can we use the same maximum power (for example the budget is 64 watts) as we will when we have 128 subcarriers? Specifically how does the available power impacts the subcarrier in ofdm?
Following this reasoning (link on ee.se) I'm trying to derive the transfer function for a Thiran filter, but I get stuck. I know of the original paper, I just thought I'd go this way. This is what I'm doing: Construct the symbolic transfer function (2nd order, for simplicity) with unity numerator, which will result in...
In transmitter I send the data 1 sample per bit, then received in Rx passing by ADC then FFE adaptive filter and then a slicer to return the samples in bits and calculate the BER and it works well When I try to make multi-path each path contains ADC and FFE adaptive filter it fails, as I make a functions named as FFE a...
The difference equation of the differentiator used in pan-tompkins algorithm is as follows : ( a five-point derivative) $$ y \left( n T \right) = \frac{1}{8} T \left[-x \left(nT - 2 T \right) - 2x \left(nT - T \right)+ 2x \left(nT + T \right) + x \left(nT + 2T \right) \right]$$ Can someone explain to me from where they...
I captured a signal on 433 MHz but I'm not able to build a functioning decoder for it. Is the transmitter using FSK to modulate the signal? Sample: https://ufile.io/w9vismfu (250k, unsigned 8-bit IQ)
I am recording a signal from a vibration sensor with a frequency response that stops at about 7kHz, but linear up to 1kHz. I am thus recording data from it using an Arduino at 2kHz, so that signals up to 1kHz can be accurately represented. I do not know exactly which frequency signal I am looking for, as the idea is to...
I've been trying to figure out the result for the entropy loss/entropy gain in linear systems derived in "The Mathematical Theory of Communication" by Claude Shannon. Claude Shannon states that If an ensemble having an entropy $H_{1}$ per degree of freedom in band $W$ is passed through a filter with characteristic $Y(...
Amplitude modulated signal is represented by $$ x(t) = (E_c + E_m \cdot \cos(2\pi f_m t)) \cdot \cos(2\pi f_c t). $$ At t=0, we have max. amplitude i.e, Ec + Em. Since the envelope is periodic, I expected Ec+Em amplitude to repeat. But clearly from the equation the cosine is 1 (carrier) only when $t = \frac{(4n+1)pi}{4...
From this formula, I thought that time constant (m or tau) is the variable sweeping from -infinity to infinity. But in this visualisation https://lpsa.swarthmore.edu/Convolution/CI.html, it is t the variable that sweeps. Although convolution makes sense this way but how come the notation is so confusing?
In the process of applying a lowpass Bessel filter to my signal, I realized that besself function does not support the design of digital Bessel filters and the bilinear function can be used to convert an analog filter into a digital form, except for Bessel filters. The digital equivalent for Bessel filters is the Thira...
I consider an array: import numpy as np from scipy.fft import fft from scipy.signal import hilbert a=np.random.rand(5) First I manually compute the fourier spectrum of the analytic signal,i.e. by zeroing the negative frequency terms and doubling the positive frequency terms: a_spec_manual = fft(a) a_spec_manual[1:len...
I'm working on a spectral processing plugin that's predicated on allowing the user to manipulate per-bin values in an STFT algorithm. I normalize the bin amplitudes by diving them by $N$ (number of samples used in the DFT), but the resulting numbers often inhabit a range that is difficult to work with directly, e.g. it...
I am a physics graduate student working on a data compression problem. I have been reading Prof. Steven L. Brunton's book on data driven science and engineering. I am fascinated to the concept of sparsity of images/signals. Prof. Brunton claims that images/signals are compressible in the sense that it will be sparse if...
I'm using the pyMannKendall package in Python to detect the presence of slope of any given waveform. More details of the package here: https://github.com/mmhs013/pyMannKendall I'm not exactly able to understand what do some of its output parameters listed below signify: z: normalized test statistics Tau: Kendall Tau s:...
While reading about the root locus method, I thought of a question and couldn't seem to answer it. Suppose for a negative feedback system, all the open-loop poles and zeroes and the centroid $\big(\frac{\sum{p_i}-\sum{z_i}}{n-m}\big)$ lie in the LHP (where $n$ is the number of poles ($p_i$) of the system , $m$ is the n...
I work on a constant envelope GMSK modulation. If I use the complex signal ( I + iQ) in conv, it works perfectly and if I want to rewrite it in baseband ; I and Q , it doenst work. Assume cmpl_sig in the code above is an input. I convolve it with gaussian filter: cmpl_sig_f = conv(h_gaus, cmpl_sig, 'full'); cmpl_sig_f...
I'm using MODWT (Maximal Overlap DWT) to extract features from a signal. Matlab implementation is using reconstruction filter instead of decomposition filter. In the first level of modwt decomposition, the output is just a circular convolution between the filter and the signal. For example: Suppose the signal is from 1...
I have created a program in python that can create any generic signal and a time range to display it as shown by the red '--' line below. I then created a way to calculate the phase, amplitude, and wavelength for each frequency in this signal via fft. Then, I create an equation for each frequency based on these amp, ph...
I am trying to understand how the Nyquist-Shannon theorem applies to sampling in the time domain. Suppose I want to sample a function whose time constants I know. From what I understand, the bandwidth is determined by the shortest time constant. After that, I'm shaky. Wikipedia appears to suggest that the Nyquist rate ...
FLAC uses linear predictive coding (LPC) as one of its central compression steps. While it allows for arbitrary LPC coefficients in the "FIR Linear prediction" subframe compression type, there's also the "fixed LPC" type, which consists of five different orders of LPC predictors. Those predictors are lifted straight fr...
As a DSP newbie, I've stumbled into doing band pass filtering (of pre-recorded IQ data) in the frequency domain - which allows brick wall filtering (I'm just setting the IQ values of each consecutive FFT 'batch' outside my frequency band of interest to zero and it seems to work a treat for what I've done so far). Doing...
I got many exercises where I have to determine the response of a system to an input signal The only things i have are the impulse response and the input signal. I was thinking I could use the convolution to get the output, but to proceed that way I should know the system is linear and time invariant, none of which is s...
I have a system described by the following impulse response: $h(t,τ) = g(t-2τ)$ Where $g(t) = e^{-at}u(t)$ I have to determine if the system is linear time invariant causal Then I have to determine the response to the signal $x(t) = rect(\frac{t+1}{2})$ I asked recently something quite similar, if it was possible to ...
I am trying to implement the kalman filter on simulink, for which I need the delay block to compute the new estimate based on the previous one. My state vector is three dimensional, and for some reason simulink fail to specify its dimension. I wrote my intial condition as [0;0;0]. I am not sure, if this is the proper w...
Suppose $f$ and $g$ are real. Why $$ C(\tau)=(f\star g)(\tau) = \int_{-\infty}^{\infty} f(t) g(t + \tau)dt \tag{1} $$ and not $$ C(\tau)=(f\star g)(\tau) = \int_{-\infty}^{\infty} f(t) g(t - \tau)dt\tag{2} $$ where $f=$ input, $g =$ template/pattern to be matched. $(2)$ properties: If $g$ is centered at $t=0$, and $f$...
I am trying to write an OFDM modem. I've already written a QAM modem, which I'm using as a basis for this project. The way I'm doing this currently is by spinning up several QAM modulators, each with a carrier frequency corresponding to a different DFT bin, and adding the waves together. On the decode side, I'm spinnin...
I am new to signal processing. I am using an sos analog Chebychev filter, and I was wondering what would be the result of plotting its frequency response using the sosfreqz function, as it is mentioned that this function works only for digital filters?
I'm using a phototransistor and an optical chopper to measure the angular velocity of a wheel, much like how mechanical mice used to work. The signal looks like a triangle wave with some noise in it, and I'd like to get smooth and fairly low-latency measurements, between 1 and 100 hertz. This is for a user interface, s...
I am working based on Angelo Farinas paper: Simultaneous measurement of impulse response and distortion with a swept-sine technique. The purpose of the work is part of a loudspeaker measurement and analysis system. At present my "measurement" data is generated via a non-linear transducer model, so simulated to include ...
Background: I am using a vibration sensor and arduino to record signals and log them with timestamps, where the signals need to be time accurate so that I can glean information about which frequencies are present. To eliminate aliasing I am connecting a low-pass Butterworth filter between the sensor and arduino. Questi...
I an new to signal processing, working on a UWB radar data this data has a shape of frames for which every frame (list) has 164 values, I want to apply a bandpass filter with cutoff frequency of 1hz and 5hz to filter the noisy data. My filter is not giving the good results as I expected (the filtered data is the reason...
I was reading about linear systems and random processes and I came across this $$h_{k}*h_{-k}*rxx[k].$$ I know what convolution is and its formula. Does the minus sign affect both of the parameters in the convolution or just k: $$h_{k}*h_{-k}$$ Is the multiplication in the summmation equal to any of these? $h[k]h[i-k]...
Is there a word to describe "Contour" works for left but not right. "Phase contour"? Context, above right is real part of a 2D separable Morlet (let's say, left windowed by Gaussian), called "spin down" as its direction of oscillation is down (with increasing x), but it happens to maximize chirp up in wavelet transfor...
I'm working on a discrete updating algorithm as follows: $x[n+1]=Kx[n]$ Here $K$ is a constant. The continuous counterpart of this algorithm translates to: $\dot{x(t)}=Kx(t)$ While the Laplace transform of the continuous one is quite obvious, I'm struggling to find the z-transform of the discrete one. Do I use the dela...
I try to draw the spectral density of a time series in order to compare it with the theoretical one. Please can any one help me to do this. This is the time series of all the data. Thanks Dan Boschen for your response. About "scipy.signal.fftpack as fft" is not worked. import scipy.signal.fftpack as fft ModuleNotFou...
What is the difference between the spectral density and the power spectral density, Or they are the same thing? In fact, I find this term in the book of GODA 2000.
I've got several (4) not-great audio recordings of the same short (a few minutes long) performance, each taken from different microphones. I'd like one high-quality clip of the event. This is... difficult. Likely impossible. I think I'm on a wild goose chase, hopefully there is a pre-existing way to do this? Challe...
I request to please tell me the source through which I can access audio version of UCSD dataset. UCSD is an video anomaly based dataset. Kindly guide me in this respect. Regards,
As I understand, the DFT of a signal $x$ is a representation of this signal in the basis $$ \{ e^{j2\pi kn/N} \}_{k = 0, 1, \dots, N-1}$$ Is it possible to form a base of such discrete complex exponentials but with different frequencies ? ($\{ e^{j2\pi f_i n} \}$) Why did we choose these $\frac{k}{N}$ frequencies ? In ...
To secure a communication, quantum cryptography can be used. The principle is to use an optical channel which allows the emission of photons in 2 simultaneous states and a radio channel which makes it possible to find the encryption key. Here is my question: Why isn't a radio channel used to transmit the encryption key...
Using the following website: on how the Fourier transform works (Interested in the Basic Principle part). I found out that if you have 3 pixels closer in the spatial domain you'll get more spaced fringes in the Fourier domain (frequency domain). How could one explain this ? Also I don't understand why our 3 closer poin...
Given a set of 3D points with their coordinates in 2 different coordinate systems, what is the correct algorithm to use in order to estimate the relative rotation and translation of the coordinate systems. Explored until now : 2D -->2D : basically project those points into some image plane, and perform 8-point algorit...
I am trying to understand filter design. I am trying to implement butterworth filter which would have high,low and bandpass using the difference equation representation for FIR and IIR. Given the low and high cutoff frequency, how can I formulate the coefficients for FIR and IIR filter?
The l1 trend filtering is expressed by taking $||Dx||_1$ where D is the second difference matrix why is taken of size (n-2)xn rather than circulant matrix of size nxn. I have implemented in both ways but there is not much difference in the results
I came across this question recently, and I am very confused by (b)(ii). b(i) gives $x_n$ = [0.5, 0, -0.5, 0]. My approach to (ii) was to recognise that $X_m$ represents the frequency content of the signal at $\omega = \frac{m \omega_0}{N}$, where $N$ is the number of samples (4 in this case) and $\omega_0$ is the sam...
I'm trying to "standardize" the results of the fast Fourier transformation. I've one wav with two peaks (3000 and 3300 Hz) saved with three different encodings(int16, float32, int32). And these are the scipy.fft plots: int16 float32 int32 It's clear enough that, while the peaks are coherent at 3000 and 3300Hz, their...
For one stage discrete wavelet transform (DWT), if we have a signal with 1000 samples occupying the frequency range from zero to 500 Hz, the output of the low-pass filter is a signal with frequency range 0-250 Hz, and the output of the high-pass filter is a signal with frequency range 250-500 Hz. Downsampling is then p...
How do I make the y axis in psuedo-frequency? Wx, scales = ssqueezepy.cwt(sig, wavelet = 'morlet', scales='log-piecewise', nv = 32, t = time_vector) ssqueezepy.imshow(Wx, abs = 1, borders = False)
I'm trying to write symbol timing recovery loop and taking help from "Digital Communications A Discrete-Time Approach" by Miachel Rice. MATLAB communication toolbox has also implemented the same algorithm in comm.SymbolSynchronizer. In both the implementations (given in the book as well as MATLAB's), the samples-per-sy...
I reseach gmsk modulation with linear approximation + laurent decomposition. In the answere to the my previous post, MR Boschen: L is the overlap of successive symbols as L is given in symbol duration. "Full response signaling" is with L=1 and one symbol completes before the next symbol starts. Any L>1 is partial res...