instruction stringlengths 31 27k |
|---|
Do we have methods to represent FIR filter in recursive form?
One of the methods that I know is frequency sampling method.
Can someone provide me any method?
|
Hey i was wondering whether approach presented in this video (6:10) is a good approach to solve this task. Cause it seems kinda tricky and i was wondering whether it can be done faster.
|
I am trying to track down references (published articles or reports ideally) that establish the basis for some of the techniques being used to minimize the effect of recursive digital filter startup transients on the sampled signal. My specific application is the digital filtering of acceleration signals that have alre... |
$x_a(t) = \cos(2\pi f_a t)$ was sampled with sampling period $T_s$. Plot the { spectrum | $N$-point DFT } of $x[n]$ ($f_a$, $T_s$ or $f_s$ given, $N$ given - whole number of periods or not).
Anyone can help?
|
One of known models for channel simulation is called Rayleigh Fading channel, it's usually used to simulate wireless channel in time variant/invariant.
As I know, Rayleigh fading channel can be considered as sum of two Gaussian random variables, we can use the below command to generate that channel:
h = 1/sqrt(2)*[ra... |
Write MATLAB code that determines and plot the N-point Discrete Fourier Transform of x[n] defined by the following equations:
x[n]=0.5*pi*n n=0:16
Compute and plot 16-point DFT using two 8-point FFTs and combining techniques?
|
The transmitting signal is
$$
s(t) = \sin(20\pi t)+\sin(40\pi t)+\sin(60\pi t)
$$
The received signal after AWGN channel is
$$
r(t) = s(t)+n(t)
$$
where the variance of noise $n(t)$ is $\sigma^2$.
The theoretical single spectrum of the $r(t)$ should be
$$
R(f) = \pi\delta(f-10)+ \pi\delta(f-20)+ \pi\delta(f-30)+\sigma... |
A few months ago, as part of my summer internship, I had performed interfacing of an ADC with FPGA (Zynq-7000). The goal was to take an analog signal from a signal generator, feed it to the ADC and present the digitized output to the FPGA. The FPGA was supposed to perform FFT on the data through an algorithm which we h... |
I am working with beamforming algorithms for speaker arrays. One of the problems we face is that we need to estimate the maximum amplitude of our test signals after we applied FIR/IIR filters to them. I am looking for ways to express the reduction in headroom that a given set of filters would give us. Ultimately I want... |
I'd like to duplicate the plot in the Wikipedia entry for Daubechies D4 scaling and wavelet functions:
I don't have Matlab or Mathematica, and my question is not about hacking the curve, but rather understanding the recursion that generates it. So I wonder if it'd be OK to ask for some pseudo-code implementable in Pyt... |
I am trying to understand the following piece of text. I am not used to dealing with sound intensity and power so I'm not familiar with the derivation of the formula $(*)$ below.
Statement: 1.
We assume there exist $K$ point sources in the far-field indexed by the letter $k$. Each propagates in the direction of the un... |
I have an application in which I need to remove DC components from a sampled signal in real time (basically the same constraints of ECG, but it has nothing to do with the brain). My measured signal in in the single µV range and the undesired offset wanders around and can be as high as tens of mV.
In this application, f... |
So I have been given to understand that the discrete wavelet transform is able to provide both time and frequency resolution in ways that classic Fourier and even short time Fourier cannot. By carrying out discrete convolutions of the wavelet at different scaling factors, one can perform this transform. Now, I have bee... |
I'working with esp32 and for some project I need to know something about wav files. I saw into many wav files with HxD and play them with Audacity. Still I do not understand why Audacity play silence either bytes into file are all 0x0 either the bytes are 0xFF, 0xFE and what you want.
I cataloged the WAV file in two b... |
I am running into a problem where I have a control system $S[t]$ that takes a control $C[t]$, so that
$$S[t+1] = H(C[t,t-1,...], S[t,t-1,...])$$ the response of the system is the history of controls and responses.
I am looking for a way to control $C[t]$ to optimize the value of $S[t]$ at any point in time.
What is th... |
I have a matrix
P = randn(45875x65536 );
Pi = pinv (P);
I tried to run this code in matlab, but it takes long time
is it possible to split the matrix into smaller matrices then calculate the pseudo inverse?
any suggestion to reduce the time ?
|
As part of a project I need to use autocorrelation method of estimating model paramters of an autoregressive process on MATLAB.
Can anyone tell me the simplest way to generate an AR(2) process on MATLAB so that I can estimate its model parameters $\hat{a}_{p}(k)$ and $\hat{b}_{0}$?
The difference equation for the proc... |
I have a question regarding discrete inverse Fourier transform, and no answer I found on the internet seem to be satisfying. This might be because I do not fully get some of them, so please excuse my ignorance.
Suppose you have full knowledge of a frequency-domain function $\hat{f}(\omega)$. It is a continuous, well-be... |
To be more clear I want to get a general expression for
PƟ(t)= ∫∫rect(x)rect(y)δ(xcosƟ+ysinƟ-t)dxdy
I also want to find particular projection for Ɵ=0 and Ɵ=45 and also Fourier Transform of the projections at 0 and 45. I kinda new at image processing and projections, thus I could not figure out a way.
Thanks in advance... |
What are the factors that affect the accuracy and precision for the phase that is given by the DFT?
Just thinking medium-hard about this, it occurs to me that it must have something to do with the window length $L$ and the sampling frequency $F_s$, and maybe the fundamental frequency that I'm interested in extracting?
... |
This is my first post on DSP.SE! I'm a student in Computer Sciences and am just getting started with Signals and Systems, thus getting in touch with discrete signals and analyzing them.
I wanted to explore this world a little further and so my first goal is to create a Sine Wave that has a Frequency of 440 Hz and writ... |
From residual in the linear regression to noise in signal processing are assumed to be normally distributed? By considering them as normally distributed we are kind of telling the pattern in the noise but shouldn't noise be considered random. This seems contradictory to me as on one side it is random then on the other ... |
I am doing a course in communications and while discussing multicaruer modulation to break down a signal into smaller bandwidths (for BW to be less than coherence bandwidth), there was mention of transforming the signal to frequeny domain before transmission. Logically, that doesn't seem to be useful to me as the hardw... |
I am reading about channel equalization and I am somewhat confused on where in the signal chain channel equalization is normally applied and if it's before or after a correlator detector or matched filter.
My confusion is that if equalization occurs before matched filtering/correlator detection, then a training seque... |
I have a 2d 'grid' of xy points (2000 of them).
I want to find the average vector between points
I have drawn the vectors on the graph, how do I find these vectors mathematically? I want to find the average vector between points for the whole set of points.
|
I just came from a class where the professor showed a slide with the definition of sampling:
But I do not understand how we can multiply a signal $x(t)$ with the delta function $\delta(t)$, as the $\delta(t)$ is infinite at $x=0$. So this multiplication would amount to multiply a real-valued function with $\infty$ whi... |
In the book I'm studying from "Applied digital signal processing - Manolakis" it says:
The problem with FIR notch filters is that the bandwidth of the
notches is large. A simple way to create sharper notches is to place
the zeros on the unit circle and two complex conjugate poles at the
same angle with the zeros... |
I'd really appreciate it if someone could please explain to me the condition for a LTI system to be BIBO stable, in z-domain.
I have a background in control, and in linear control for example, if we have the transfer function, we simply look at the poles. But in digital signal processing, sometime we look at the poles ... |
For continuous time $ e^{jk\Omega_0t} $ gives a complete set of orthogonal harmonics for fourier decomposition but for discrete $ e^{jk\omega_0n} $ does not form a complete set orthogonal basis set to decompose a signal because... ?
No Answer yet on 21 Nov 2018,
If you know please help :(
|
I am new to DSP, and I am self-studying. I came upon this question, and I am stuck at it. Could someone please help me? Here is the question:
In order to digitally create a sinusoid with frequency $f$ = 440 Hz, you
will need the normalized angular frequency $\omega$. How large is $\omega$
for a sampling frequency ... |
I am doing a program that counts coins (and tells their value by their size) with OpenCV (C++).
Let's say we have an image of some coins.
If there is an overlap of two coins at the same time, it is relatively easy to segment the coins doing the distance transform, thresholding so that coins are sepparated, doing a skel... |
I am trying to implement a butterworth bandpass filter
My filter requirement is Fs= 500Hz, Fc1=0.4Hz, Fc2=4Hz, Oreder=2.
Below is the code which is implemented on 16bit-mcu and is called for every new sample
The coefficients are calculated from http://www-users.cs.york.ac.uk/~fisher/mkfilter
static int32_t xv[4+1], yv[... |
A simple linear system is echo. It can be described by equation
$$
y[n] = x[n]+ k\,x[n−d],
$$ where $n$ represents sample index, $k$ represents an attenuation coefficient, and $d$ represents time lag.
How can I add echo to an input signal in MATLAB with convolution?
I'm new at MATLAB.
|
Even and odd signals , and impulse testing like convolution signals
|
I have the following image I and I want to add additive noise using the array N below. Can you please give me a calculation example of how to achieve this?
Do I have to move from image space to frequency space?
Thank you in advance!
|
I have a signal that's monotonic and roughly linear and have been looking at using Linear Predictive Coding to encode information and compress my signal. I guess my first general question is if this is even possible for general signals? I also see LPC mentioned in the context of speech so I'm wondering if LPC is partic... |
When using lossy encoding can similar adjacent video frames become merged or even identical?
For example, if frames A, B and C occur in sequence and are similar but different, can the encoded video render A, A, A when played?
I am referring to this tweet from Channel 4 News that implies that the veracity of a video can... |
Take an example of the below plot for an LPF (Source : WikiPedia)
The plot starts from $0$. We know that the fourier transform of any signal brings in negative frequencies due to complex exponentials (which are just as real as positive frequencies, just to be clear) but most of the frequency response plots I have obse... |
Two signals are given to me :
$$x(t)=\cos(4\pi t)$$
$$y(t)=\sin(4\pi t)$$
I have founded their coefficients as follows:
$$a_k = a_1=a_{-1}=\frac{1}{2} $$
$$b_k = b_1=b^*_{-1}=\frac{1}{2j} $$
Now I am stuck at convolution. In the formula of the convolution:
$$\sum_{l=-\infty}^{\infty}a_lb_{k-l} $$
Wh... |
An arbitrary signal $v(t)$ pass through the following system,
$w'(t) + 5 w(t) = v'''(t) + 320v''(t) + 40 v' (t) + 40v(t)$
How to determine the coefficients of the following differential equation, where the input signal is $w(t)$ and the output signal is $z(t)$,
So that the output $z(t) = v(t)$ (after long time when the... |
How does one Fourier transform the following signals? $$x[n]=[0,9,0]$$ and $$y[n]=[9,0,19,0,9]$$
I've tried to get it along the way of $$X[\omega]=e^{-i\omega n}$$
but this seems incorrect. I'm not sure how the second one is supposed to be handled as well.
|
I implemented a filter similar to the one below, within a FPGA. Two substractors and an accumulator.
The recursive equation is given by:
My inputs are exponentially decaying pulses of the form sampled every n
I want to express y[n] as a function of the pulse amplitude A (which I need to retrieve), and the constants ... |
I read the paper Deep Feature Flow for Video Recognition https://arxiv.org/abs/1611.07715.
In Sec.3, the author implements bilinear interpolation like this:
$$f_i^c(p)=\sum\limits_{q}G(q,p+\delta p)f_k^c(q) \tag{1}$$
Where $q$ is the point from the source image, and $p$ is the points on the target image. $\delta p$ is ... |
Let's say size of the image is 100 x 100 and the kernel matrix is 5x5. I took the DFT of both the image and the kernel. But how do I multiple these two matrices? And which parts involve in these multiplication? real, imaginary or magnitude? Thanks
Is this what am I supposed to do? And at what locations I put 0s to mak... |
Im struggling to understand why in some images the frequency domain shows clear bars with amplitude and phase and with 0 frequency variation (it is clear that the frequency of the waves does not change in the image on the left).
Yet in others it shows it sloping or curving upwards:
Why isn't this a bar when the frequ... |
I have a noisy signal consists of sum of sinusoids, I had a situation where some of the time domain samples are zeroed randomly.
The following figure shows the DFT before and after zeroing, the number of zeroed samples are 40 out of 128 samples.
Obviously there is no much degradation of the DFT spectrum,.
What is the ... |
I am reviewing some bandlimited communications theory and something is bothering me -
My book says increasing the roll-off factor makes the received sequence more tolerant to timing recovery errors but it's very clear that the strongest peaks are not at the sampling instances. Thus it doesn't seem that the system is v... |
I am reading a chapter on digital filter design from analog filter design using difference equations. What they do first of all is that they map $s$ (Laplace variable) to $z$ ($z$-transform) by the following relation,
$$z = \frac{1}{1-sT}$$ where $T$ is the sampling period.Now there is a complete paragraph on how a de... |
I understand the general method of designing high pass and low pass filters with a specific number of poles and zeros. However, if given a specific sampling frequency, let's say 2.4 kHz, and asked to make
the peak of the high pass filter to be 1.2 kHz
and
the peak in the passband region of the bandpass filter 1.2 kHz... |
My objective is to build a noise shape filter from a given transfer function (in one case) and from a given PSD (for another case). Checking my precedent questions you can see that this argument is keeping me busy by long time.
You can check this for my first attempt. First, I have noticed that $SD = \sqrt{PSD}$ and no... |
I am new to dsp, and I'd really appricate it if someone please help me with this problem. I guess it's a basic simple question, but I cannot get it write. Here is the question:
The variance of a random signal generated using MATLAB command randn is approximately 1. We need a random signal with variance 0.01. With which... |
I'm just starting estimation theory for my DSP course and I'm a bit confused about the classic example given everywhere which aims to show that two unbiased estimators can have different variances.
I'm just wondering how they did that step that I have a question mark beside. I understand intuiviely that the average o... |
What are the advantages and disadvantages of doing Zero-padding, in particular the case of speech signals?
|
can someone explain why the ideal frequency response of a low pass filter cant be implemented using the inverse discrete time fourier transform.
i understand the concept of why it cant be implemented because a digital filter is infinite and non-causal, but i can't explain it using the equation. can someone help?
lookin... |
I am trying to make a DFT on a signal with frequency f=50 MHz main component plus some noise.
As far as I know if I sample it at F=100MHz I should be able to get a proper plot of the DFT since F=2f and I should see a peak at 50MHz, this instead does not happen,see first figure.
But instead I obtain what expected when ... |
I encode data in audio by energising 5 frequencies between 17.5kHz and 19.5kHz:
I play the WAV on a sports stadium (20k seating, so BIG) PA rig, placing a microphone somewhere in the spectator seating area.
This is the data (I did it at vol=0.6 and vol=1):
As can be seen, there is some kind of 'ringing' occurring. Now... |
I am trying to extract the DC component out of a PWM signal produced by the MCU using a LPF.
I understand that 1st order RC filter is looked upon as being amateurish because the gain in the passband will be still less than 1V/V and because it does not have low enough roll off factor.
However, the PWM frequency of the M... |
I am still trying to iron out some ambiguities in my understanding of the IFFT component of OFDM modulation schemes.
So here we have a QAM symbol $s_0$ being multiplied with the subcarrier for that frequency bin, $s_1$ being multiplied with carrier 1, $s_2$ carrier 2, and it shows clearly that the sum of these product... |
I have a long measured impulse response and I wand to shorten it.
I imagined two options. The first is a simple windowing. The second is to model it as an IIR (prony, yulewalker, stmcb method) before to use this filter to regenerate an IR of the appropriate length. My intuition leads me to think that the second method ... |
In this question about the design of a FIR filter with arbitrary magnitude and phase specifications user robert bristow-johnson suggested to split the desired complex frequency response $H$ into its real and imaginary parts $H_R$ and $H_I$, then use firpm or firls to design two linear phase filters for both, setting th... |
I have two time-domain signals sampled at 100 Hz that were measured using two different oscillators and therefore have a time drift between them. I have two synchronization points, one at the start and one at the end of the measurement (usually about 24h long).
The drift is very small, about 1 second for a 24h measurem... |
I have series of gray-scale 8-bit frames and I want to convert them into AVI video. How can I do this? Is there any existing converting utils or products for this type of task? I even do not understand how my format is called, is what I have (digitized stream from analogue interlaced PAL TV-camera) could be considered ... |
For adaptive compressive sensing(cs),the sensing matrix is related to the input signal.
For example, in rakeness-based(cs), the sensing matrix is obtained by solving an optimization problem which maximizes the correlation between the input signal and the sensing matrix,meanwhile minimizing the coherence between the col... |
In Python (and Numpy), I recently did:-
a = np.random.randint(0,256,1000)
b = np.random.randint(0,256,1000)
and when I calculate the correlation coefficient $r$ using:-
np.corrcoef( a,b )
I get a value of 0.07944437. Rounded, that's 0.08, 8% or about $1 \over 13$ th.
$r$ is said to typically range -1.0 thru 0.0 to... |
I am trying to find the given note in an audio file. It has been specifically told that each file contains only one note. So i directly took fft and found the corresponding frequency and then mapped it to corresponding note.Out of my test cases some are giving the correct answer, but some are not.
|
So I am attempting to filter a signal containing frequencies at 7Hz, 11Hz, and 74Hz. The signal lasts for 30s and looks like this between -1s and 1s:
Using a butterworth filter of order 2 with lowcut=8Hz and highcut=4Hz (bandpass) in an attempt to filter the 11Hz component, I get the following overall signal:
Now, of... |
I did my research but I did not get a satisfying answer.
We have a transmitter and a receiver over a wireless communication channel. The channel's path loss is modeled as
$ 128 + 37 \log_{10} (d)$, with a shadowing standard deviation of $10$ dBs.
I am assuming that this path loss equation is expressed with dBs (not... |
I have a complex observable series $Y(t)$ which is the result of summing two complex r.v $X(t)$ (unobservable) and a $\epsilon(t)$ (unobservable).
$$Y(t)=X(t)+\epsilon(t)$$
Assume that $X$ and $\epsilon$ are independent, and that $\epsilon$ is serially uncorrelated and has constant mean and variance.
I construct a Han... |
I have an ECG signal which I am analyzing using Python, as opposed to the mainstream MATLAB. So, I have digital form ECG in .dat file with .hea (header file). Below is the Fourier transform
The problem, as you can see, that it is not the correct Fourier transform. Below is my code.
import wfdb
import matplotlib.pypl... |
I am solving a question from book in which I have to use summation. It is as follows:
$$ \frac{1}{10}\sum_{n=0}^{9} e^{-jk\omega_0n} $$
The value of $\omega_0$ is $\frac{2\pi}{10}$.
What I have done so far is:
$$ \frac{1}{10} \left(\frac{1-e^{-9jk\frac{2\pi}{10}}.e^{jk\frac{2\pi}{10}}} {1-e^{-jk\frac{2\pi}{... |
I'm using Matt. L.'s lslevin.m function to design long ($N\approx 400$) filters to an arbitrary phase and magnitude specification. The specification is the result of a numeric optimization and does cover frequencies between 200Hz and 19kHz. I found that the designed filters show poor approximation of my desired frequen... |
I'm taking a DSP course and we're being introduced to the whole probability/stats side of DSP and I'm just confused on things like the ARMA models. These things don't seem intuitive to me at all.
First of all, what exactly is the point of the ARMA model? Just to predict what future values of x[n] (the input) will be?
S... |
I'm specifically trying to use an inverse Fourier Transform to find $h(t)$, but I'm finding it difficult to get $H(\omega)$ in the first place.
I'm under the impression from my textbook that $H(\omega) = |H(\omega)|e^{j\arg\{H(\omega)\}}$, and that $h(t)$ would just be the inverse Fourier Transform of that.
|
I need to calculate the first derivative of a greyscale image (a 2D array) using a DFT function I built (which works). Unfortunately, the results don't seem to be correct.
In the fourier domain, the derivative d/dx is given as F(u,v)* 2*pi*i/N * u, where u is the x-axis transformed, N is the size of one of the matrix's... |
If I was given a differential equation of the form $$y'(t) + a(t)y(t) = x(t)$$ how would I be able to decide its linearity, time-invariance, and causality?
|
I want to segment the image below (click for bigger image) into columns based on the natural gaps that exist in the columns. The columns should be perfectly vertical and need not be the same size, but should split each column by itself.
I have tried Hough Line Transform, Scipy Label, convolution filters, specifying man... |
In the book Statistical Digital Signal Processing and Modeling by Monson Hayes, it is shown (in section 8.5.1) that when an AR(2) process described by the following difference equation
$$x(n) = 0.9x(n-2) + w(n)$$
is modeled with two different values of model orders $p = 4$ and $p = 12$, a single peak appears in the pow... |
I would like to cancel out a known audio signal at my receiver.
Specifically at my transmitter I am playing a song, and at my receiver I am recording it. Both transmit and receive sampling rate is 44.1kHz.
At the receiver I basically want to null out the song so that the only thing that is left is the ambient noise in ... |
I have gone to wavelets course and up to my knowledge, changing the scale and translation of wavelets produces multiresolution images.
is this correct or can someone tell me what is multiresolution analysis in images?
Does multiresolution directly describe wavelet or multiresolution can be achieved other than wavelets?... |
Could someone please explain the difference between the two?
Spectrogram:
A visual representation of the spectrum of a sound changing through time.
Scalogram:
(signal processing) A visual representation of a wavelet transform, having axes for time, scale, and coefficient
|
Very basic question here. I searched it on the net but cudn't get very convincing answers.
Can anyone explain me Homodyne and Heterodyne detections in rf domain. Mathematically is much appreciated.
|
I have two (noisy) signals $S_1(t)$ and $S_2(t)$. They contain information on three distinct events occurring in a physical system. Event $A$ affects only $S_1(t)$, event $B$ affects both $S_1(t)$ and $S_2(t)$, and event $C$ affects only $S_2(t)$. I want to identify the sequence of events in the system by analyzing the... |
I want to test my understanding of linear prediction by running it on some test data in MATLAB. The way I understand it is if I have some data that is correlated, I can encode the signal with linear prediction as follows: $$x(n) = \sum_{i=1}^{p} a(i) x(n-i) + \epsilon(n)$$ where $[a(i)..... a(p)]$ are the coefficients ... |
Is there a canonical or analytic expression for the probability distribution for the circularly-symmetric complex random variable $Z$:
$$
Z = e^{j\theta},
$$
where $\theta \sim \mathcal U(0, 2\pi)$?
Side notes:
It is known that the real and imaginary parts, i.e.:
$$
\Re(Z) = \cos \theta \\
\Im(Z) = \sin \theta
$$
have ... |
read = matfile('ECG.mat');
[cor, lags] = xcorr(read.ecg, read.ecg);
read.Fs;
So i have read.ecg (signal) and read.Fs. How can i find/count beats/minute in matlab?
Here is plot
|
2 identical signals generated by the same PLL/VCO should have the same phase noise profile and their respective phase noises should be correlated.
Suppose one of them is delayed and I start sampling both simultaneously , if I now compare the phase noise of their respective samples taken at a certain time instance would... |
For example,I want to calculate the convolution of two continuous signal in matlab as the image shows.
Indeed, I chose to discrete the signal to compute in matlab.
Obiviously, the 1st and 3rd are right, I think the difference of discrete and
continous convolution might be the reason, but why?
|
I'm new here, I'd like to ask about the OFDM-IM (OFDM - Index modulation), what is it and how it works? Is it the same as SIM-OFDM?
I checked white papers, I see it's using the index of sub-carriers for transmitting bit too. But what does it mean by the index of sub-carriers?
Could you please explain it in clear way... |
I have this problem where I have multiple points in a 2D space. A subset of these points makes up a rectangular grid. Some points of the grid might be missing. The shape and number of points the grid consists of are known. Also, the other points not making up the grid are few. The general location and rotation of the g... |
Transforming an audio signal to Mel Frequency Cepstral Coefficients is broadly used in tasks involving learning on audio. I was wondering, is this transform invertible with some good approximability properties? Are there methods to reconstruct an audio signal from its Mel Frequency Cepstral Coefficients?
|
I've got a linear time-invariant system $$y[n]=\frac{8}{9}y[n-1]+x[n]$$
which I transformed into a transfer function $$Y(z)=\frac{8}{9}Y(z)*z^{-1}+X(z) =>\frac{Y(z)}{X(z)}=\frac{1}{1-\frac{8}{9}*z^{-1}}=\frac{z}{z-\frac{8}{9}}$$
The pole is positive, which would make the system stabile.
However, I am having some troub... |
So I'm having a problem here which gives me the frequency response and asks for the impulse response:
$H(\Omega ) = e^{-j\frac{\pi }{2}}$ for $\Omega>0 $ and
$H(\Omega ) = e^{j\frac{\pi }{2}}$ for $\Omega<0$
I need to find the impulse response. My first thought was to (obviously) apply Inverse Fourier Transform but I'm... |
i have a matlab file and i'm trying to understand what's going on.
when i run it, it shows this when i type the command :
this at
and this at
can someone explain to me what increasing the value in does because i can't seem to understand some of what's going on in the graphs.
|
Suppose there is a video sequence and there are some frames for which the audio data is missing. I want to interpolate the missing audio data on the basis of the correlation of the audio signal with the pixels of the frames. Is there any existing research on how to do this effectively?
I was thinking of using the Wiene... |
When does the unit delay, become unit advance essentially.
Goal is to deduce difference equation from block diagram.
Green text is notes about what the value should be in that node of the diagram.
It appears that the difference equation should be equal to
\begin{align}
y[n+2]&=x[n]&-&0.9y[n]\\
x[n]&= 0.9y[n]&+&y[n+2]
\... |
I'm trying implement an IIR filter. I know the IIR filter come from that equation:
and i found that for high pass filter the coefficients are:
where fc = cut freq.
here my matlab code:
fs = 1000;
fc=0.3;
r=exp(-2*pi*fc);
a = [(1+r)/2 -(1+r)/2];
b= [1 -r];
n = 0:1/(fs):20;
n1 = 1024;
x1 = cos(0.3*2*pi.*n);
x2 = cos(0.... |
My teacher told me that DFT is DTFT sampled, i.e.:
$$X[k] = X(e^{j \omega})\Bigg|_{\omega = \frac{2\pi k}{N}}$$
But, if I have the sine
$$ x[n] = \sin(\omega_0 n) $$
the DTFT is:
$$X(e^{j \omega}) = \frac{\pi}{j} \big(\delta(\omega - \omega_0) - \delta(\omega + \omega_0)\big)$$
(periodic in $\omega$ with period $2\... |
There are one or two questions here that ask how to assess data correlation. The data tends to be empirical.
Is there some tool or standardised technique for generating correlated data from scratch? Some way of generating a sequence with an exact amount of known correlation or autocorrelation? It would allow quantitat... |
I am attempting to overlap-add time-domain audio frames in a real-time context (with a continuous stream of data coming-in). Each frames consist of 1024 samples and have been previously "Hann" windowed in view of performing FFT/IFFT operations.
When the hopsize is set to exactly 50% (here, 512 samples), everything wor... |
load 100m
x= val(1,:);
fs = 1000;
Fn=fs/2;
Ts = 1/fs;
t = (0:length(x)-1)/fs;
subplot(3,1,1)
plot(t,x)
title('input signal')
y = fft(x);
fr=freqz(y);
f = (0:length(y)-1)*5/length(y);
subplot(3,1,3)
plot(f,abs(y))
title('Magnitude')
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.