instruction stringlengths 31 27k |
|---|
I have been experimenting a little bit with simple examples of the 2D DFT to get a better sense for it's interpretation.
For this purpose I have been using sinus gratings with the following code:
import matplotlib.pyplot as plt
x = np.arange(-500, 501, 1)
X, Y = np.meshgrid(x, x)
wavelength = 100
angle = np.pi/9
# use... |
For getting a better and more intuitive understanding on how the 2D-DFT works I was playing around with sinus gratings in grayscale. I tried to compute the 1D-FFT first and compare it with the 2D-DFT to get a better sense of my happens.
So I would like to understand how the result of the 1D-DFT can be intrepreted and h... |
I have a signal that contains energy at a fundamental frequency (60 Hz) plus significant energy at harmonics (2nd, 3rd etc up to 15th). The signal is sampled by an ADC at 1920 Hz. I want to construct a digital filter that removes / reduces the harmonics but allows the fundamental and non-harmonic content to pass throug... |
I have three signals of 16bit signed integers. Each signal represents a sine wave of unknown (and variable) frequency / phase in the audible range (20hz-20khz) and the amplitude is anywhere between 0 and +/- i16::MAX.
I'd like to mix these three signals into a single 16bit signal. I am wondering what the effective bitd... |
I am trying to create 10 individual signals with on-off keying modulation format, add them up to have a final signal, and then take a Fourier transform of that signal. I tried to zero padd the final signal before taking fft so that I can correct amplitude for my spectrum based on this link: Amplitude Estimation and Zer... |
The transmitted signal $$x(t) = A_c \cos(2\pi f_c t+\phi),$$
I know mathematical expression of complex envelope and its derivation, but how to find its complex envelope in MATLAB?
Assume that $A_c = 3$, carrier frequency $f_c = 1$ GHz, phase $\phi = 30$ degrees.
Could somebody show me the MATLAB code that generates the... |
I have recorded a square wave with scope(bit, controlling some unit).
I want to measure rise/fall time, the time while the bit is on and off using python. I thought of using the 'derrivetive' np.diff, but the wave is a bit noisy. I wonder if there is some efficient technique to achieve my goal.
Thank you, dear communit... |
I can't figure not find any reference on what is this transformation (what $X$ represents in relation to $A$).
If $A=[a_1+jb_1, a_2+jb_2, a_3+jb_3, ..., a_n+jb_n]$, $X$ is defined as:$$X=\left[j b_1, \frac{(a_2 - a_n) + j(b_2 - b_{n})}{2}, \frac{(a_3 - a_{n-1}) + j(b_3 - b_{n-1})}{2}, ...\right]$$
That is, given $A$, ... |
I am attempting to calculate the spectrum of a pulse that has undergone sum-frequency generation (in this case it is a gaussian, so it is correct to also say frequency doubling/Second harmonic generation). The SHG signal in the frequency domain is given as,
$$E_{SHG}(2\omega) = E_1(\omega)*E_2(\omega)$$
Therefore a sig... |
I am using Web Audio API + extended Karplus-Strong algorithm to generate plucked string sound and play it.
The problem that I face is sometimes there's a weird crackling sound/thump when playing some particular chords, see example here https://demiurg.app/player/MetallicA/Fade-To-Black/?id=117. First 20 or so measures ... |
In MNIST, there are 28x28 images of hand written digits.
What features would one extract in order to classify then without any Deep Learning involved?
How does Dimensionality Reduction get in the processing pipeline?
|
Within this newscast video1 a video conference call is shown. Between 02:23 and 02:37 the face of the interviewee appears to get sucked into a black hole; it starts swirling, there seems to be what looks like the video echo effect one would get pointing a camera at a monitor with the video feed with a delay.
But in thi... |
I am in the early stages of learning DSP and am writing a simple synthesizer.
I want to dabble in oversampling and am following this guide: https://www.nickwritesablog.com/introduction-to-oversampling-for-alias-reduction/
Adding 0’s and then doing an LPF is fine, but why would I then want to down-sample, as it states t... |
I'm doing some research on Fourier Near-field Acoustic Holography (NAH). The basic theory behind Fouerir NAH is that you take a sound pressure field measurement in a 2d plane p(x,y), 2d spatial Fourtier transform the sound pressure field into the wavenumber domain where it's spatial variation of phase is known, multipl... |
Given a stationary process signal with PSD
$$
S_u = \Lambda(f)
$$
How to find the mean, power, and variance of the signal?
I know how to find power given PSD (integrating from -inf to inf over f). But I am unable to determine how to find the mean. Any insight is appreciated.
Edit:
Mean = $E\{x(t)\} = \lim_{T->\infty... |
The classical Nyquist theorem assumes that the sampled signal is obtained by multiplying the signal with dirac-delta functions separated by width 1/f_sample or less. Given such sampling we can reconstruct the signal.
How does the reconstruction process change assuming that we multiply the singal with rectangular pulses... |
For a signal, $s(t)$ undergoing multiple transformations of time scaling, reversal and delay, how should I approach the problem of finding the resultant output signal?
$$s\left(\pm \frac{t-t_0}{T}\right)$$
My approach of the problem was to
First, shift the signal by $t_0$ (moving it right if $t_0>0$ and moving it left... |
I have a Gaussian pulse $E(\omega)$ centered at 500 PHz with a bandwidth of 10 PHz. The pulse is transform limited initially.
I am trying to add chirp, through multiplying the FT of $E(\omega)$ by a quadratic phase factor given as
$$E(t)_{chirp} = E(t)\cdot\text{exp}(-ibt^2)$$
however, the exponential factor never seem... |
I am studying about fast Fourier transform.
Assuming that $x_0$, $x_1, \ldots, x_{n-1}$ are complex numbers, the DFT is defined as follows.
$$f_j = \sum\limits_{k=0}^{n-1} x_k e^{-\frac{2\pi i}{n}jk},\quad j= 0,\ldots, n-1$$
In the definition, $$W = e^{-i2 \pi/n}$$ and reorganize it,
$$f_j = \sum\limits_{k=0}^{n-1} x_k... |
there is a problem that I should specify a real-valued random process $Y[n]$ such that the autocorrelation function $R_Y[k]$ satisfies
$$R_Y[0]=3+u,\ R_Y[1]=R_Y[-1]=-2+u,\ \text{and}\ R_Y[k]=u, |k|>1.$$
First subproblem is to find a feasible set of u with |u|>0. I found region $-\frac{1}{2}\leq u$.
The main problem is ... |
I am learning about lifting schemes, and for my project, it seems as though it would be beneficial to use an undecimated wavelet transform (UWT).
I have found a paper by Lee, Lee, and Yoo (New lifting based structure for undecimated wavelet transform), and in it they provide a polyphase representation of the lifting op... |
I'm using the Correlation Estimator block in GNU Radio before my Symbol Sync block, in order to more quickly and reliably clock the signal.
My problem is that the data is sent as NRZ with data[n] = 1 ^ in[n] ^ in[n-1], and the sync word is on the decoded data, not on the raw signal.
This means that the 01111110 repeati... |
I am looking into wavelet lifting methods first introduced by Swelden, and explained in this paper: Build your own wavelets at home.
In this paper (in chapter 2 specifically), they discuss interpolating subdivision schemes defined in the presence of boundaries, however they do not provide any information regarding how ... |
I have to compare the compression capacity of different transformations on the same signal. The explanations were very brief, but i have to compare some energy thresholds(e.g. 50% of the total energy) in terms of the number of coefficients containing that energy. We were only shown a graph of Spectral Power over normal... |
Given a discrete-time AWGN channel defined by:
$$
Y = X + N
$$
where $N$ is a zero-mean Gaussian RV with $E[N^2] = P_N$ representing additive noise, $X$ is the transmitted symbol with power constraint $E[X^2] \leq P_S$, and $X$ and $N$ are independent.
The mutual information between $X$ and $Y$, denoted $I(X; Y)$, is ... |
To fully understand the Fourier Transform I have been working on a rather standard implementation of the FFT algorithm. I tried generating a 440 Hz sin wave and passing it through the algorithm, however, when plotting the real part of the result, I get a spiky mess, whereas I was expecting two spikes (as from my unders... |
I'm currently working on a project where I have to analyse an interferogram. Instead of doing an FFT on the whole image I'd like to focus only on a small part of it (one fringe) is it possible to define a vector along which I want my FFT to be "done" ? There's also the option where I crop my interferogram but this is w... |
I'd like to analyse the notes being played on a cello C2(65.4Hz) to C6(1046.5Hz) recorded on a PC and thus a likely sampling rate of 44.1kHz. If I can get that to behave then I'd like to be able to deal with the top note of a violin A7(3520Hz).
I understand that the frequency response of most microphones rolls off at 1... |
anyone knows what is bi-spectrum and its usage in signal processing? how can I extract data from bi-spectrum of signal? I want to use bi-spectrum of signals to classify them and I want to knows the concept of it. any one can help me?
|
If we have an audio file and we only change the sample rate (double it), what changes our spectrogram will have (after using the stft)?
|
I have a limited background in DSP but I need to generate a spectrogram of an electrocardiography (ECG). I am using the scipy.signal.spectrogram and I need to set its various parameters
scipy.signal.spectrogram(x, fs=1.0, window=('tukey', 0.25), nperseg=None, noverlap=None, nfft=None, detrend='constant', return_onesid... |
I have just started studying LTV channels in wireless communication.
I know that $y(t) = \int _{-\infty} ^\infty x(t-\tau)h(t,\tau)d\tau$ Is there any way we can calculate the Impulse response $h(t,\tau)$ if we know the input $x(t)$ and output $y(t)$.
Also, can anyone suggest a source to read about the basics of the LT... |
I have two samples which, when exposed to ultrasound, emit their unique frequency responses. As can be seen in the attached figure, where the exciting frequency is 2.25 MHz, sample 1 emits a strong subharmonic and also ultra-harmonics which is not the case for sample 2.
My 1st question is, if I want to classify sample... |
I have a question regarding BPSK. If we want to modulate the bit stream $[0, 0]$ with $T_\text{ bit}=0.25 \text{ sec}$ and the carrier frequency of the cosine that carries the BPSK signal is $2\ \rm Hz$ then the resulting waveform would be the one with the discontinuity or would the signal continue as it is until it re... |
I've decided to build up an AM receiver which is intended to capture sound signals from a nearby broadcasting station that is operating at 954 kHz. I've completed the system design and started to test one of the first segments of the receiver which is downconverting the arrived signal of concern into the IF frequency o... |
There is a random process, $X:\mathbb{Z}\rightarrow\mathbb{R}$ in discrete-time domain, which is wide-sense stationary with zero mean and autocorrelation function $R_X(\tau)$.
a) What range of values can $R_X(1)$ take?
For this, using the relationship $|R_X(\tau)|\leq R_X(0)$, I derived $-1\leq a \leq 1$.
b) If $R_X(0)... |
Say I have a file that contains a single musical instrument, how can I use python code to detect which instrument is it (ultimate goal), or at least what is the category of instruments it belongs to (such as wind instruments)?
What are the steps I should follow?
|
I am generating a random sequence binary 0 and 1 to have a signal.
Nbit = 20;
R = 20; % Bit rate
Tr = 1/R; % bit period (ns)
x = randi([0,1],1,Nbit); % Binary signal
N = length(x);
t = Tr:Tr:N*(Tr); % Time base (ns)
Then, I found that t... |
Say I have a file that contains a few musical instruments, how can Identify the name of each one (ultimate goal) or at least the category they belong to, like wind instruments?
For example, if I load a music file that contains guitar, piano, and bass, I want the output to be "Guitar, piano, bass", or at least the name ... |
I understand that a time shift in the time domain produces a corresponding phase change / phase shift in the frequency domain. But I don't understand why the magnitude is unchanged (I am referring to the time shift property here). I am thinking of the following example:
Consider An Aperiodic signal, now we observe this... |
this was the question on my today's exam on signals and systems:
*We have a continuous function $f(t)$.
Its value of the spectral function at an angular frequency of $8000\pi\ rad/s$ is $\frac{1}{32000}e^{j\frac{\pi}{4}}$.
Afterwards, the same signal is sampled at sampling frequency $64000\pi\ rad/s$. Aliasing did not ... |
Let random process $X$ is wide-sense stationary process. Where could I find the source or verification of the statement that, when the limiting value of autocorrelation $\lim_{\tau\rightarrow\infty}R_X(\tau)$ exist, $\lim_{\tau\rightarrow\infty}R_X(\tau)=\mu_X^2$.
This is mentioned in the answer of Relationship between... |
I have an image of a crossword , and I would like to find the x,y coordinates of every valid square and the number associated with it, then I would feed it into crossword.js.
Here are some sample crosswords:
I'm intending on using JavaScript so I can eventually make a browser extension or stackapp.
I've found numerou... |
I have several estimated positions for an object. These positions come from several sensors.
I would like to know if it is possible to combine these different positions into a single position. If yes how to do it?
|
Suppose that $g(t)$ is a lowpass complex signal with magnitude (solid line) and phase (dashed line)
To modulate $g(t)$ into a bandpass equivalent signal $f(t)$ with center frequency $f_c$, we compute the in-phase and quadrature components of $g(t)$ as
\begin{align}
g_I(t) &= \text{Re}\{g(t)\} \\
g_Q(t) &= \text{Im}\{g... |
When we define $$\overline{\left|x\right|} = \frac1T\int_0^T x(t) dt$$ as the arithmetic mean of a signal we can see that it is the same as its dc component in the fourier transform.
Why is this the case? I can see it obvious for a normal sine or cosine wave, because everything will cancel out, but what when we $a + \s... |
I have a sampling system that consists of linear and non-linear components(analog filters, ADC, CPU, and so on). I made some HW changes and I want to verify that the linearity was preserved.
My method:
Record pure analog sine with some frequency $f$ and an amplitude $A$, get digital data in the output, call it $S$.
Ge... |
I would like to know if image recognition software would be sophisticated enough to recognize reach single bee in a bee hive separately (for the purpose of tracking it, and tracking, and accounting, of its social interactions).
What would be involved at the hardware and software level.
I think this could be very import... |
Difference between Cramer Rao bound and mean absolute error MAE?
I cannot see the difference, or where to use one and not the other. I know that Cramer and MAE are used to measure the quality of an estimator, but in what are they different?
|
(I am unsure if this is the best Stack Exchange site for this question. If not, please point me to the right one.)
I am generating light patterns with a device called a spatial light modulator (SLM). I typically have a certain pattern that I want to generate, and after trying to implement the pattern with the SLM, I ... |
Assuming I have sampled my function with frequency above nyquist frequency, using the sampling theorem I can reconstruct my original function from the sampled values.
Let's assume though that I change my original function between the sampled values, such that I keep continuity, differentiability etc..
My samples will b... |
If we have a modulated signal $s$ and ($m\times n$) MIMO channel $H$ where $m$ and $n$ are number of receive and transmit antenna, respectively. The ZF pre-coded signal is
\begin{equation}
x=Fs
\end{equation}
where
\begin{equation}
F=H^H(HH^H)^{-1}
\end{equation}
How do I calculate computational complexity of ZF precod... |
I am working on a software which receives streaming audio data, is expected to process that data on the fly, and then outputs the results.
The module I'm working on is expected to adjust the audio volumes if it gets too loud (to impose a limit of -17dB).
So far that works great, but the algorithm computes a loudness le... |
I understand antenna should have two terminals to emit radio waves like this:
But in whip antenna it has only one pointy terminal, how does it work?
|
Someday I have suddenly got wondered how sounds are recorded and reproduced. I searched a little bit but the information I got was composed of difficult words and contents, so I couldn't understand that.
According to what I've read, the reason sounds can be reproduced is because of a vibration of diaphragm(?). But I th... |
I generate two noise images using MATLAB's function imnoise().
If I average the two noise images, the resultant image looks like the original noise
image but only the noise level is different.
If I perform spatial averaging using box filtering, the noise pattern in the resultant image
is different from the original noi... |
I have EEG data from 30 participants, each recording is about 3 mins, and I'm trying to calculate the average power of each frequency band.
I tried using Welch's or multitaper functions, but my values seem very odd. They are all extremely low. Can someone tell me if I implemented it correctly or what I did wrong?
My wh... |
UPDATE 2.0
I think I've managed to produce the correct range-velocity map. I'm struggling with analytically calculating the range which I expect to see on the range-velocity map. Could someone please give me a direction for how to calculate this? I have one target which moves away from the radar in a constant velocity.... |
If signal is transmitted with same frequencies they interfers, but why can't we use the technique of encryption and decryption to stop from interfering signals with same frequencies?
|
Usually, the cepstrum of a signal is introduced as the result of taking the logarithm of its power spectrum, then applying the inverse Fourier transform:
$$C_p = |F^{-1}\{\log(|F\{f(t)\}|^2)\}|^2$$
It is also sometimes called a "spectrum of a spectrum" since it can also be defined as:
$$C_p = |F\{\log(|F\{f(t)\}|^2)\}|... |
The C-band frequency range to be used for the 5G-advanced rollout is the US is in the 3.7-3.98 GHz range. Whereas altimeters operate in the 4.2-4.4 GHz range. Is there any genuine reason to worry about possible interference between these sub-bands, despite over 200 MHz separation between them? What kind of scenarios - ... |
I am using 2D Mellin-Cepstrum to extract features,
If I use log-polar transform to get rotational invariance, the rotation is transformed to translation. Can I use DCT next to get translational invariance. Is DCT translational Inavriant?
This will help me get rotation, translational invariance and also give compact re... |
I am trying to capture peaks in a time series data which has some predefined feature.
Here is a snapshot of time-series data (Time series data with peaks)
In this time-series I want to detect peaks that look like peaks like this need to be detected in time series.
What would be the best approach to find such peaks in... |
The result of calculating the amplitude of the audio through the DFT algorithm above is
It came out as below.
4.8829615116119385 + 8.486573384979136e-11i
-5.105256495330224e-13 + 2.5007562752359103e-12i
-2.6504666517102038e-12 + 4.1986813331673645e-12i
5.8794774604464806e-12 + 2.1755991105876227e-11i
-1.69396580096403... |
I have been trying to implement a simple LMS adaptive beamforming code. Since I don't have a MATALB license, I decided to use Julia since they are quite similar. In order to get a basic code working I implemented the MVRD beamforming example found on MATLAB website (I can't seem o find the link right now). Then I used ... |
I am quite confused, is there any relation between MSE, CRLB and MAE.
Can we test the efficiency of a Maximum likelihood estimator with the MAE, or must we use CRLB?
Also is it true that CRLB is MSE?
|
The question was asked before in C: How can I generate a sine wave with time varying frequency that is continuous? How can I resolve the following problem? I want a continuous graph.
But how do I do I do it in python???
my code is
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
sns.set()
x=... |
Calling scipy.signal.sosfreqz with a sos-matrix describing an ordinary butterworth bandpass returns an array of h coefficients, of which the one at index 0 is of value 0.0+j0.0. A problem arises when the filter needs to be scaled to 0dB plotted via
plt.semilogx(f, np.array([20 * m.log10(abs(value)) for value in h]), la... |
In Signal Processing, we broadly categorize signals as either being "Energy Signals" or "Power Signals". If the total Energy for a signal is finite, we categorize it as a Energy Signal. Otherwise when the total Energy of the signal is infinite, if the total Power of the signal is finite, we categorize it as a Power Sig... |
Suppose there exists a temporal voltage signal composed of short pulses, modulated by a sinusoidal envelope. One desires a hardware-based signal processing scheme to maximize signal to noise ratio (SNR) measured at both (a) the frequency (repetition rate) of the pulses and (b) at the frequency of the modulation. The tw... |
Guys do you now why line coding also called digital base band modulation named "line coding" where does it come? and how is the name related to modulation
|
I'm currently working on a phase vocoder implementation based on the Short-Time Fourier Transform; it's heavily based on the models described here and here. I have successfully completed the analysis phase, wherein
$m$ FFT frames of size $N$ are derived from a time-domain signal $x[n]$
These frames are sampled from eq... |
I've observed an interesting phenomena in a system I am working on that almost seems intuitive, but I don't have a good explanation of. I'm hoping someone can offer an explanation of what's happening.
I have a device that samples at 5 MHz. This data is filtered with an FIR filter to about 80% of Nyquist. The output of ... |
As part of my diploma thesis I'm implementing digital communication system based on audio transmission in free space (STMF401RE + analog microphone). I'm using BPSK modulation and I've implemented costas loop for frequency and phase recovery and symbol (which is byte in this case) starts detector using correlation and ... |
hello i'm doing signal processing like this
S : FFT of input signal from microphone
Exp : just gain
1/(Q*J) : include frequency component, I convert this equation to frequency domain digital filter using frequency sampling method
and similar process are conducted several time
and i'am doing overlap and save method lik... |
Sometimes, we met Non-causal FIR filter problem like this picture
left is ifft of frequency response and right is time shifted fir filter to be causal filter
in noise cancellation problem, delay is very annoying things.
my question is if i do filtering process in frequency domain, ideal filter (that is not delayed for... |
Firstly apologise if I use the wrong terminology, I don't have formal experience in signal processing, hence I would appreciate the help a lot.
I have a time-domain photon counting signal which due to experimental limitation has 256 time bins. This is considered quite 'scarce' in my field, and analysis is difficult. Si... |
I have given the transfer function $P(z)$ of an LTI system in z-domain.
Furthermore, I have a time-discrete finite length input signal $r$.
I want to calculate the system response $y$ in time domain.
The calculation must be implemented in a real-time system later.
If $P(z) = \frac{z \ T_s}{z\ (T_s+T_1)-T_1} $ (PT1 syst... |
Suppose a signal is a superposition of multiple intrinsic-mode-type (IMT)
functions, say
$$f(t) = \sum_{i=1}^n A_i(t)e^{i\varphi_i(t)} $$
Why is the separation condition of $f(t)$ be
$$\forall i,j \quad|\varphi_i^\prime(t) - \varphi_j^\prime(t)| \geq \Delta$$
for some $\Delta >0$.
There is an explanation in Time Freque... |
I am stuck trying to calculate the DFT for a given $N$
Given the signal $x[n] = \cos(\frac{\pi}{2}n - \frac{\pi}{2})+2 \cos(\pi n + \frac{\pi}{2})$ and $N = 4$ I tried to calculate the DFT
$X[k] = \sum\limits_{n=0}^{N-1}x[n]e^{\frac{-2 \pi ink}{N}}$
Now since
$X[k] = \sum\limits_{n=0}^{3}x[n]e^{\frac{-2 \pi ink}{4}} =... |
I have an image, which has an inherent mask built into it. The exact shape isn't super important, but it looks something like a circ multiplied by a rect. I would like to calculate the 2D Fourier transform of only the masked region. If I calculate the Fourier transform over the full image it will have spatial frequenci... |
Detecting pitch: It seems that selecting the modal frequency in the frequency spectrum is too simple an algorithm for reliable results.
For detecting, and changing, the pitch of a note, what are the best / fastest algorithms?
|
In NTSC analog television (presumably PAL is similar) the chroma (color) signal is included through a subcarrier which is QAM modulated. This particular QAM modulation is a bit unusual in that besides being analog there are two peculiarities: the Q signal has a smaller bandwidth than the I signal, and the I signal has ... |
For the definition of the DFT we have
$X[k] = \sum\limits_{n=0}^{N-1}x[n]\exp(- \frac{2 \pi i \cdot n}{N} k)$
Let's say for simplification that $N$ is even.
Then
$k_{N/2-1} = \frac{N}{2}$ is considered as being the nyquist frequency
and $X[k_{N/2-1}] = 0$
What is the inuitve and mathematical reason for the two s... |
I am curious about software implementation of analog filters. For example, let's say I have a moog low pass filter. What should I do to turn this device into satisfactory, analog sounding software.
I don't actually want programming advice(doesn't mean I won't be grateful if given), what I want is to know what coefficie... |
This question is motivated by 23:00 in this video.
It shows how the output from 'row' DCT is fed in to 'column' DCT for JPEG, and shows this image (highlights are mine):
In the top 'Rows' row my intuition is that the rows I've highlighted green correspond to each other, to the top row in the original image.
Further it... |
I am approaching to the study of FIR systems. In particular, I was analyzing the graphs of amplitude and phase of the transfer function, when I had some trouble understanding how the phase behaves. Let me explain this with an example:
Suppose that our transfer function is $\displaystyle{H(z)=\frac{1-z^{-5}}{1-z ^ {-1}}... |
I'm generating Polyphase filter taps for a square pulse for symbol timing recovery. Assuming I have NFilts elements, all I do is
Create a basic filter
Interpolate by padding NFilts - 1 Zeros
Convolve the interpolated taps with a low-pass upsampled by NFilts
Partition the resulting taps into NFilts sub-filters
This se... |
I have been exploring different ways of improving the EVM performance of quadrature demod block for GMSK demodulation. As we all know, the Gaussian filter introduces intentional ISI, which can be pretty destructive at lower BTs values. I suppose a Viterbi demodulator, which is the ML solution for GMSK, can deal with IS... |
I was playing around with plotting DFT and realized that the negative frequencies are symmetric to the positive frequencies reflected at the nyquist.
Plot shown for the signal $f(x) = \cos(\frac{\pi}{2}x - \frac{\pi}{2}) + 2\cos(\pi x+ \frac{\pi}{2})$.
So why are the negative frequencies symmetrically distributed ... |
I would like to convolve two signals:
Room impulse response that was obtained by deconvolution, measured at 48 kHz. Truncated to 8192 samples.
Anechoic recording (.wav) recorded at 41.1 kHz
If I perform a fast convolution in the frequency domain, I understand I should do as follows:
[x, fs] = audioread('sound.wav');
... |
I was wondering if there is a 'ready-to-use' implementation available of the (boundary-corrected) wavelets constructed in
Cohen, Albert, Ingrid Daubechies, and Pierre Vial. "Wavelets on the Interval and Fast Wavelet Transforms.” Applied and Computational Harmonic Analysis 1, no. 1 (1993): 54–81. https://doi.org/10.1006... |
Description of the data and problem:
I have a signal sampled at 1000 Hz. I'm low-pass filtering it at 120 Hz, and want to make spectrograms of the frequencies below this threshold. I'm using the scipy functions fftpack.fftfreq to get the Fourier coefficients, then fftpack.fft to do the actual transform.
The signal is... |
I have a discrete image of size $2^N \times 2^N$ which I would like to iteratively downsample to produce a pyramid with image sizes $2^k\times 2^k, \, k=0,\ldots,N$. That is, each subsequent image will have half the resolution along each axis. So I would like to better understand how this is modeled mathematically. My ... |
most system have 48khz and if i have 40tap low pass fir filter that cutoff freuqency is 300hz, filter delay is 1/48000*20 = 0.0004s
but the frequency resolution is very sparse and i think if the filter have complicated shape the performance is not good.
and if i do downsampling to 2000hz, performance is better if i des... |
Here is matlab code
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
fs = 2000;
f = 0:20:1000;
D = besselj(0,f);
DD = fliplr(D);
DD(1) = [];
DD(end) = [];
H = [D DD];
h = ifft(H);
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
to make even fir filter
D : half desired frequency response
DD : half desired frequency res... |
I know the DFT, I agree with the formula and everything, but I don't get the intuition on the link between frequency resolution and number of samples.
Like, why would I get a higher frequency resolution by taking more samples in my DFT?
The formula is:
Here, we are not summing on a finite number of k discrete frequenc... |
i want to make arbitrary shape digital filter from equation. that have own magnitude and phase response.
the equation is bessel function. the frequency response is below zero phase and real value
and i make filter using frequency sampling method like this
x : frequency, y : magnitude
and it's impulse response is this ... |
Given the complex lowpass signal $x_l(t)$, its real bandpass equivalent signal with center frequency $f_c$ is
\begin{align}
x_b(t) &= \text{Re}\{x_l(t) \cdot e^{j2\pi f_c t}\} \\
&= \frac{1}{2}\left(x_l(t) \cdot e^{j2\pi f_c t} + x_l^*(t) \cdot e^{-j2\pi f_c t}\right) \label{eq1} \tag{1}
\end{align}
Similarly, given a ... |
I am working on a problem of phase (/phase derivative) retrieval from closed fringe patterns. The paper https://opg.optica.org/ao/fulltext.cfm?uri=ao-58-16-4420&id=413113 which uses a pseudo-Wigner Ville distribution (PSWVD) to directly estimate the unwrapped phase derivative is what I want to implement.
The PSWVD met... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.