instruction
stringlengths
31
27k
I studied about Kalman filter(KF) for about a week. And I understand that Kalman filter(KF) is suitable for linear system and extended Kalman filter(EKF) can be used for nonlinear system. However, I wonder if extended Kalman filter(EKF) can be used for linear system. I understand that Kalman filter(KF) would be okay fo...
This is a question from control theory but I hope you can help me with it. I was pointed to this community. So in my control loop I have elements that have cut-off frequency of 3-5kHz and I designed a PID controller for the inner loop and those elements and suddenly I get a closed loop bandwidth of 30-50kHz cut-off fr...
I am working on basic signal processing problems in MATLAB. I have found a signal from the internet (i don't remember the site exactly). The data is organized in column wise. 1st and 2nd column is data and 3rd column is a rectangular wave. The rectangular wave is not very smooth. So I decided to detect four points as s...
I wish to do the FFT of streaming audio data coming into a computer. I am just interested in frequencies from 80 Hz up to 1000 Hz but with a frequency resolution of 3 to 4 Hz and no more. Basically my question is , as my sampling frequency (Fs) is 44100, will my FFT window size have to be no less than 11025 (N) ? (be...
I have a Gaussian random variable $z$, whose mean $\mu$ and variance $\sigma^2$ are functions of two variables $x$ and $y$. Is there any way in MATLAB so that I can find the values of $x$ and $y$ for which $P(z)$ = $N(z$;$\mu$$(x,y)$,$\sigma$$(x,y))$ is maximised for a given value of $z$? Thanks in advance.
There are nice technical definitions in textbooks and wikipedia, but I'm having a hard time understanding what differentiates stationary and non-stationary signals in practice? Which of the following discrete signals are stationary? why?: white noise - YES (according to every possible information found) colored nois...
I'm fitting IIR filters to a complex transfer function with Matlab's invfreqz.m. My fitting results are very good, but when I come very close to the Nyquist frequency the phase response runs to 0 and I also get deviations in the magnitude response. I did some research but couldn't find anything regarding that phenomeno...
I am building a sensor and I am trying to understand how to process the signal that it generates. The sensor has a library of reference signals. When 'event a' occurs, it produces signal A, when 'event B' occurs it produces signal B. EX: It is possible for multiple (but few) events to occur, and their signals would ad...
I'm trying to solve for the amplitude and frequency of a sinusoid embedded in zero-mean gaussian white noise. I am supplied a sample file of a 40000 element array. I first took the autocorrelation function in matlab and then took the fft of this to find the power spectral density. From there I was able to find the fre...
I have read few image enhancement papers, where an image is enhanced in transformed domain using either DCT (discrete cosine transform) or DWT (discrete wavelet transform) with SVD (singular value decomposition). An example is given in Enhancement of low contrast satellite images using discrete cosine transform and si...
I am new to signal processing world. I am working on a project where we have to find change points using spectral densities. I am running some simulations where in I created a wave which is a linear combination of a few sinusoidals of frequency ranges (3.5-7.5, 7.5-9, 9-12, 12-14). I find the periodogram of these si...
So I am working on a project where I have to model a communication system in MATLAB, then implement it on an FBGA. My transmitter goes something like that: M = 4; N = 1000; Symb = randi([0,M-1],N,1); Mod_Symb = qammod(Symb,M); Now, as you can see the output is complex consisting of four possibilities [...
I am creating a spectrum analyser to visualize some stereo audio data in real time. I want to display a single spectrum for the input and a single spectrum for the output. The stereo data is the usual two channels: left (L) and right (R). I am combining them into a single channel by taking the FFT of L + R. Is this con...
I am studying some code for smoothed Wigner-Ville distribution. update 3- solution, graph was over amplified in a 2d overdrive/oversaturation effect. if i divide by 20 only a line is visible. Update - indeed there is a bug, the current image is from 128 samples of a $44.1\textrm{ kHz}$ signal where sample[i] = sin[i/10...
We were given the above systems and we were asked to tell whether they are linear (or not) and time invariant(or not). $y(m,n)=x(m,n)+c,\quad c>0$ $ y(m,n)=x(m,n)+x(m,-n)$ $y(m,n)=x(m,n+m)$ $y(m,n)=x(m,n) + y(m-a,n-b)$ Although I know the theory for the signal to be linear and time invariant I have trouble applying i...
I have generated 16 chirps in experimental study: and the signal was picked up by some electronic sensor, and then I have calculated the spectrum of the received signal: Following that I have calculated the cross spectrum density between the sound emitter and receiver and did some post processing, i.e.: x=voltage1(:,...
I'm new to Kalman filters and estimation in general. I'm running a simple test of an EKF to check my understanding, but I'm getting some odd results with a particular case. Given a state vector: $$ \textbf{x} = \left(\begin{matrix} p_x \\ p_y \\ p_z \\ \end{matrix}\right) $$ If I have a sensor that measures these valu...
I'm looking for a source of very low-noise audio data for use in benchmarking various methods of random noise correction methods. My intention is to have a very clean signal to which I can add known random noise such that I can test the efficacy of various methods of dealing with that noise. It would need to be in some...
I have been asked to calculate the power of a speech signal given by the following: $$\ p(x)= \left(\frac a2\right)e^{-a\mid x \mid}$$ I know the formula for the power of a signal to be the following: $$\frac{1}{T}\int_\frac{-T}{2}^\frac{T}{2}p(x)^2dx$$ Only this is not a periodic signal so I don't know where to set t...
I am trying to understand the signal formation in MRI and have a confusion. I understand that in the presence of the external magnetic field $B0$, the protons are precessing at the frequency given by the Larmor equation i.e. $$ \omega = \gamma B_0 $$ Now, we apply an RF pulse and tip the magnetisation vector to $xy$ pl...
Till now I know that- first the speech is converted frames and feature vectors are calculated for each frame using MFCC. And while training the Acoustic model- HMM model is generate for each phoneme and each such HMM model has 3 states representing starting, middle and ending of context dependent phonemes. Also each of...
I want to filter deviations from an ADC over time (low pass), not very critical. So I first tried exponential averaging, something like y= (7*y+x)/8. That gave useful results, but there is an obvious rounding issue (no increase as long as x smaller than y+8, decrease if x smaller than y). Adding +4 doesn't really solv...
I am totally new in Matlab. Can anyone please explain in details how I can extract pitch contour of a speech? I would like to observe how the speaker's pitch varies during his speech to know whether he is speaking in a flat tone.
Assume I have a signal that oscillates between 10KHz and 9Khz every 500msec (Change happens linearly, so at t=0, it is 10KHz and it goes to 9.5Kz at t=250msec and 9KHz at t=500msec and frequency start to increase and goes back to 10KHz at 1 sec and this goes on) Assume I sample this signal at 50Khz and I do fft to find...
I'm working on generating noise signals $X(t)$ (with $t \in \left[0,T\right]$ with step size $\delta t$) with a prescribed power spectral density $S_{XX}(f)$ and I'm figuring out how well I am generating said noise; I need to know if it has the desired spectral density (in case someone notices, I posted about similar i...
I'm implementing my first EKF and using a Taylor expansion to linearize the model. I'm somewhat new to this. Based on a paper I've read, I'm attempting to linearize the state transition matrix using a Taylor Expansion. AFAIU, given a state vector X and state transition matrix F, we can write a linearized state transiti...
I have noticed that some manufacturers of audio processing products label a 2nd order Butterworth low pass as having a slope of 12dB per octave, but then also label a 2nd order Butterworth band pass as having a slope of 12dB per octave. In actuality each side of a 2nd order Butterworth band pass has a slope of only 6dB...
I am trying to simulate the data transmission of a GPS satellite. Telecommunications is not my field so I am struggling a bit with some concepts. I managed to generate the Gold code of the GPS transmitter using shift registers. This creates a pseudorandom 1023-vector with [-1 1] values. Now I want to create a sampled v...
We know that (7,4) hamming code has 4 message bits and 7 code bits and can detect any single bit error. The (12,4) repetition code has 4 message bits and 12 code bits and can detect any single bit error. I tend to think that since in hamming code we are using less number of parity bits, there should be some disadvant...
I have a corpus of short speech samples from Kiswahili speakers, and I want to detect the number of syllables in each audio recording. How should I approach this task? Background: I asked a conceptual/programming variant of this question on StackOverflow showing my attempt at peak detection in R. Users migrated the qu...
Why does the phase shift between the input and the output of a transfer function vary with the frequency of the input sinusoid?
I have the following question about the maximum likelihood (ML) in presence of inter-symbol interference and colored noise. Assume the communication system is as follows. Information source, modulator, transmit pulse filtering, channel, AWGN, matched receiver pulse filtering, sampler, and then ML estimator. The receiv...
I am looking into detection of pressurized gas leaks by means of the broadband hissing sound (white noise) generated from pressurized leaking gas. The instrument will have a broadband microphone followed by a high pass filter to filter away all low frequency audible noise below 15-20 kHz, but when broadband noise from ...
Let's say we have $h_c(t)$ as a continuous-time signal with bandwidth $B$ and we would like to sample it. To be able to reconstruct it correctly, the sampling rate must be greater than $2B$. Now assume we have $h_{c1}(t)=h_c(t)\cdot h_c(t)$ and $h_{c2}(t)=h_c(t)\circledast h_c(t)$ what is Nyquist rate of these two sign...
We have designed a system which has an 8X8 array of photo diodes, we sense 10ns pulses of laser falling on those photo diodes with a repetetion rate of maximum 50Khz i.e. 20us, we were successfully able to sense them and detect them,please note that our system only senses those laser pulses and gives out the frequency ...
I have question and looking for help. Suppose we have a vector of real values (lat's say 64 length resulting from factorization 8*8 block image). We got a sparse representation of that vector (let's suppose that the sparse vector is 128 length with very few active elements, about 4 coefficients). I want to send this sp...
In this: http://dspguru.com/dsp/howtos/how-to-interpolate-in-time-domain-by-zero-padding-in-frequency-domain the author says that we can interpolate a signal by zero-padding the middle frequencies in the DFT. But then the high frequency components are pushed even higher, so shouldn't the result look more wiggly? Why is...
i am trying to do some experiments with Total Harmonic Distortion. According to Simultaneous measurement of impulse response and distortion with a swept-sine technique i have to use the deconvolution method to get distortion harmonics. The problem i have is that i don have any experience with the mathematics behind dec...
I have to quantify the broadband noise of an audio track. I've seen lots of things around and the only viable option to estimate the broadband noise (without having any information about it) is something like that: noise=0; sig=0; for i=in:fin nois(j)=(abs((min(B(:,i)).^2))); sign(j)=(abs((max(B(:,i)).^2))); ...
A sample of a random process is given as: $$ x(t) = A\cos(2\pi f_0t) + Bw(t) $$ where $w(t)$ is a white noise process with $0$ mean and a power spectral density of $\frac{N_0}{2}$, and $f_0$, $A$ and $B$ are constants. Find the auto-correlation function. Here's my attempt at a solution: Let $a = 2\pi f_0t$, and $b = 2\...
Assume N receivers, detecting the same sine signal in AWGN with FFT, then we have N peaks for the same frequency corrupted by noise. How to use the N FFT observations of the same signal to get a more accurate estimate of the frequency. My first intuition is averaging the frequency values at each peak, but the noise in ...
What is the relation between sampling frequency and the frequency of the signal after sampling? For example sampling frequency is 100 Hz, that is the signal contain maximum frequency of 50 Hz. Then what will be the maximum frequency after sampling? Is it 100 or 50? Or it is above it? How can we see it in MATLAB?
I am doing FFT. The one way I did is to put real part in one array and the imaginary part as zeros and then calculated the FFT. But this take up lots of resources. Now I want to calculate FFT by Dividing Real Input by 2 in the form of ODD and EVEN samples and put even in real array and odd in Imaginary array. Then cal...
What do you call it when you add zeros between the elements of a vector? let's say you have x =[1 2 3 4] and x_2 = [0 1 0 2 0 3 0 4] what do you call this process?
What is the difference between image scrambling and image encryption or are they the same thing in the context of image processing? What about in communication systems in general?
I'm new to Discrete Cosine Transform (DCT) and I have a question relating to basis functions. In DCT, basis functions are defined by: $$\alpha_p\alpha_q\cos\frac{\pi \left(2m+1\right)p}{2M}\cos\frac{\pi \left(2n+1\right)q}{2N},\quad \begin{align}0&\leq p\leq M-1\\0&\leq q\leq N-1\end{align}$$ If $M = N = 64$, we'll hav...
I have been studying signal processing and control for a while now, and I use Laplace and Fourier transforms almost everyday. Also another tools such as Nyquist or Bode plots. However, I had never thought of this until today: what is the physical meaning of a complex number when dealing with frequencies? This may sound...
I am new to image processing and I am interested how image masking can be used to extract a portion of a image. Have a look at this OpenCV tutorial. In the section Application of Mask, they say that you can use a white mask over the area of the image you want to extract. So I am interested in how this math works. Corre...
I am interested in extracting specific timechange information from an mp4 1900x1200 20fps video.The only pixels I want to process can be found in its borders. Therefore I only need to process approximately 6200 pixels/frame. I am using Matlab and VideoReader function, which is terribly slow. Is there a way to extract o...
I'm working on a project of applying Active Shape Model to locate tooth in dental radiograph. For those familiar with the technique, I'm currently trying to sample along normal vectors for each landmark. The paper recommends to take derivatives of sampled pixels: "To reduce effects of global intensity changes we sampl...
I would like a simplified measure to quantify spikes in my time series, I have one series that has many and I would like to compare it to another that has very few. I have thought through several options for example fitting a sine wave and looking at the R values as a measure of smoothness etc but I thought that a meas...
I'm getting some accelerometer readings from an Android phone, but it comes in on the phone's coordinate system. I want to apply a transformation to put the acceleration in the world coordinate system (e.g. so Y will always be up and down, regardless of how the phone is rotated) Android allows you to get the accelerome...
In this paper of Lustig, he speaks about a something which appears unintuitive: sampling at random may exhibit better performance than sampling uniformly. I tried to understand this starting from page 15 of these slides, but I can't really make sense of anything. Why, if we take random permutation of frequency coeffici...
Will constantly randomizing the phase of an audio signal, say a speaker in the corner of a square room, reduce standing waves (i.e. room modes) in the room? For example if you wanted to create a diffuse field (i.e. no standing wave interference patterns) in a small room at low frequencies.
I am trying to make FFT simulation in Matlab by generating noise added two sinus waves in 60Hz and 100Hz. After adding the noise into these signals then I have applied the FFT as I put my Matlab code below. But I am in difficulty interpreting the FFT plot which shows two spectral peaks in the plot diagram below. Could ...
According to this paper: $y(t)$ is stationary if all of the roots (of characteristic equation) lie outside the unit circle Here, $y(t)$ is causal. To me it seems the case is exactly the opposite, the roots should be inside the unit circle for causal process to be stable. Example, consider the difference equation: $$y...
I tried to read up and get a filter for a 3-axis accelerometer but this is more confusing than I thought. I have an IMU with a 3-axis accelerometer on the end of a robot link which is rotated around on one axis. When at rest with just gravity acting on it I get these readings: Now the band of the data is kinda broad...
I've been tasked with creating an artificial neural network that can classify a telephone call as either answered by a human or an answering machine. My knowledge of audio processing is, mildly put, limited. I'm quite new to machine learning as well, so feel free to question everything. Here's what my run-of-the-mill ...
I am thinking about a simple mass-damper system response. Most single DOF systems show a frequency response plot that looks like this: Note how increasing the damping ratio always reduces the output response, and at high frequencies, the response approaches the same line regardless of damping ratio. But, the way I am ...
In Digital Image Processing, what is the difference between the intensity and the saturation of a color? How would you explain the difference to a newbie?
When creating a scipy chirp function I get some clicks at the start end the end. The first one is quite easy to fix using a phase difference of 90 degrees. The problem I have is that the end point is not 0. for an static signal I can use the following code: period_samples = fs / f periods = np.ceil(T * fs / period_samp...
I want to mix two mono files, signal.wav and noise.wav, into a single mono file, signal_noise_mono.wav. Currently, I know how to mix the two input files into a stereo file and then remix it to mono, but I would like to mix down to mono directly, and avoid the intermediate file. # Merge signal (mono, L) and noise (mono...
In MATLAB's Comm System Toolbox there is an option for 'Phase Rotation', defined as the phase difference between previous and current modulated symbols when the input is zero. This is the first time I've heard of this concept. Let's take DQPSK as an example. Say my previous symbol had an absolute phase of $0$, (1+j0) ...
I am not sure if it is valid to conclude that a mixer produces a difference/sum of frequencies at output ,while multiplier produces multiples of frequency at its output. I am keen to know how far I have got it right. Is there something else that I should know? please post with simple e.g.
I have a continuous-time signal $x(t)$ that has the following properties: It is periodic, with a periodicity of 1 (sec). It has no discontinuities or infinite values at any time. I want to come up with an LPF to pass $x(t)$ through, but with the following requirements: The filter is ideal (see point #3), continuous-...
I have a question regarding formula in SURF article by Bay et al. Theory Given a point $p=(x,y)$ in an image $I$, the Hessian matrix $\mathcal{H}$ in $x$ at scale $\sigma$ is defined as follows $$ \mathcal{H}(p, \sigma) = \begin{bmatrix}L_{xx}(p, \sigma) & L_{xy}(p, \sigma)\\L_{xy}(p, \sigma)& L_{yy}(p, \sigma)\end{bma...
On wikipedia there are only 2 lines about ESPRIT: Estimation of signal parameters via rotational invariant techniques (ESPRIT)... MUSIC doesnt have an entry in the music disambiguation page, other than something for neural networks. I have read that they are more advanced than FFT. What are their advantages and disadv...
Let's say I have the following LTI system: $$\dot{x}(t) = \mathbf{A} x(t) + \mathbf{B} u(t)$$ I need to somehow show the following is true or false (proof): This system is controllable if and only if for any $\mu$ such that $(−\mu\mathbf{I − A})$ is Hurwitz, there exists a unique positive definite solution $\mathbf W$...
I understand why most of the classic textbooks only consider Additive White Gaussian Noise channels in digital data transmission. Unfortunately in my case noise is not Gaussian and it might even be colored (non-white). I spent a couple of hours searching around but only found some special cases that were eventually ap...
I'm currently studying for an exam in image processing and stumbled upon a exercise which i could not answer and my professor will not be available before the exam anymore. The exercise goes as follows: Create a Hann-lowpass kernel of size $3\times 3$ and calculate the result of the convolution at $(2,2)$ in the image...
In my master thesis I am trying to implement a beamformer. I've already done the delay-sum part 1 year ago. I have been told: in FIR filtering we can do FFT --> null the unwanted frequency bin --> IFFT . We can to the same in beamformers. If we know the interference DOA (like 0 in angle 25 and 1 in everywhere else bet...
I've started studying Control and I've come across some concepts that I'm finding a bit difficult to understand. For example, in the system showed here, there is a signal called "reference" as well as a feedback block. As far as I know, the feedback block has the function of getting the output as close as possible to ...
Let's say I made this block diagram and I want to explain it: FYI: $x$ is a signal and each $y$ box is a matrix I want to say that: The signal $x$ is multiplied by each matrix $y$ in the different branches independently to produce $f_0=xy_0$ $f_1=xy_1$ ... $f_m=xy_m$ I want to ask the experts in the signal process...
I'm trying to perform an FFT using the CMSIS libraries. My FFT_Output[] provides 1024 bins of data as expected. The issue is that it's linearly spaced and I want to change it to a logarithmic scale into 64 bins (each of these bins correspond to an LED) as it corresponds with how we hear so looks better. I'm sampling at...
While looking into DFT leakage, I've came across the author saying that "..., the amplitude response of an N-point DFT bin in terms of the bin index m is approximated by the sinc function." Other than the fact that the fourier transform of the rectangle function is the sinc function, I have no idea why the statement ...
I'm very often in the situation that I need to explain / visualize spectrum of signals or frequency behaviour of systems (esp. filters). My favourite, very "textbook" styled way of communicating these would be, in simpler cases: ¹ Typically, I'd have to visualize something like aliasing, effects of suppressing carriers...
Let's assume I have a 1024 x 1024 matrix that represents the spatial domain. After I perform a FFT and center the frequencies, I get the a signal that looks like the following in the frequency domain. Let's say that this signal is centered around (812, 812). Now, I want to shift this to the center of the frequency d...
I am working on a task of segmenting small artifacts from a set of images like below: I am looking for a generic approach, but unsure of what to search? I tried looking at density flow analysis, but don't know if that fit in. I am unable to come up with a single pattern in all the images. For example I look out for "lo...
Why is Goertzel Algorithm considered a block algorithm? Given that my input is bounded, couldn't I just run it forever (taking every sample that comes out after some length N) given a big enough word size for the intermediate coefficients? I understand that I would get rectangular window spectral leakage, which may not...
I normally implement the Hilbert transform using the Fourier transform. I have noise related issues I want to solve. Does anybody have an (apodized) implementation of the Hilbert transform handy, preferably using a wavelet transform or some other kind of band limited convolution? Any hints on how to generate a 1D or 2D...
So i'm trying to figure how how to do the encoding and decoding of an M-array Differential Phase Shift Keying (DPSK) signal. I understand how to do it for binary DPSK, but on higher ordered signals I'm missing something. Here's how I would do it for binary DPSK (M=2). The steps should be as follows: get Data sequence -...
I've came across the author saying that ... for a real cosine input having k cycles in the N-point input time sequence, the amplitude response of an N-point DFT bin in terms of the bin index m is approximated by the sinc function $$X(m)=\frac{A_{0}\color{red}{N}}{\color{red}{2}}\cdot\frac{\sin[\pi(k-m)]}{\pi(k-m)}$$ w...
As I understand it and have it currently implemented, linear prediction [via Burg's method or the autocorrelation method] is a block algorithm. Hence, there will be latency involved because one must first save a block of samples to use in the analysis -- even if the model order is low. But are there any sample by sampl...
I wanted to know how observability of a stochastic state space system affects the performance of a Kalman Filter. Do we check for the usual observability matrix involving $\mathbf{C}$ (observation matrix) and $\mathbf{A}$ (state transition matrix) or there is a newer notion of stochastic observability? In case of non-o...
I'm trying to evaluate received signals from a transceiver. I want to make a threshold of received signals so that we can say some signals are meaningless. I have learnt something about Signal-to-Noise-Ratio (SNR) and Received-Signal-Strength (RSS). But I found that symbols can still be decoded even in low SNR ($\le 0$...
$\delta[n+1]$ equals to one only $n+1 = 0$ ? If the 1. is true, so what does a signal $x[n+1] $ stand for? Is this signal causal or anticausal? I mean, if 1. is true, $n = -1$, so is this signal causal? (because it just happens before the time I want). But Oppenheim says that it is anticausal. Why?
For simplicity take the transfer function of a second order IIR in $z$-domain: $$ H(z) = \frac {b_0 + b_1 z^{-1} + b_2 z^{-2}} {a_0 + a_1 z^{-1} + a_2 z^{-2}} $$ Is it possible to generate a new transfer function that yields the square root of the magnitude response of $H(z)$? Assuming the new transfer function is min...
I want to design a filter to remove all frequency components from a .wav file except those within $\pm 25\,\text{Hz}$ of $523\,\text{Hz}$ as well as its harmonics (up to the Nyquist frequency). Attempt I tried to suppress frequencies below 523-25 Hz using a high-pass filter, and suppress the ones higher than 523+25 Hz ...
Before moving to the actual question, I would like to emphasize on the following points (maybe they are obvious to some of you, but I still would like to list them, since they make the difference): I don't have any reliable information on the input, thus I have only the measurements of the output $y(t)$. I have only ...
Based on what we choose sampling frequency when sampling some song? Do we use Nyquist–Shannon sampling theorem, or maximum sampling frequencies are pre-defined, so it will never come to aliasing effect?
I am working with Matlab to design a compensator capable to make a system attain the design requirements ($\omega_n\geq 0.3$ rad/s & $\xi\geq 0.5$). In order to do so I have a discrete-time transfer function with a sampling time of 1 second, which is the following: $$G(z)=\dfrac{0.5z+0.5}{z^2-2z+1} $$ The functions has...
Given that $$x(n) = A\cos(2\pi nk/N),$$ the $N$-point DFT of $x(n)$ can be expressed as follows—the derivation can be found in here: $$X(m) = \color{red}{\frac{A}{2}\sum_{n=1}^{N-1}e^{-j2\pi n(m-k)/N}}+\frac{A}{2}\sum_{n=1}^{N-1}e^{-j2\pi n(m+k)/N}.$$ It is said that the left summation above represents a positive-frequ...
I'd like to start off by saying that I am not very experienced at signal processing, so I apologise in advance if I do not explain everything properly the first time. I would like to analyse the following Signal A: Signal A is a simplified simulation of an air compressor, with the compressor operating between 140 and...
So I need to program (using Java) some things that include generated sounds. I am struggling to understand how to make it work because I require a rather short signal while still using a sampling rate supported by the average sound card. For example a 100 uSec beep with a 200 uSec delay followed by another beep (initia...
I have a function as $$E=\int_\Omega -\log\big( p_i(x)\big) dx$$ where $p_i(x)$ is density distribution which estimated by Parzen window method. $$p_i(x)=\frac{1}{\Omega_i} \int_{\Omega_i}K_\sigma\big(I(x)-I(y)\big) dy$$ where $\Omega_i$ is the image domain, with $$K_\sigma=\frac{1}{\sqrt{2\pi}\sigma}\exp\left(\frac{...
When I am filtering a signal in python, it has a built in function to generate bessel filter coefficients given a cutoff ratio and a filter order (number of poles). I am trying to translate this to C code, but I cannot seem to find the formula that is used to calculate the coefficients. Can someone point me to the for...
I've been trying to do this problem for the last few hours. Could someone show me the workings on how it is done? Not just the answer. The figure shows the structure of a FIR filter where $A = 1.5$, $B = 0.69$ and $C = 3.0$. If $x[n] = u[n]$, what is the value of $y[n]$ for $n = 20$?
If a linear system is causal and its impulse response is an energy signal. What's the behaviour of the poles of $s$-domain transfer function $H(s)$?
$x(t)$ can be exactly reconstructed from its samples at $\omega_s = 10 \textrm{ rad/sec}$. My conclusion is that the maximum frequency component in $x(t)$ is $5\textrm{ rad/sec}$. But I'm being told that in fact $x(t)$ has maximum frequency component $7 \textrm{ rad/sec}$. How can this be possible?
I understand the mathematics behind the use of image averaging for gaussian noise. Why can't it be used for impulse noise ? Would it be because there is no way to prove that impulse noise is additive ? And that it has no mean ? Also, am I right to say that impulse noise does not affect every pixel in an image, as oppos...