instruction stringlengths 31 27k |
|---|
In my textbook, any signals could be expressed like the following formula.
$x(t)=\displaystyle\frac{a_0}{2}+\displaystyle\sum_{n=1}^{\infty}[a_n\cos(2{\pi}nft)+b_n\sin(2{\pi}nft)]$
I understand that any signal could be composed of periodic signals whose frequency is $f$, $2f$, $3f$, $\cdot\cdot\cdot$.
I don't understan... |
When I read papers, I often see the term "Frequency Domain Equalizer".
I do not understand what a "frequency domain equalizer" is.
Do they mean equalizers like MMSE, LMMSE?
Or is there an equalizer called FDE?
|
I saw two examples of applying a Gaussian low pass filter to a Matlab image: one- when the filter was built in the space domain and was normalized with the sum of the filter coefficients, and another- where the filter was built in the frequency domain and no normalization was made.
Is it consistent that no normalizati... |
I have frequency response of low pass filter
M=8 %%%channel
x=8*512
d1=fir1(N-1,wc/pi,w);
% L=length(d1);
% for k=1:L
% b2(k)=((-1)^k)*d1(k);
% end
%%%%%%Frequency response
h1=fft(d1,x);
a1=max(abs(h1));
m1=20*log10(abs(h1/ a1));
c=0:x-1
plot(f1/x,m1)
... |
In my implementation of minBLEP, overlapping minBLEPs result in a DC bias as the frequency increases. This is because each minBLEP correction (i.e. the minBLEP minus the aliased step) has a DC bias.
Here's a frequency sweep from 100Hz to 15kHz. The second signal shows the number of active BLEPs.
Interestingly, the min... |
Since both fft ,freqz are used for finding the frequency response of digital filters.
the frequency response using freqz function is given below
and frequency response using fft function is
it seems to be that in case of fft it is mirror image of freqz response.
also i want to find value of freq response at pi/8 how c... |
Consider a signal that has lowest frequency component $F_l$ and highest frequency component $F_h$.
According to the theory of bandpass sampling, this signal can be sampled and succesfully recoverd if sampled at a frequency ($F_s$) twice the difference between highest and lowest frequency.
that is, $F_s=2 \cdot \left(F_... |
So I understand how Convolution works but Circular convolution seems a bit messy to me, all the examples seems to have even series of number like h(n)={1,2,3,4} & x(n)={1,2,3,4} and they are all starting from n=0.
This is from my last exam and I'm trying to figure out e)
(My exam is tomorrow and I just realized I had ... |
I need to perform tomographic reconstruction of an axially symmetric object. Because of the axial symmetry only one projection of the object (one angle) was taken. I implemented the filtered back-projection algorithm in MATLAB. However, when I run this algorithm on a synthetic image which has circular symmetry, but wit... |
The mother wavelet function $\psi(t)$ must satisfy the following:
$$\int\limits_{-\infty}^{+\infty} \frac{|\psi(\omega)|^2}{\omega} d \omega < +\infty,$$
$$\psi ( \omega ) \bigg|_{ \omega =0} =0,$$
and
$$ \int\limits_{-\infty}^{+\infty} \psi(t) \ dt = 0$$
To serve as the wavelet basis for wavelet transform
$$ \gam... |
what is magnitude responce at ω = π/2M.Code Given is
M=8 % Channel
x=512*8
d1=kaiser(N,B)
d1=fir1(N-1,wc/pi,w);
[h1,fre1]=freqz(d1,1,x)
a1=max(abs(h1));
plot(fre1/pi,a1)
find magnitude at w=π/2M.
|
I have two cameras of which I know focal length, principal point, rotation and position. The cameras are in an ideal parallel stereo system.
I want to know with as few calculations as possible how much the images of these cameras overlap (let's say a percentage).
I am trying to follow a guide called Creating correct st... |
As I knkw the DCT is discrete cosine transform that mostly used in time domain analysis to frequency domain. Also 8x8 is used in nomaly in img processing. I don't know why that is defined by 8x8 .anyway 8x8 is used in processing.
BTW, I am want to know what is the difference between 25x25 and 8x8 in dct?
Is this just f... |
If I define a channel to have complex Gaussian coefficients, do I still need to add noise to the signal passing through this channel using the command "awgn" or would that be redundant?
|
I have been reading the paper from Matthew A. Tusk and Alex Pentland
https://www.cs.ucsb.edu/~mturk/Papers/mturk-CVPR91.pdf
I got stuck in this part. I have a couple of questions.
Assume my images are 256 by 256.
1- What are G1,G2...Gm ? Row vectors? Column vectors? (1*65536) or (65536 * 1) ? Or are they 2D vectors (2... |
I'm developing a device for tracking pets in a room with several motion detectors. I use a Kalman filter to estimate the position, which is based on the active outputs of the motion detectors. If an motion detector is active the center of the detection region is the measurement value (position). In some cases the filte... |
If the Nyquist rate for xa (t) is Ωs, what is the Nyquist rate for xa(2t)?
Will it be the same, increase 2 folds or decrease 2 folds?
|
I am thinking to estimate the uncertainty of holes photographed from the bottom and top side.
The difference of the same hole photographed from two sides is distributed as Gaussian.
The length of the plane is $10.00 \pm 0.01 cm$ where are holes distributed hexagonally with $50 \mu m$ difference in distance.
I have a... |
I have seen this thread: Difference between Fourier transform and Wavelets
AFAIK there is no common usage of wavelets in the real-time DSP world (excluding image and video processing).
I am curious why is it so?
Where on the other hand Fourier analysis is widely common and all the transmitter/receiver block diagrams ... |
If I have a set of signals each with $n$ points, I can take the DFT of each and then use the resulting frequency domain vectors as features for some classification algorithm. If the signals are differing lengths, the frequency basis used by the DFT is no longer the same. This means I can no longer directly use DFT as f... |
I have a 2D image defined on a region $\Omega$. Assume that the region can be separated into $N$ sub-regions $\Omega_i$ such that $$\forall i,j=1... N:\Omega_i \cap\Omega_j=\emptyset$$ and $$\bigcup_{n=1}^{N}\Omega_n =\Omega$$
Let $u_i(x)=1$ if $x \in \Omega_i$, otherwise $u_i(x)=0$. Then for a familiy $\{f_n:n\in 1..N... |
I am trying to simulate a simple communication system using channel estimation. I was able to estimate the channel response using the Least Squares channel estimator, and it is working properly (evaluated by the mean square error between the channel and its estimation). But once I have this knowledge, I need to equaliz... |
I am searching for documentation on the behaviour of complex low pass filters, and their application in telecommunications.
Thank you
|
I need to detect the time window where a 1D-signal is above a certain threshold. If it dips below the threshold briefly I'd like to merge the two windows, if it dips below for a longer time, split them. The data are received digitally as array $S[t]$ with equally-spaced $t$ intervals and represent precipitation forecas... |
In order to find a peak or max response in the fourier domain as in the spatial domain, I have been studying bartlett's method, welch's method, and the blackman-tukey method for more accurate power spectrum analysis after correlating two functions together in the fourier domain as depicted in this document.
But I had a... |
I would like to convert FFT data which is set of 396 values for 396 frequencies (from 4Hz to 399Hz by 1Hz) in unit of g's (gravitational akcceleration) to PSD in unit of (g^2)/Hz, is it possible? Thank you for your help.
|
What is the name/family behind the following high-pass IIR filter:
$
T = 1/f_s \\
f_c = 5 \\
c_1 = \displaystyle \frac{1}{1 + \tan(\pi f_cT)}\\
c_2 = \displaystyle \frac{1 - \tan(\pi f_cT)}{1 + \tan(\pi f_cT)} \\
b = \left[c_1, -c_1\right] \\
a = \left[1, -c_2\right]
$
Where $f_s$ is the sampling rate and $f_c$ the cut... |
Anybody know of a proof of the hard upper frequency limit of active noise cancellation using the ear canal volume as a boundary condition to solve for the upper frequency limit? I keep on encountering 1kHz as the upper limit in practice.
|
I am a novice in signal processing. I am writing a code to apply the hamming window to a sinusoidal signal. So first I have digitized my sinusoidal signal by choosing a sampling rate more than twice its frequency.
These are the values for the signal: F=500 Hz, T=2 ms, and sampling rate=2000 Hz.
Now, I guess I have to m... |
I'm trying to analyze the probability of detection ($P_d$) for a Swerling II target. I know that the Swerling II target assumes that the Radar Cross Section (RCS) is an exponential probability density function, and that the RCS fluctuates from pulse-to-pulse.
My question is: Do the Swerling models assume perfect decorr... |
What exactly hidden markov model does in speech recognition process? I read it is the representation of phonemes as states? What exactly is a state? Any detail article on HMM role in speech recognition process will be helpful.
|
I would like to design an FIR filter such that its Z-transform has a certain profile in certain regions.
For example, if I'd like to have an FIR filter that nulls the decaying exponential $\left(\frac{1}{2} \right)^n$, I can simply put a zero at $z = \frac{1}{2}$.
My question is, is there a more systematic way of desi... |
I want to learn the computational complexity of the 2D Discrete Haar (Wavelet) Transform (DHWT). The number of operations (divisions, summations etc.) is the main focus. I think there are many different ideas on that. There are even papers claiming that we do not need any multiplications for it. I am confused. Any help... |
Here is a sample image.
What I am looking to do is compute the dominant "wrinkle" directions.
The dominant wrinkle directions can be seen in the following FFT, roughly, by drawing a line through the highest valued set of points in the spectrum.
I have been told that a potential way to find this direction would be to... |
I have written a script to plot the frequency spectrum of a sinusoidal signal with c++. Here are the steps
1-Applying Hanning window
2-Apply FFT using fftw3 library
I have three graphs: Signal, Signal when is multiplied to Hanning function, and the frequency spectrum. The frequency spectrum looks wrong. It should have ... |
I'm trying to create a filterbank whose frequency response is generally flat when summed in parallel. Are there any tips to choosing center frequencies and bandwidths for a filterbank of overlapping bandpass filters? Does a gammatone filterbank sum up to a flat response?
|
We all know that $a^nu(n)$ has unilateral $\mathcal Z$-transform. But what is the $\mathcal Z$-transform of $a^n$? (bilateral) When i tried to solve, i got answer as 'zero'.
But bilateral Laplace transform of $e^t$ doesn't exist. Both are exponentials in discrete and continuous domain respectively. Considering the si... |
$c[m,n]$ is the spatially varying gain.
My prof says that its not shift invariant. However if we put $m=m-k$ and $n=n-l$ we get $c[m-k,n-l] f[m-k,n-l]$ which is how a shift invariant system should behave.
|
This tool (Paul's Extreme Sound Stretch) is able to produce extreme timestrech (50x, or even 100000x). Any song can become an interesting sound texture or ambient music (listen to this example).
The technique used is mentionned as:
"spectral smoothing" the sounds.
How does an extreme time stretch algorithm work?
(it ... |
I have a a channel matrix "H" that is circulant.
I have data blocks.
I want to add the channel effects to the signal.
When H was only a vector of channel coefficients I would say:
%Going Through The Channel
After_channel= filter(H,1,Data);
but now that H is a matrix the line above wouldn't work.
I'm not sure what ... |
The given sequence
$$x[k]=\delta[k-1]-3 \delta[k] + \delta[k-2]$$
represents a period of some discrete periodic signal $e[k]$ with period N=3. Find the Fourier transform of $e[k]$.
This is an exercise in my textbook and i don't get it. Is $x[k]$ the first period of $e[k]$? If so, does that mean that the DFT of $x[k]$ ... |
$X(z) = \displaystyle \frac{1}{z}{\left(1-\frac{z^2}{4}\right)\left(1+\frac{1}{z}\right)\left(1-z\right)}$
Using partial fractions expansion i came up to this:
$\displaystyle \frac{1}{X(z)} = \frac{-\frac{z}{3}}{1-\frac{z}{2}} + \frac{\frac{z}{3}}{1+\frac{z}{2}} + \frac{\frac{2z}{3}}{1-z}$
I tried but i can't go on any... |
I am trying to make a minimum phase filter (in wxMaxima) according to these steps:
first create a "normal" FIR (a simple sinc, wc=0.4, random example, but in the pictures a remez with Octave)
calculate the zeroes (allroots() function)
delete the zeroes outside the unit circle (anything>1/0.98, tolerances&co)
delete ha... |
I have experience with the design of FIR, IIR digital filters. I also know about the Kalman filter, but I am not skilled at using them. Consider the case of a low frequency signal from discrete samples and the signal is corrupted by high frequency noise. It seems a digital low pass filter and a Kalman filter are two wa... |
When I apply differerent thresholding, wavelet denosing functions to non stationary time series which has been detrended via Loess regression and demean it. I expect that when this processed series are submited to denoising / thresholding will result in a clean series with smaller values than the submited signal and no... |
I measure noise in different systems by looking at voltage fluctuations. I wanted to use a Keithley SMU for that purpose, by storing the data in the buffer and then reading them out. However, I found that the data points are not measured at equally spaced points. While the difference is small, it is still visible. For ... |
I've been developing a web app as a hobby over the past few months which is essentially a real-time Javascript clone of the audio visualizer used by Monstercat. While it looks kind of close to the original, I haven't been able to figure out how some aspects of the visualizer work and how to replicate them.
For instance... |
The difference equation is written:
$$y(k)-\frac{5}{12}y(k-1)+\frac{1}{24}y(k-2)=x(k)-\frac{1}{2}x(k-1) $$
The system is linear, invariant and causal.
For $x(k)=δ(k)$, the equation will be:
$$g(k)-\frac{5}{12}g(k-1)+\frac{1}{24}g(k-2)=δ(k)-\frac{1}{2}δ(k-1)$$
I calculated $g(0)=1$, $g(1)= -\frac{1}{12}$, $g(2)= -\frac{... |
I am doing simulation of FMCW radar. I am applying signal processing chain on raw radar data. Here in the code below, I am taking fft of data and plotting it. Moreover, I am doing zero padding by multiplying the signal length by 1000. I should be getting beat frequency at 2.020 MHz instead I am getting at 2.019MHz. The... |
Suppose I have a discrete state space model:
\begin{align}
\theta[k+1] &= A \theta[k] + B u[k]\\
y[k] &= C \theta[k]
\end{align}
I know that the equivalent transfer function can be found by solving
$$
Y(z) = C (zI-A)^{-1} B U(z)
$$
But is there a quick way to determine the order of the transfer function for each input?... |
The project I'm working on allows a user to speak through a PA system with their iphone as the microphone. Unfortunately, the existing audio units in iOS don't eliminate the feedback between the PA speakers and the iphone microphone and there is instant and debilitating feedback. Is there a way to overcome this issue u... |
I'm using the Rayleigh Channel in Simulink but I can't calculate the BER. I always get values near to 0.5 which doesn't make sense (even using high EbNo values). [In this simulink model][1] I found a trick to calculate the BER but I also would like to use delays and attenuation vectors.
Any idea of how to calculate the... |
CS is based on a choice of a sensing basis $\Phi$ relative to a representation basis $\Psi$. There are many well known pair matrices for $\Phi$ and $\Psi$ like random Gaussian and FFT, and also they should have low coherency which can be calculated with:
$$\mu(\Phi, \Psi) = \sqrt n\cdot \max\limits_{1\leq k, j \leq n} ... |
I am trying to create short seamless loops of continuous sound.
I recorded myself making an "Aaaaah" sound at 44.1 KHz, and cut this recording to a section containing 4096 samples (giving me slightly under 1/10th of a second of audio).
When I play this in a loop, the sound is very much recognizable but there is of cou... |
I've been experimenting with various methods to detect defects in printed images. Features that are qualified as defects may include scratches, discoloration, etc.
I'm not very experienced in image processing and not sure if my approach would be acceptable.
There are several approaches that I've tried:
Given two imag... |
How does one average a group of frequencies? Frequencies taken for example using FFT.
That is, given n frequencies over m time intervals (n $\leq$ m), how should one "interpolate" between those frequency values so that one gets a response that's "average", rather than direct.
I don't mean to calculate the average of al... |
$\displaystyle y(t) = x(t), t \ge 0$ and $-x(t), t \lt 0$
I can anticipate this system is time-varying.
However, I cannot be sure it and prove it.
please help me.
|
As a project requirement, I am supposed to modulate a complex baseband signal to a carrier frequency of 2.4 GHz. These are the steps I followed for the baseband modulation and demodulation:
Generate Data -> OQPSK Modulation -> Up Sample -> Pulse shaping -> AWGN Channel -> Matched Filter -> Down Sample -> OQPSK Demodula... |
My attempt :
a) Summation of all values?
b)c)d) Failed
e) Parserval's theorem
|
I am new here and also am not very knowledgeable about DSP so this might be dumb and easy. I am aware of the fact that in order to reconstruct a signal, I need to sample it at a frequency that is more than twice its highest frquency.
In the example below, I use N=50 samples and expect the reconstruction to fail if I u... |
$$ x(k)=4[u(k-2)-u(k)*δ(k-3)]$$
I found that the $\mathcal{Z}$ transform of the signal is $X(z)=4/(z^2)$.
What would the ROC be?
|
Is it possible to find the Fourier transform of a discrete signal if you know its $\mathcal{Z}$-transform of?
|
$$G(z)=\displaystyle \frac{\frac{1}{z}}{1+\frac{5}{6z}+\frac{1}{6}z^{-2}}$$
I found:
$$g(k)=\displaystyle \left(\frac{-1}{3}\right)^k - \left(\frac{-1}{2}\right)^k$$
I don't understand how I can find the fourier transform of $g(k)$ from $G(z)$.
|
I'm looking at some code that matches audio templates in a longer audio file. The calculation correlates the power spectra of the template and audio file, maximizing over the possible alignments. This seems sub-optimal to me, because by going over to the power spectrum we're throwing away phase information. Yet when I ... |
I have a signal that has both AC and DC components and both a re varying with time. How can I extract the varying DC wave from the signal?
eg: A PPG (Photopletysmography) signal extracted from a healthy patient.
|
I have a line scanner output that is scanning the geometry of a surface. Typically the output looks something like this:
Where the x and y axis refers to the coordinate system in mm. (ignore the red dots). This data is essentially a 2d point cloud.
So what i am trying to achieve is to detect the corner points of this ... |
Firstly: I hope this isn't the wrong place to ask. I'm usually over in the coding forums. But this seemed like the appropriate forum for the question.
It occurred to me that if several of Google's self-driving cars were lined up together at each side of an intersection, there would be tons of untimed backscatter across... |
What is the fourier transform for finite aperiodic discrete signals and for infinite aperiodic discrete signals?
Are they different?
|
I am reading the implementation of IIR Gaussian blur filter from this link.
In the source code, the coefficients are generated by the following code
/* Calcualte Gaussian Blur Filter Coefficiens
* alpha -> smooting gradient depends on sigma
* k = ((1-e^-alpha)^2)/(1+2*alpha*e^-alpha - e^-2alpha)
* a0 = k; a1 = k*... |
My instrument performs measurements at non-equal time intervals, i.e. non-uniform sampling. Apart from this, I usually oversample (by a factor of $n$) for reasons related to filter design, and afterwards downsample by taking every $n^\text{th}$ sample. However, with non-uniform sampling, things seem to be non-obvious. ... |
In the literature, I see that a 2D signal can be transformed by first doing a 1D transformation on each row of the matrix followed by the same procedure on each column. It seems that $k^{th}$ level end up with $depth - k$ copies squished into the HL and LH bands when $depth>k$. Clearly I'm doing something wrong--any in... |
Is there any matlab (default) function for Discrete Hartley Transform? And is it applicable for audio signal? I want to apply it instead of DWT or FFT.
|
How to evaluate performance of a model after estimating ARMA/MA/AR parameters for any process x(n)?
How to regenerate back a process after estimating average parameters?
what kind of performance measure can be used to evaluate the corresponding model?
|
I am working on signals to check how approximation can change the results. I am testing on example that can change frequency from 22kHz to 20 KHz. I prepare this script in MatLab
clc;
close all;
clear all;
Fs1 = 22000;
Fs2 = 20000;
TimeStep = 1/Fs1;
Length = 100000;
time = (0:Length-1)*TimeStep;
InputSignal = sin(2*pi... |
I'm writing code for a 3x polyphase interpolator using a total of 9 coefficients. This is organized as 3 parallel FIR branches with 3-taps each that are summed at the 3x sampling rate.
The problem I have is the impulse response looks correct (I get my 9 filter coefficients as output) but when I use a real signal that i... |
I suppose that an image is affected by a multiplicative noise (or additive noise and etc.). I want to quantify and measure the rate of noise (for exemple 1%, 2%, ...,25%) present in an image. I used the snr and psnr but they give me the values measured in dB (decibel). Also, how can I implement this in MATLAB?
Can I ... |
Consider we have an image like this:
After applying a Low Pass Filter (say Butterworth), the result is :
And after applying a High Pass Filter (Butterworth), the result is:
The text book (Gonzalez) explains everything clearly. But I still cannot catch the point why the background in LPF is white(gray) and in HPF is ... |
I am not a signal processing expert. I have data like this:
where the red is what I have and the black is what I want to have. Any idea how to reconstruct this? The code for generating the data is here:
close all
Ndata = 1000;
X = nan(Ndata,1);
sigma = 0.5;
Y(1) = 50;
offset = 0;
for i =2:Ndata
% consumption
X... |
This question stems from an article,
"Entropy estimation of symbol sequences" download link
where the abstract mentions the need for using symbols in information theory.
Random chains of symbols (zeros and ones or characters) $s_1, s_2,\ldots,$ drawn
from some finite alphabet
appear in practically all
science... |
I am working with seismic waveforms and more specifically with a stack of years of daily seismograms, that I would call the reference waveform. I am trying to calculate the SNR for each daily waveforms by using the envelope of the reference, but I have doubts on how I should calculate the noise.
Concretely, I am trying... |
This is an experience-related question about cameras and image processing.
I have a laboratory setup. Under some simplifications it looks like a red ball rolling on a white table (the real setup is shown on the video). A computer vision system should measure X and Y positions of the ball.
For now I use a color camera ... |
I understand Gray codes have one bit change between them and how to convert between binary and gray. But given a bit length of n, I want to generate a series of Gray codes (all possible) that have one bit change and have maximum k ones.
Example: Given n = 3 and k = 2
000 001 011 010 110 100 101
|
I am interested in how should a listing for a program look like that will generate a sine of f=50hz, using the next arguments for any moment in time.
float phis=162*PI/180;//initial phase of signal
////////////////////////////////////////////////////////////////////////
// generates a sinusoid of dwLength in dwData
... |
I cannot find out what does "notch" means in image processing?
We have selective filters that one of the best of them is Notch filters. but what does the concept of "Notch"? why they are called "notch" filters?
|
I'm trying to work out the best way to zero centre an audio clip for a forward FFT. I've been trying rotate my audio so that a peak exists mid way (N/2). This seam a little naive and I thought I had read that you can zero pad the centre of the audio clip in order to achieve the same result. Am I mad? what is the ... |
I have searched high and low for a practical guide to implement a simple 50Hz low pass filter on a signal. I understand the theory but its the practical but that's missing. If I was using MATLAB it would be trivial because there are so many examples but I am coding this by code.
This is where I am at:
1: I have a serie... |
Can someone please explain the illustration (figure 1.19) at the bottom of this image? It looks like there are four sampling points but I don't understand what the different curves represent. Actually except from the dashed curve I can't even distinguish the different curves from each other. Can someone please clarify ... |
In this example, under "Discussion", we can see that the Nyquist sample rate will result in samples with the value zero only. But why is this? I thought the sampling theorem said that if you sample with the Nyquist sample rate or higher, then the original signal can be exactly recovered? But in this case it can't? So d... |
I am implementing a software to auralize a virtual scene but am kind of a newbie to DSP. The focus should be the calculation of the IR which is frequency dependant. But this means that the renderer of the sound should be able to convolute reverb in a frequency dependant way (in realtime possibly). A IR has a set of Ref... |
Probably a stupid question, but I'm slowly making my way through Julius Smiths' filter book. The maths is slightly defeating me at points.
This function $H(e^{j\omega t})$, why is it a function of a formula?
All my functions at school a decade ago were of a single variable, and you took the thing in the brackets a... |
I am studying wavelet theory by myself and hope to use wavelet to denoise images. I write one matlab program to watch denoised image.
Gray = ones(512, 512, 'uint8');
Gray = Gray.*128;
Gray = imnoise(Gray, 'gaussian', 0, 0.01);
[cA1, cH1, cV1, cD1] = dwt2(Gray, 'db1');
[cA2, cH2, cV2, cD2] = dwt2(cA1/2, 'db1');
[cA3, c... |
Hi all,
How do we interpret a power spectral density plot. I have used modified covariance and burg methods and plotted using MATLAB. What does the peaks at some frequencies suggest? and what is the difference between positive and negative power in the graph? how do we know that which frequencies variations are strong... |
I have a stream of 250 samples per second arriving at a pipeline stage which looks something like this simplified example.
class PipeLineStage(...):
historical_buffer = []
def _process(self, sample):
historical_buffer.append(sample)
altered_sample = ...
return altered_sample
_process ge... |
I am trying to resample a signal using the fourier method in python using np.fft.rfft() and np.fft.irfft(). (I'm not using scipy.signal.resample() because in my final application I need to do more to my signal in the frequency domain than what can be accomplished by the window argument of scipy.signal.resample().) I ha... |
I have a baseband, bandlimited signal of 100 Hz. I sampled it at 2000 Hz. Now for reconstruction if I pass them (the samples) through an analog filter of say 200 Hz, would the reconstructed signal be same as the original analog signal. In books they pass it through a LPF with cutoff frequency of 1000 Hz. I am quest... |
The FIR low-pass filter was designed in MATLAB which characteristics are listed below. Coefficient of this filter was written in variable h. Basis on this filter design a band-pass filter with central frequency 1/5(normalized to fs) keeping the same gain and bandwidth. Give the listing in MATLAB(no using buitl-in funct... |
Write listing in MATLAB which design a low-pass IIR filter basis on Butterworth (Rp=2dB, Rr=40dB, fp=1000 Hz, fr=1300 Hz, fs=5000 Hz) as a prototype and using bilinear transform without built-in functions. Control the point(fr,Rr). Plot the response characteristic (linear scale, and dBs scale).
|
I am working on speech synthesis with LPC and I originally implemented a pre-emphasis filter:
+(void)processBuffer:(Buffer *)buffer {
float alpha = -0.9375f;
for (int i = 1; i < buffer.size; i++) {
buffer.samples[i] += buffer.samples[i - 1] * alpha;
}
}
And found that my output audio was distorting... |
I need to recognize just one bird. I am trying to compare the syllables extracted from the sound samples. As a result of the spectrogram function, the power spectral density is taken from the sound. They are 2 dimensional values. I like to compare this test signal with a known signal which is another 2 dimensional valu... |
Given a known signal $ x \left( t \right) $ and its delayed version $ y \left(t, \tau \right) = x \left( t - \tau \right) $.
Both are sampled by Sampling Frequency $ {F}_{s} $ to generate the signals $ x \left[ n \right] $ and $ y \left[ n \right] $.
Assume they are sampled on a time support much larger than their non ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.