instruction stringlengths 31 27k |
|---|
I was curious about crossover filter design, so I did some reading on Linkwitz-Riley filters. Seems to me that the general idea is that if you add HP and LP filters and they are properly designed, you get an all-pass filter, which made sense on its face. However, I cannot seem to work this out mathematically. Using ... |
Not clear on what the autocorrelation function of raw EEG means physically
why can't you take the FT of a the EEG itself and get frequency data?
With BCI & basic electrode setups you can understand your brain activity:
neuron-firing --> EEG voltage reading --> brainwave readings
How I understand that this is done:
Four... |
I am going to test an algorithm and need a test signals.
My first test signal is a binary signal of 1 or -1. I was thinking about how to implement such a sequence in matlab and wrote this:
binary_data = rand(1,M) > 0.5;
b = 2.*binary_data - 1;
My next step is:
dataInMatrix = reshape(b,length(b)/k,k); % reshape data in... |
having derived the Butterworth Lowpass Time domain response, I am now struggling to find a similar function for a Butterworth Highpass filter. I understand you need to replace s by 1/s. But this leads to a transfer function with as many zeros as there are poles. So you can no longer use the Heaviside 'cover-up' method ... |
I want to find the coefficients of dereverberation filter in MATLAB. How to do that?
I have found the coefficients of reverberation filter:
numerator = b = [0.1664 0 0.4084 0 0.3341 0 0.0911]
denominator = a = [1 0 0 0 0 0 0]
Thanks in advance!
|
I recently had this question in a quiz and was quite confused as I don't think I can assume there are more zeros from just one, so how should I interpret it?
Assuming a linear phase FIR filter with real value coefficients and a zero at $2e^{j0.5\pi}$, which of these is true?
a)There are another 3 zeros at $2e^{-j0.5\pi... |
I have a texture that I want to perform the 2DFFT on and I am trying to understand the "Row/Column" or "Column/Row" idea but I am unsure if I have understood it correctly. Hoping some one can explain it a bit better from my current understanding because it seems my current understanding of it requires a lot of FFTs whi... |
I'm trying to understand how altering the frequency response of a H(z) low pass filter, will visually alter it's frequency response plot.
For example: by doing H(z^2), would the frequency response represent the filter's cut out frequency happening much later than H(z)?
If I multiply H(z) for something like 0.5(1-z^(-1)... |
I just realized this forum existed, posted my question on the wrong forum.
Sorry about the formatting, please don't hesitate to ask if any part of this post is unclear. This is my first post.
I'm trying to implement a simulation of an ANC system with python, using this model here, but that's not the main point. My simu... |
I'm working with a point cloud, created by sampling a 2D camera texture and a depth map. The color is combined with the depth and is projected onto a 3D scene to create a "point cloud".
The resolution of the image is good, except around the object edges, where I'm running into aliasing / fraying / rounding errors like ... |
I want to calculate the SNR variation of a signal with respect to the period. The current technique I am using is calculating SNR iteratively by applying narrow bandpass filters of different range, but the computational time for this is painstakingly high.
Is there a way to use fft or something like that to calculate t... |
I am confused by the following statement from the paper Beamforming: A Versatile Approach to Spatial Filtering by Barry D. and Kevin M.:
There are two basic adaptive approach: 1) block adaption ..., 2) continuous adaption.... If a nonstationary environment is anticipated, block adaption can be used, provided that the w... |
I am trying to comprehend GMSK modulation/demodulation. IQ samples are being phase keying is such a way that after multiplying them by complex carrier and sum both I and Q together, there is FM modulation. I don't understand how its being done. I guess it must be trigonometry but can someone explain me how phase change... |
Is there a way to caculate the size/surface of every individual rock visible in this image?
I have tried:
Contours - this doesnt seem to work the contours touch, gets real messy.
Watershed algorithm - I couldn't get the algorithm to work in my situation.
Sharpening -> binary image -> contours - wasnt pretty
If a... |
I use the pretty simple example used in many books to understand the convolution in the frequency domain. But I cannot find the real results.
import numpy as np
img = np.array([[0, 0, 0, 0, 0],
[0, 0, 0, 0, 0],
[0, 0, 1, 0, 0],
[0, 0, 0, 0, 0],
[0, 0, 0, ... |
I'm new to python and matplotlib, and I'd like to visualise / compare 3 mfcc files stored as numpy arrays in txt format.
I have the Octave code below, and I'd like to know how it can be done using python/matplotlib.
Any help is much appreciated.
load /dir/k11.txt
load /dir/t11.txt
load /dir/a11.txt
subplot(1,2,1... |
I want to perform the convolution of the following discrete signals: $$h[n]=u[n-2] $$ and $$x[n] = (0.5)^nu[n+2]$$.
That's what I've done so far: $$\sum_{k=-\infty}^{\infty} (0.5)^ku[k+2]*u[n-2-k]$$
So: $$\sum_{k=0}^{\infty} (0.5)^ku[k+2]*u[n-2-k]$$
I know that the upper limit does not go to infinity, however, I cannot... |
What is interference diversity? and how is it different in CDMA and OFDM? I have a problem understanding the concept
Reference book: Fundamentals of Wireless Communications, chapter3/4 Author: David Tse
|
Convoluting a signal (using discrete FT) for a given interval [a, b] with a Gaussian can be done by circular wrapping as shown in Numerical Recipes. I found a shortcut for circular wrapping so that the phase remains zero for an even-N data. Consequently, the peaks in the signal will not shift their positions after con... |
This is a basic filter question I think.
I want to define a narrow bandpass filter's cutoff frequencies (f1 & f2) for a particular central frequency (fc) in iir filter
I think in this case
fc=(f1+f2)/2
But simply taking the average will give infinite possibilities of cutoff frequencies.
So how would I select the f1 & ... |
I have a sinusoidal signal of 10 minutes. For the first 5 minutes, the signal has a frequency of 100 Hz and for the next 5 minutes, the signal has a frequency of 200 Hz.
1 - If I look at the spectrogram of the signal calculated using stft windows of the length of 5 min and no overlap, what will I see in the spectrogram... |
I collected this data from a robot that drives with its wheels up. The blue curve is the voltage and that is my input. The orange curve is the wheel velocity and that is my output.
I want to create a transfer function for when the voltage changes from 1 volt to 2 volt, and I don't want to include the part where the ro... |
I know why analog amplitude modulation has side bands, it is related to (fc+fd) and (fc-fd). But what about DAM?
ASK(DAM) is a type of digital modulation, and there are only two state: carrier signal for "1" or nothing for "0". The expected behavior on a spectrum is seeing only one peak on the fc, but there are many si... |
Please can anyone address me to routines (possibly for MATLAB/Octave) to identify system poles and zeros from its Bode plot (magnitude+phase)? I am aware there are functions for system identification included in the Control toolbox/package, but these seem to operate on time responses (e.g. step response) instead of Bod... |
I'm trying to obtain the impulse response $h[n]$ of a system whose frequency response is $H(e^{j\omega})=R(\omega)e^{-25j\omega}$. I believed that $h[n]=h[n-25]$, would be the correct answer, however I was told it would be something along the lines of $h[n]= h[50-n], 0<=n<=25$.
Can somebody explain why?
|
Suppose I have a method that I can use to generate $n_p$ signals (we can intend them as realizations of an unknown not stationary discrete-time stochastic process). Modifying the method, I can obtain other $n_p$ signals.
I'd like to quantify the "variability" of the several group of $n_p$ generated signals.
The procedu... |
I understand Central limit theorem, but cannot understand the result when it applies to diverse situation.
As far as I understand, Central limit theorem states follows:
No matter what random variable has its distribution, if we pick n samples and mean (or just sum) them and do this many time, those values will follow ... |
I have a signal power of -12 dBW from a 16 QAM signal after the first RRC.
I want to create a channel SNR of 30 dB
I calculate my noise power from this, i.e. its -42 dBW and make the noise to add to signal
#Power values below have been converted to Watts
noise_distribution = np.random.randn(N) / np.sqrt(2)
noise = n... |
If we have OFDM system with $N$ sub-carriers, the DFT matrix can be expressed as follows:
$F = dfmtx(N)/sqrt(N)$
My question, is it possible and practical to use the matrix without Normalization, it means use the iDFT as $F = (dfmtx(N))'$, and then at the receiver end, I will multiply with that matrix and divided by $... |
Define the LTI system $\mathcal{H} : x\mapsto y$
Define the convolution for continuous-time system :
$$
(x*h)(t)=\int_{-\infty}^{\infty}x(\tau)h(t-\tau)\;\text{d}\tau
$$
The initial rest condition states that :
An LTI system with an input signal $x(t)$ is causal if and only if $x(t)=0$, $\forall t<0$
Now I have notic... |
I was trying to solve this question :
I respresented $x(t) = u(t+1)-u(t-1)$
writing the convolution as $[u(t+1)-u(t-1)]*h(t) = y(t)$
I then used the property of differentiation to convert from the step to the impulse function :
$[\delta(t+1) -\delta(t-1)]*h(t) = y'(t)$
$\implies h(t+1) - h(t-1) = y'(t)$
However , I am... |
I am working on a digital synthesis project, in python and c currently. I have made a Sine and Saw wave generator and have now been working on FM between the two wave types. I have successfully made FM work with a Sine wave as both carrier and modulator, but whenever I add a Saw wave into the mix, The carrier frequency... |
If i am correct; for a radio receiver the ADC sample rate will have to be higher than at least twice the BW of the data (disregarding sparse sampling techniques). So for frequency hopping spread spectrum (FHSS),when the receiver is unaware of the transmitter's hopping pattern, does that mean the ADC sample rate needs t... |
I have plotted the magnitude and the phase responses of an M-point moving average filter, the following are the plots when M = 10:
We can observe that corresponding to every lobe in the magnitude spectrum we have a line in the phase spectrum - a linear phase response is observed corresponding to every lobe. (See the b... |
I am trying to get a useable wave from a pulse oximeter, but there is a pesky DC bias that keeps changing every now and then, so I cannot simply subtract the DC bias from it and get useable results for long. I also tried to take an appropriate sampled running average, and subtract that from my wave, and it gave me much... |
I am implementing a 3D audio application. I have correctly implemented a set of HRTF to perform binaural simulation and interpolation.
To achieve this, I converted the HRTF into minimum-phase ones, then I interpolated their IR and finally I added a ITD to the lagging ear (this is a common approach I found in many paper... |
Can I use any kind of transform to make spectrogram, not just stft? Is it possible to get the spectrograms of a signal without using stft?
What difference does it make if I calculate the frequency components of the entire signal using fft instead calculating fft of few samples at a time (stft) and cover the entire sign... |
I'm working on an acoustic source separation problem where I want to separate the voices of a choir based on intensity vector statistics.
I'm currently implementing a paper by Günel called “Acoustic Source Separation of Convolutive Mixtures Based on Intensity Vector Statistics” In this paper, the acoustic source separa... |
I am just starting to learn about Power Spectral Density (PSD). What I'm reading is that it is possible to separate PSD masks if they are isolated, even if the frequencies do overlap. My understanding is that this is how telephone lines for example can carry both telephone and adsl signals simultaneously.
Now, I also c... |
When I produce a chirp signal with a duration of 2 sec, sampling frequency of 200Hz, with frequencies ranging from 20Hz-100Hz, I get negative instantaneous frequencies using the scipy(Python) Hilbert transform. Here is my signal code:
self.duration = 2
self.fs = 200.0
samples = int(self.fs * self.duration)
... |
My question is whether the chirp z-transformed is capable of solving two very close tones that an FFT is not capable of solving. I understand that it is possible but I have done tests in Matlab and I cannot get more information from a signal.
The formulation that I have used is the following:$X_k= \sum_{n=0}^{N-1} x_n ... |
I am trying to make an ultrasonic flowmeter. The device has two ultrasonic tranducers (resonance frequency of about 200kHz) that sample one ultrasonic signal in the upstream directon and then immediately after one signal in the downstream direction. I know a correlation between the upstream and downstream signals might... |
I have IQ data collected
This is the beginning of the packet that includes preamble and sync sequence. Red is real part, blue is imaginary.
Also constellation diagram for this data
I don't have access to the radio that transmit this data.
I know that this is QPSK modulated data. Preamble and sync sequence should be B... |
I am reading about CORDIC (Coordinate Rotation Digital Computer) and I have t implement it.
Honestly, I am reading and don't understand the difference between phase detection algorithm ( PLL, Costas loop, ...).
How can I use it to recover a phase? If I implement a transmit signal with phase shift, I know the value...s... |
Assume I have the following two sequences :
$$
x[n]=\begin{cases}
\alpha&\text{if $a\leq n\leq b$}\\ \\ \tag{1}
0&\text{if otherwise}
\end{cases}
\qquad
\text{and}
\qquad
h[n]=\begin{cases}
\beta&\text{if $c\leq n\leq d$}\\ \\
0&\text{if otherwise}
\end{cases}
$$
I was wondering in this case if the convolution :
$$
(x*... |
The homography I have is non-degenerate (det!=0), and generated from a valid planar pose. When I use it to warp the four corners of image, it returns something like the following:
1 0
3 2
instead of something like
0 1
3 2
where 0 represents top-left corner, 1 top right, 2 bottom left, 3 bottom right. It doesn't follo... |
Let :
$$
x[n]=\begin{cases}
1&\text{if $0\leq n\leq 4$}\\ \\
0&\text{if otherwise}
\end{cases}
\qquad
\text{and}
\qquad
h[n]=\begin{cases}
\alpha^{n}&\text{if $0\leq n\leq 6$}\\ \\
0&\text{if otherwise}
\end{cases}
$$
We must compute the convolution :
$$
(x*h)[n]=\sum_{k=-\infty}^{\infty}x[k]h[n-k]
$$
Observe that $x[n... |
I'm trying to understand how I can update a Kalman filter with a state variable for position and velocity when I only measure position. I have a covariance matrix of the position measurements. But what does the overall covariance matrix of the measurements look like where velocity is unmeasured?
It seems that zeros wou... |
I found in the
Wikipedia site for Tikhonov regularization
that the SVD for a Tikhonov regularized problem take us to the least squares regularized solution:
\begin{eqnarray}
\hat{x}= V D U^T b,
\end{eqnarray}
with
\begin{eqnarray}
D_{ii} = \frac{\sigma_i}{\sigma_i^2 + \alpha^2}
\end{eqnarray}
They call $f_i=D_{ii}$ the... |
$$
x(t):=\begin{cases}
1&\text{if $0<t<T$}\\ \\
0&\text{if otherwise}
\end{cases}
\qquad\text{and}\qquad
h(t):=\begin{cases}
t&\text{if $0<t<2T$}\\ \\
0&\text{if otherwise}
\end{cases}
$$
Compute $(x*h)(t)$.
My approach:
We first note that :$$\displaystyle x(\tau)=\begin{cases}
1&\text{if $0<\tau<T$}\\ \\
0&\text{if ot... |
while using "design" in matlab to design filters, at the output we can see a ScaleValues matrix that is used to compensate for overflow problem. my question is that how this matrix is calculated? I want to manually calculate it using sosMatrix and p-norms if needed.
thanks a lot.
|
Polyphase implementations of upsampling/ interpolation and downsampling/ decimation, after having invoked the Noble identities, are presented as follows (taken from Proakis):
(Three-Channel Polyphase Decimation)
(Three-Channel Polyphase Interpolation)
The decimation always seems to use the direct form (delay before f... |
I have an original periodogram that I need to model with autoregressive process. However the model isn't right as it is not fitted well to the original periodogram.
I am suspecting I am doing something wrong when taking the IFFT.
Normalize the original periodogram $I(f)$ so that the (sum of the integral
is 1 on the no... |
I need your help in understanding if the simulation result is correct.
I have simulated a random BPSK sequence that was upsampled and filtered with a raised cosine filter.
The length of the filter is 150 taps, sampling frequency 16, cut-off frequency 0.5 and transition bandwidth is 0.2.
The noise was simulated with EbN... |
I need to understand the relationship between carrier vs. bits with PSK modulation, and what the signal in the time domain would look like if my symbol rate is far greater than my carrier frequency. How can I put more symbols on a carrier which is at a set frequency? For example how would I put 1000000000000000 bits on... |
I'm working with ECG signal processing and want to implement digital notch filter. Would Kaiser-Bessel filter be optimal for signals sensitive to time domain disruptions or should I use different filter?
|
I am playing around with the Hilbert transform using Python's scipy.signal.hilbert package to better understand what the various instantaneous properties are given different input signals. One input signal I analyzed was a 10Hz sine wave. Here is the code which generates this signal:
self.duration = 10
self.fs ... |
As was proven here: https://math.stackexchange.com/questions/228614/why-doesnt-repeating-a-signal-give-rise-to-a-finer-resolution-of-dft-fft repeating a certain sequence does not improve DFT frequency resolution.
However, it is known that oberserving a signal for a longer time will in fact improve the ability to resolv... |
I have a issue to find out, is there any way that one can determine a group delay from frequency response of the FIR filter. Let's say I have I type FIR filter with order of 51. Frequency response obtained from freqz MATLAB's function is presented below.
I know group delay is negative derivative of linear (in this exa... |
My goal is to estimate the CFO and timing offset in GMSK modulated signal. I synthesize samples in Matlab and my goal is to add CFO and time offset to learn how to deal with mentioned distortions and successfully recover transmitted signal. I would like to use non-data-aided methods and rely only on the signal structur... |
I have a sequence $x[n]=\sin(\pi n+2)+\cos(2n/3 +1) $
I want to find its period and I have also attached my working
I have two confusions
Is there any effect of the constant term on period? constant"2"in bracket of sine and constant "1"in bracket of cos?
2)If period of sine term is a rational number,as shown in attac... |
I need to design a smooting filter for computing the envelope of a signal. My specs in Matlab are
fs = 44100; % Sampling frequency of 44100 Hz
fpass = 2; % Passband edge frequency of 2 Hz
Wp = fpass / (fs/2); % Calculate normalized passband frequency
fstop... |
\begin{align*}
&(\delta[n]+\delta[n-1])*(\delta[n]+\delta[n-1])\\ \\
=\;&\delta[n]*\delta[n]+2(\delta[n]*\delta[n-1])+\delta[n-1]*\delta[n-1]\\ \\
=\;&(\delta[n]+2(\delta[n]*\delta[n-1])+\delta[n-1])
\end{align*}
I am not sure if its true that $\delta[n]*\delta[n]=\delta[n]$ and $\delta[n-1]*\delta[n-1]=\delta[n-1]$ fo... |
Suppose I have two sequences of measurements, $x_1[n]$ and $x_2[n]$ for $0 \le n \le N-1$.
How do I determine if there is a causal relationship between the two?
My first thought was, well... I can just find the correlation between $x_1$ and $x_2$. But almost immediately I was struck by correlation is not causation.
OK... |
I am searching a paper or article on this subject.
I have heard of a function that estimates the sampling frequency offset between nominal and actual (sample rate of samples) sampling frequency and corrects for the found value.
Particularly it is done by splitting the signal into blocks of block sized symbols and estim... |
The python code below generates a histogram from a .wav file, but what exactly does the histogram show? Is the x axis amplitude binned by sampling rate? Is the y axis a count of how many samples are in each amplitude bin? And how is amplitude calculated?
import numpy as np
import matplotlib.pyplot as plt
Fs, data =... |
I am try to use Linear Kalman to do time series prediction. I understand that I have to define a model process matrix which indicate how system state evolve, and a measurement matrix H which convert state variable to measurement space. However in my problem, there is no clear relationship between my measurement and sta... |
I'd like to pull a narrowband signal out of ADC samples, where the ADC rate is much higher than the bandwidth/central frequency of the narrowband signal. I'd like to feed the narrowband signal into a software package that want I/Q samples, so I'd like to know if a code snippet is doing the right thing. There are lots... |
Is there a process to remove a watermark ever present across all frames of a video?
I was thinking that comparing frames and taking pairs poorly correlated, could give a clue about the watermark both share. Or perhaps merging or adding all the frames could reveal the strong watermark pattern. O maybe is a work for a ne... |
This is regarding question 5.1-2 (see picture attached) from Modern digital and analog communications, Lathi & Zhi Ding (2010).
I do not understand what the behavior should be at the discontinuity (sudden jump from 1 to -1). I ran the following code on MATLAB (using simpler values):
a = 0.25;
t = -a:0.0000001:a; % tim... |
I have been working on the decorrelation of audio signals while following this paper :
The Decorrelation of Audio Signals and Its Impact on Spatial Imagery
So far I have generated impulse responses in such a way that magnitude is 1 in all frequency spectrum, while random phase generation between -π to π. I correlated t... |
I am trying to implement Matlab code which performs FIR filtering with complex bandpass filter using Overlap Save method and perform decimation as well by using different length forward and inverse FFT as mentioned in this article:
https://www.iro.umontreal.ca/~mignotte/IFT3205/Documents/TipsAndTricks/MultibandFilterba... |
I am currently working the figure through below.
as it is an FIR Filter i have worked out using convolution that the output is 4,2,4,6,0,0.
i am trying to obtain the 'z' domain transfer function of the filter below using h(n)
using the $h(n)$ 2,-1,3
I have started to obtain the $z$ domain transfer function with
$y(n)=2... |
I am using a Michelson interferometer with the interferogram recorded on a CMOS sensor. I have taken a video of the fringes moving when a displacement of 50 $\mu m$ is imposed to one of the mirrors.
The frame rate is 17.9980 and it is already the maximum I can have.
For a 50 $\mu m$ displacement I should see around 79 ... |
I am looking for code or papers, for methods to classify audio signals, without the use of deep neural networks (DNN).
A current paper which reviews methods will also be most welcome.
I have searched google scholar for such a paper to no avail.
To make it clearer, I am looking to compare against the state of the art. I... |
I am reading Audio effects: theory, implementation and application by Joshua D. Reiss and Andrew McPherson.
They explain that, in the simplest case with just a hard cutoff threshold, you have a piecewise linear equation
$$y_G = \begin{cases}
x_G & x_G <T\\
\frac{x_G -T}{R} + T & x_G \geq T
\end{cases}
$$
with a corresp... |
I am relatively new to using Kalman Filtering. Currently I am trying to understand it and how to implement it in Matlab. I found a website with some nice examples that I would like to rewrite in Matlab using the unscentedKalmanFilter() function. The website is Kalman Filter examples and I am trying to rebuild the first... |
If we have a function that is an integral over the interval 0 to T
Is is correct to say that its Fourier Transform is :
|
Consider the equation :
$$
y[n]-\frac{1}{2}y[n-1]=x[n]
$$
where $x[n]:=\left(\frac{1}{3}\right)^{n}u[n]$. First, I founded the homogenous solution $y_{h}:=A\frac{1}{2^{n}}$
$$
y_{h}[n]=\frac{1}{2^{n}}y[0]
$$
where I insist $A=y[0]$. Furthermore, The particular solution is given of the form $y_{p}[n]:=B\left(\frac{1}{3}... |
I started writing a windowed sinc low pass filter, but I cannot seam to get the code figured out right.
I followed these two links
http://doctord.webhop.net/Courses/textbooks/Smith_DSP/dsp_book_Ch16.pdf
and
https://tomroelandts.com/articles/how-to-create-a-simple-low-pass-filter
Thanks to @aconcerned It now only has on... |
I am very confused about one of the questions I received during an exam. How do I solve this question?
|
In the following Matlab code, the amplitude of the spectral domain signal is printed
Temporal_Pulse_Width=1;
t=linspace(0,20,2000);
dt=t(2)-t(1);
Time_Period=round(Temporal_Pulse_Width/dt);
AA=zeros(length(t),1);
AA(Time_Period/2:3*Time_Period/2)=1;
A=20*log10(abs(fftshift(fft(AA/length(t)))));
frequencyAxis = ((0:leng... |
I was using the Wikipedia page on the discrete time Fourier transform to understand the connection between DFT and DTFT. The following is claimed in the article - I was wondering if anyone had a proof or a source for the proof for the highlighted part?
Many thanks!
|
[
Here are two figures from the same signal, the 2nd one(B) is after digital predistortion at transmitter end. How can you describe it? What are the improvements and advantages of this technique?
Much appreciate your answers.
|
Context: I have done in the past stereo recordings in XY position (coincident microphones):
from a source far from at least 20 meters (example: piano in a big reverberant building).
Since the microphones are coincident, there are IID (interaural intensity differences), but, sadly, few ITD (interaural timing difference... |
I need your help in understanding how to simulate a timing recovery algorithm. I have already read a lot of literature and posted here the question but I have still doubts how it works.
Let me briefly explain my simulation:
Create a test signal:
BPSK, 1000 symbol with 16 samples
Raised cosine filter
Compute an amplitu... |
I translated the Matlab QPSK receiver/transmitter into real-time C code that I have running on a PlutoSDR platform. QPSK receiver/transmitter
I wrote the square root raised cosine filter for the TX chain and it worked without any issues. I was able to successfully encode my message data and continuously transmit it the... |
We have a "speaker", that can make a single frequency at a time (0 - 130k Hz). So we can play a tune by making it play a tone for 1 sec and then the next tone for 0.5 sec etc. We can change the length and frequency of the tones pretty quickly. But we can play any sound as they are typically a superposition of various f... |
I recently designed a phase-locked loop. I would like to quantify its bandwidth so that I can better understand it.
However, I made this bandwidth in an informal manner due to my lack of formal education on the topic. Is there an experimental way for me to find the bandwidth of this system?
My PLL uses a dual-channel l... |
I am implementing radix-2 DIT FFT (real only) in C++. For input sizes > 8 I can't seem to match the output of FFTW. Here's my implementation of the FFT:
std::vector<std::complex<double>> MyFFT::transform (const std::vector<double>& samples) {
compute_twiddles (samples.size ());
std::vector<double> samples_copy ... |
I am trying to understand the difference between filters in serial and filters in parallel. As I understand it, serial is the more natural approach: A is applied then B, and the result is the product. Parallel filters confuse me though. If I think about it, I'd assume their outputs are added. Is this like a resistor in... |
As part of my seminar, I have to make a full representation on the many color spaces. I took a deep dive in the internet and on YouTube and managed to gather a lot of information. BUT I have a few questions, regarding the XYZ color space (also known as CIE XYZ 1931 color space).
(1) Why do images in XYZ color space loo... |
I'm trying to implement a simulation of an ANC system with python, using this model here.
My simulation keeps diverging, and I honestly don't know why. I'm using a source for LMS adaptive filter from Mathworks here. When I comment out the LMS update function, the system is stable, and the output is exactly the input. ... |
I am trying to obtain the unit impulse response of a system in the form:
$$y[n+N]+...+a_{N-1}y[n+1]+a_{N}y[n]=b_0x[n+N]+...+b_{N-1}x[n+1]+b_{N}x[n]$$
$$Q[E]y[n]=P[E]x[n]$$
(where E is the unit advance operator)
Using the following formula:
$$h[n]=\frac{b_N}{a_N}\delta[n]+y_c[n]u[n]$$
Or if $a_N=0$
$$h[n]=A_0\delta[n]+A... |
I am just starting to learn about feedback systems. There are a few questions that have me stumped, this being one of them. Could someone please help? Thanks!
Question: Find a signal that destabilizes a system with a delayed positive feedback path and nonunity feedback gain.
My understanding so far is that we are reint... |
Question: What is the effect of a delayed feedback path with nonunity gain G on a sinusoid of frequency corresponding to the delay? Plot the effective gain as a function of G.
I think this will amplify successive periods of the sinusoid, with it becoming unstable and growing to infinity. Does that sound correct?
I'm a ... |
I'm learning about signal processing, and I am attempting to remove white noise from an output of a blackbox system.
As you can see from the above image (left is the input sin(t), right is the output) there is quite a bit of noise.
I am attempting to verify that it is white noise. To do, I have run the system 100 time... |
I have the audio stream below, which is a recording of Arabic. I am trying to split the stream into individual letters. I have manually marked the ideal locations with black lines in the image below. As you can see, there are definite feature changes at all these points, which gives me hope. Even the fourth one could p... |
I am able to shrink/stretch an audio signal using Python code for a phase vocoder, as well as the stretchAudio function from Matlab's Audio Toolbox. Although both methods do indeed alter the audio signal in the time domain without changing the pitch (which is what I want), both methods damage the spectral structure eno... |
Using Python or Matlab, how can I create a histogram in which each bin is equal to a proportional frequency range (e.g. one octave) and the data added to each bin is a count of the number of samples that have any amplitude within that frequency range?
Here's what I have so far:
length = data.shape[0] / Fs
print(f"lengt... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.