instruction
stringlengths
31
27k
I know what is angle modulation. I want to know why is named as 'Angle'. Is it because in the vector plot of sidebands are described by various angles? or what?
It would be very helpful if someone could provide the intuitive reasoning and mathematical proof for: $$F_a(t):=\frac{1}{a}\left[u\left(\frac{t}{a}+\frac{1}{2}\right)-u\left(\frac{t}{a}-\frac{1}{2}\right)\right]$$ $$ \lim_{a \to 0} F_a(t) = \delta(t) $$ where $u(t)$ is the unit step function and $\delta(t)$ is the un...
Given the system: $$y(t)=x(t+1)+x(t−1)$$ is the system linear? For a system to be a linear first it should satisfy zero input and zero output. How can we calculate output at 0 input if the system depends on future or past or both? Please explain with steps.
I have seen this sum a couple of times now in the textbook and in the problems book but I don't know how to solve it. I know this might be more suited for math.stackexchange but since this is a fairly common sum and is related I'm pretty sure someone can help. Thank you!
I have a signal with multiple frequencies, and two of them, one of which is my main frequency, overlap. Are there any techniques that could separate two frequencies that almost overlap? I can increase my sampling rate but not my window size I have already tried SVD,PCA,ICA but none of the methods managed to decompose ...
I'm trying to demodulate a voice signal (bandwidth approximately 5 kHz) from a carrier signal (100kHz). [y,Fs]=audioread('Signal1.wav'); h=10*sinc(10*(-10:10)); y1=filter(h,1,y); But when I compare the signal with the "ground truth" signal provided, the size of the signal is 1/20th of the one I made. Did I miss some...
I have this small question about the time invariance of a system. Which is: If the current output is multiplied by the current input (see both are variables) will the system be time variant or time invariant? To be precise, the question I am dealing with is: $$ y(n-3) + y(n-1) + y(n)x(n) = x(n-3) $$ I would be glad i...
From everything that I read on the internet, I understood that when performing FFT or IFFT, one should perform bit-reversal to obtain a result in natural order (Assuming input is also in natural order). I also understood that this bit-reversal can be performed before or after the FFT or IFFT processing. However, when i...
I am using this class to filter EKG data. My sampling rate is 167/s and the length of data is 1670 (10 seconds), when I apply the filter I get the correct results but looks like the number of samples i get back is bigger (I guess because of zero padding to become power of 2). How can I get back only the samples I filte...
hi,has anyone used Matlab coder to generate C code for a filter? Here is the thing: I tried to filter the same audio signal using Hamming window-based FIR bandpass filter, the filter is designed by Matlab DSP tool box. Then I used Matlab coder to generate the corresponding C code for deploying the filter on the MCU. Bu...
Let's say I have 2 measurements of the same phenomenon (for example current temperature) and I want to find the MMSE (minimum mean square error) estimator, i.e to minimize the MSE (mean square error). The measurements are independent and the noise in each one is Gaussian. The mathematical formulation is: $$Y_1[n]=X[n]+...
I want to up-convert a baseband sinusoidal signal of frequency $4000 \, \rm{Hz}$ using a carrier frequency of $20\, \rm{KHz}$. I read that one can up-convert a baseband signal to a passband signal using the following. But after convolution with a carrier cosine, I get a $16\, \rm{KHz}$ signal. What could be the proble...
Is there a linear filter whose step-response (or ramp-response) is an S-curve? I think the properties I'm looking for here are (1) time-reversal symmetry, and (2) at least a continuous first derivative.
I can see most of the places it says "convolution is associative, while correlation, in general, is not". Denote $*$ convolution operator, let's say you have an image $f$, which you need to convolve with $g$ and then with $h$ : $$f∗g∗h=f∗(g∗h)$$ But when I see the difference between convolution and correlation, correl...
How to prove the following properties of DT unit impulse function. If anyone got link to a proof please mention it. I have search on the web. But only found the properties, not a proper method of proof. Thank you.
Everyone here should be familiar with the trignonometric identity $$2 \cos(x)=e^{jx}+e^{-jx}$$ Let's say I have a real world analog signal given by the following function $$x(t)=2\cos (\omega_1 t)$$ and I only want a single exponential component, specifically $$y(t) = e^{j\omega_1 t}$$ where $\omega_1$ is a real cons...
Location of poles are given in unity circle and 4 zeros are given at origin for every plot,How to check which plot shows which filters? For the Option (C) i am doing like this I can write the Tranfer function from the plot like this $H(z)=\frac{z^4}{Z^4-1}$ Now at z=1,$H(z)=\infty$ at z=j at mid frequecny,its its also...
Could anybody tell me why should zi made FFT for ecg signals? For me it seems more simple to use time-domain, but I saw some ecgs in frequency domain and I don.t know how to interpret the results. Thank you!
Consider a signal $x(t)$, which is input to a pulse shaping filter with transfer function $g_t(t)$: $$x(t) = \sum_n d_n \delta(t-nT_s)$$ with $n$ an index from negative to positive infinity and $d_n$ random, equiprobable binary symbols such as 1 and -1 (antipodal) or 0 and 1 (on-off keying). Well, the power spectral...
Please provide the mathematical proof and intuitive reasoning for: $$\lim \limits_{\epsilon \to 0} \frac{1}{\pi t}\sin\frac{\pi t}{\epsilon}=\delta(t)$$ Where $\delta(t)=$Unit impulse function Intuitive reasoning (what I have gathered): If we compare $\sin\frac{\pi t}{\epsilon}$ with $\sin(\omega t)$, then we can se...
I have 20 years of historic hourly temperature data in Omaha. I want, given just a seed, to be able to generate a pretty realistic year of hourly temperatures. (I have a program that takes such temperature series as an input, and the ability to randomly generate these would help in analyzing this program's performance....
A white noise process can be simulated using the Matlab command randn(). The numbers will be drawn from a Normal distribution of zero mean and variance 1. Is the mathematics behind generating white noise a stochastic differential equation which is numerically solved by stochastic Euler and Milstein methods ? A web tu...
This morning, I asked a similar question about separating simple signals - with constant frequency - into exponential components. User @AndreasH suggested that a hilbert transform can do this as follows: $$\cos(\omega_1 t) + j ~\textrm{Hilbert}[\cos(\omega_1 t)] = e^{j\omega_1 t}$$ This works great when $\omega_1$ is ...
I am trying to test reconstruction of signal from IFFT. Below is the python program. I break the signal into overlapping windows and do FFT after multiplication with window function. Then I apply IFFT to the FFT output and then overlap-add to reconstruct the original signal. My problem is the reconstructed signal's amp...
I ran a finite-difference simulation and the behavior of an output signal, $s$, in time, $t$ (sampled with period $\Delta t$) behaves approximately as in the figure below. It is well-described by a slowly-varying pulse plus a rapidly oscillating signal of the same envelope with lower amplitude. For concreteness, I com...
Currently, I am trying to work with the Dataset UrbanSound8K to try some Audio classification. And I got stuck in the preprocessing step already. Since the audios are of different lengths, like 4 seconds or 0.3 seconds, I found it impossible to directly pass into the whitening algorithms like PCA even after Feature Ext...
I'm facing with this error when I'm trying to solve the equation : Attempted to access x(101); index out of bounds because numel(x)=100. actually the original equation is so I used "i+1"instead of"i" to avoid following error: Attempted to access y(0); index must be a positive integer or logical. n=[1:100]; yy=...
I have been reading about the non-parametric estimation of the spectral density, and I'm particularly interested in the Blackman-Tukey method. If we take the rectangular window we will have the truncated periodogram, computed on a reduced covariance sequence length $M$, where $M<N$: $$\hat{P}(\omega)=\sum\limits_{k=0}^...
I'm quite new to DSP and I guess my problem it's quite silly but I can't find a clear answer. Basically I'm writing some python code for a test. The test requires me to write a memory with the I/Q components of a specific waveform. As far as I know it's quite easy in hardware to get the I/Q samples. I just need to mul...
I've been learning about digital signal processing for some time, and I understand the principles in the digital world, as well as the conversion of continuous filters in the s-domain to digital filters in the z-domain. I'd love to learn more about the process of designing analog filters and converting this into circui...
Greetings and apologies if this has already been answered, but I haven't been able to get a clear answer from looking on Stack Exchange so-far. I have Quaternions coming from two different IMU's located on the trunk and the back of the head, in order to describe relative rotations between both. Of course if I would mak...
This can be a very silly question, but I'm quite confused: If we take the Fourier transform of any constant signal, we get an impulse at zero, which says that its frequency is zero and, hence, it is non-repeating and its period is infinity. By the definition of a periodic signal, $$F(z+p) = F(z)$$ therefore, for a con...
Given two images of an object taken from the same distance but different vertical angles, is there a way to determine the physical height of the object?
After reading the comments$^1$ and looking through various texts, I am going to use Understanding Digital Signal Processing for my self-study (Oppenheim & Wilsky was my 2nd choice). I'm 99% sure that a solutions manual doesn't exist. But does anyone know where I can find the errata for the 3rd edition? I saw an old th...
I'm kind of confused about digital transmission. Is the bandwidth occupied by some digital signal the Fourier spectrum of the bit (pulse) format,or the one determined by the bit rate?
I was reading over the famous Nyquist–Shannon sampling theorem and I was trying to understand what the term bandwidth meant rigorously (exactly) with no ambiguity. In this site the define it as follow: 2) Bandwidth is the range of frequencies -- the difference between the highest-frequency signal component and the low...
Sorry if this is a super easy question, I am really not a signals guy (more of a statistician, computer scientist). But I was trying to reconstruct/learn a sinusoidal function $x(t)$ with linear regression $f(x) = \langle w , \phi(x) \rangle $ (I'm adding as many polynomial features as I may need) over a fixed interval...
As the signal $m(t)$ is Baseband signal after modulation it wil be bandpaas signal will look like this So I need to use the Baseband sampling Here $f_L=15kHz,f_H=25kHz,B=5kHz,$Now Undersampling formula $n\leq\frac{f_H}{f_H-f_L}$ ,$n\leq2.5,$ so $n=2$ (maximum), Now $\frac{2f_H}{n}\leq f_s$,$25\leq f_s$, so minimum ...
I want to derive a real audio signal from an arbitrary even magnitude spectrum. The phase spectrum affects the values of the signal in the time domain; for example, a phase of 0 for all frequencies amounts to summing cosines in the time domain, which will result in a large peak at t = 0. I want to minimize the absolute...
Magnification $M$ is defined as $\frac{-d_i}{d_o}$, where $d_i$ and $d_o$ denote the image distance and object distance, respectively. For a given camera, is the value $M$ typically the same for all values of $d_o$? That is, is it true that $\frac{d_{i_1}}{d_{o_1}} = \frac{d_{i_2}}{d_{o_2}}$ for all $d_{o_1}, d_{o_2}$ ...
I'm trying to model a non-linear system using non-linear convolution with Novak's (2010) synchronized exponential sine weep (SESS) that models them with a Generalized Hammerstein (Volterra diagonal). I get pretty clear kernels in terms of SNR but clearly phase-distorted. It's a common problem in real estimation. I can ...
I have two speech signals: one with a man reading a passage, and one with a woman reading the same passage. I want to synchronize these signals so that, for each word, their readings line up. The problem is that the differences in the signals are heterogeneous. Sometimes, the man will read a word slightly faster, and s...
I implemented a Laplacian filter for the Lena image, but I get an unexpected output. For input: I get output: I used the mask M = 0 -1 0 -1 5 -1 0 -1 0 I is my Lenna Image rows and columns are I.rows and I.columns. And this is my MATLAB function: function IM = customMaskImage(I,...
I've been trying to read an audio file in Matlab using this code -- q = audioread('C:\Users\DELL\Downloads\cha1.wav'); figure; plot(q); Translated to Python, the code looks like this -- import scipy.io.wavfile tup = scipy.io.wavfile.read("C:/Users/DELL/Downloads/cha1.wav") orig_sample_rate = tup[0] q = tup[1] When ...
I need to solve the following 2nd order difference equation $$3y[n]-y[n-1]+y[n-2]={\bigg(\frac{1}{2}\bigg)}^{n} u[n]$$ where $u[n]$ is Heaviside's step function. I started by trying to find the homogeneous solution: $$3-z^{-1}+z^{-2}=3-\frac{1}{z}+\frac{1}{z^2}=3z^2-z+1$$ Homogeneous equation: $$3z^2-z+1=0\leftrightarr...
I wanted to know what are the well-known methods of scaling the FFT power of a signal? I am referring to EEG signal but this should apply to all signals I guess. I need to plot the powerspectrum/PSD of frequencies but without correct scaling lower frequencies are prominent while higher frequencies are not. What are the...
I am stuck at question number 2.8 This is how I have gone about solving it: I have calculated $y(t)$ by convolving $x(t)$ with $h(t)$ using the fact that $x(t)$ convolved with an impulse at $t=t_0$ is just the same signal $x(t)$ time shifted by $t_0$. Hence, $$y(t)= x(t+2) + 2x(t+1)$$ Now, according to the answer in...
While considering an input to be periodic of Period N, can the impulse response not be periodic of period greater than N ? If it can be, how can one compute it’s convolution?
I have been given the task to implement the 5/3 CDF transform for image compression. Given that the impulse response for the low and high pass are: $h_1 = [-0.5, 1 ,-0.5]$ (High Pass) $h_2 = [-0.125, 0.25, 0.75, 0.25, -0.125]$ (Low Pass) Say I want to start by computing the horizontal 1D DWT for an image. Now given ...
One of my weekend projects has brought me into the deep waters of signal processing. As with all my code projects that require some heavy-duty math, I'm more than happy to tinker my way to a solution despite a lack of theoretical grounding, but in this case I have none, and would love some advice on my problem, namely:...
If a person at rest has an average heart rate between 60 and 100 beats per minute, how many samples should you plot to obtain 5 beats in the signal?
I have a system with input $x[n]$ and output $y[n]$, described by the difference equation $$y[n] - 0.3y[n-1] + 0.1 y[n-2] = 3x[n] - x[n -1]$$ and I am trying to find the frequency and impulse responses. The frequency response I found was $$H(e^{jw}) = \frac{3-e^{-jw}}{1 - 0.3e^{-jw} + 0.1e^{-j2w}}$$ but I am having tro...
I am given a channel impulse response: $$h(t) = 0.8 \times \delta(t) + 0.6 \times \delta(t - T)$$ where $\delta(t)$ is the dirac function. For signal equalization a MMSE equalizer with 5 coefficients and SNR = 12 dB will be used. Well for this case, I am trying to set up the autocorrelation matrix. The impulse respons...
For discrete time series $Y$, first differentiation ($D_i=Y_i-Y_{i+1}$) and integrator ($S_i=Y_i+Y_{i+1}$) can be defined as two highpass and lowpass LTI digital filters. Where, transfer function for the first difference is: $$ H(z)=1-z^{-1} $$ and for the first integrator is: $$ H(z)=1+z^{-1} $$ These two transfer fun...
My (mass spectrometry) spectrogram does not measure the intensity constantly. I obtain the spectrogram, for example, time(seconds) = [0,1,2,3,4,5,6,7,8,9] intensity_profile = [0,10,0,0,50,75,0,60,20] The 0 in intensity is when the machine does not do measurement (but in fact, it has some signal). If the window is 3 se...
I'm studying about comparison between images to determine quality. I've learned about MSE, SNR and PSNR, and now I'm trying to understand WSNR, which I assume is similar to SNR but with weights. I have a Python code to calculate the WSNR between two images, but I don't fully understand it and I don't know what is the m...
Given an $L$ order cosine window, it is possible to show that the width of the main lobe is given by: $$\omega_w = \frac{2 \pi L}{(2N+1)}$$ Where $L$ is the order of the window, $N$ is the maximum harmonic in the signal and therefore $2N+1$ is the number of samples taken over a period. If we consider the relationship $...
I want to compute the stationary Kalman filter algorithm but I haven't found any information about that algorithm ( not even the pseudo code ) so, I wonder what is the difference between the Kalman filter algorithm and the stationary Kalman filter algorithm and how I can derive it from the Kalman filter algorithm. Coul...
I am trying to simulate 8QAM with (4,4) amplitude levels. I want to get a constellation like this: What are the amplitude levels should I select for I and Q?
Attached is the question. Need to find the output for signal x(t).
I am working on an Android application that slims or fatten faces by detecting face. Currently, I have achieved that by using Thin-plate spline algorithm. http://ipwithopencv.blogspot.com.tr/2010/01/thin-plate-spline-example.html The problem is that the algorithm is not fast enough for me so I decided to change it to O...
I'm performing a STFT of a sine wave in which the frequency increases (up-chirp signal) using python numpy.fft as shown in the following code: import numpy as np import matplotlib.pyplot as plt def stft(x, L, overlap, window): opoints = int(L*overlap) X = np.array([np.abs(np.fft.fft(window*x[i:i+L])[:L//2]) ...
I have a total sound duration of $T$. I break the duration to several sub-durations and in each sub-duration, I generate several discrete sinusoidal values by the formula $\sin(2\pi ft)$ with a sampling rate of $f_s$. The frequency used in consecutive sub-durations is different. Now when I generate sound using these va...
I am given the impulse response $$h[n]=2\left (\frac{1}{2} \right )^n\sigma [n]-\delta [n]$$ where $\sigma$ is the unit step function and $\delta$ is the unit impulse function. I know that $$a[n]=\sum_{k=-\infty}^{\infty}h[k]\sigma [n-k]=\sum_{k=-\infty}^{n}h[k]$$ Thus, my step response should be $$a[n]=\sum_{k=-\inft...
If a signal's amplitude has a uniform PDF, which is better in the sense of producing a smaller quantization error: optimal scalar quantization or quantization with compressor (non-uniform quantization)?
From an iPhone microphone, I have a background recording of 5s(fs = 44.1 Khz), and immediately after that, I have a voice recording of a person saying 'aaa...' for 10s(fs = 44.1 Khz). How can I use the background recording (How do I characterize the noise from it?) to improve the SNR in the voice recording? The noise c...
The inverse FFT of a folded real sequence yields a real symmetric sequence. Are there any ways to exploit this symmetry to perform a smaller complex FFT or complex inverse FFT? Background: it's possible to do this for a forward FFT of a real sequence (see: Real valued FFT in Matlab): x = [1, 2, 3, 4, 5, 6, 7, 8]; % s...
Given are two Signals $x_1[n]$ and $x_2[n]$. $x_1[n]$ is in Intervall $[0,2]$ different than null and $x_2[n]$ is in Intervall $[0,3]$. The convolution product is Null outside intervals: $[0,6]$ and $[-2,10]$. Can someone explain me why? I understand for 0,6 it's simply multiplication but why $[-2,10]$?
I'm interested in the case where I have received a signal as a composition of three echoes of the transmitted signal $x[n]$ (each echo has its amplitude and time delay). I know that in order to compare the signals I use cross-correlation. My question is if I use $r_{xx}[m] = \delta[m]$, would that make it easier to cal...
I'm a computer science student and I love producing music and I really want to get into developing audio plugins. I'm currently learning the JUCE framework and am fairly comfortable with C++. I'm also good with maths. I've been doing some research but I'm still not sure as to what book I should use to reference/learn d...
I have been using scipy's spectrogram function (STFT) to compute a PSD spectrogram for a non-stationary signal. I provide X length window (with nperseg = X/10) each time to the spectrogram function and eventually concatenate the result. Now, I would like to use Welch for generating this spectrogram. I'm a bit confused ...
I'm trying to filter a 400 samples signal with various bandstop FIR filters (constant group delay), one at a time to see which one gives me the desired result. Every filter was build using the Kaiser Window method in Matlab. Each filter has a different number of coefficients. The smaller one has 782 and the biggest one...
I have a signal containing two sine tones 30 kHz and 60 KHz. I used a second order IIR notch filter to filter out the 60 KHz component from the signal, so now the signal has only 30 KHz component. When comparing the filtered out signal with a pure 30 KHz tone generated, the earlier samples are very much different but l...
I have a set of sample data, a logarithmic swept sine as it happens, that is 1 second in duration sampled at 100kHz giving 100k samples. I want to calculate the frequency spectrum of the complete data however the FFT library function available only supports 4096 samples maximum. Is it valid to sequentially FFT 4096 sa...
I am working on an online application of signal processing and pattern recognition. It involves sampling the signal at 2 MS/s, extracting features and classifying. My classifier has pretty good accuracy so far using the DWT (discrete wavelet transform) with 3 decomposition levels. However, I have been studying the EMD...
Question: Does it make sense to perform compressed sampling if the non zero samples are grouped in time? If so, what is the minimal length of the vector x that should be acquired to allow full signal reconstruction (of at least the non zero pulse segments)? $y=\phi x$, where y is the compressed vector and x is the sign...
A point on the S-plane (where $s=\sigma+j\omega$) represents a signal with a given frequency (given by the imaginary component) and which either decays, increases or stays stable (depending on the value on the real component). Doing the maths, by converting $e^{-st}$ to a cosine and sine pair, I can see that points th...
Why is it so important to have the phase gradient encoding step come before the frequency gradient encoding step when collecting MR Images? Currently, the phase encoding step is turned on briefly, then the frequency encoding step is turned on during data acquisition, effectively populating k-space row by row. Could you...
I've been working at this problem for a while now, and can't seem to come to a solid conclusion - is this system time invariant? $y(t) = \int_{-\infty}^{t} e^{-9(t-\tau)} x(\tau)d\tau $ My reasoning for the system being time invariant is that it is clearly a convolution integral. Time shifting the input will shift the ...
The Hilbert Transform of an Amplitude Modulated signal returns the envelope of the signal. What does the Hilbert transform of a Frequency Modulated signal return? How can I use the Hilbert Transform to get the sidebands of a Frequency Modulated signal?
The received noisy signal $y_n \in \mathbb{R}$ is expressed as: \begin{align} y_n = \mathbf{h}^\mathsf{T}\mathbf{u}_n + w_n. \tag{1} \end{align} $\mathbf{h} = [h_0,h_1,\ldots,h_{p-1}]^\mathsf{T} \in \mathbb{R}^{1 \times p}$ of length $p$ which represents the impulse response of length $p$, and $\mathbf{u}_{n} = [u_{n}...
Hi I am trying to make a vector with char variable. This is my code: h='wudh2h2'; w='uwuuw'; v = [h w] t = v(1); THe result is t='w' Why is t not t='wudh2h2' ?
There is some vertical banding near the tree trunks in the following image. Is there a way remove this type of artefact, preferably using Mathematica?
Suppose there's a complex signal $X(k)$ (where $k \in \{0, 1, 2,...,N - 1\}$) corrupted by additive complex noise. Its estimate $\hat{X}(k)$ is a linear combination of a set of real parameters $A_r$ ($r \in \{1, 2, 3,..., R$}) $$\hat{X}(k) = \sum_{r=1}^R A_rZ_r(k)$$ where $Z_r(k)$ is complex (and known). I wish to obta...
I have to design a generic baseband filter. I have a C++ code which gives me filter coefficients based on the input parameters such as no. of taps, no. of bands, band edges, amplitudes and weights(code uses remez exchange algorithm). I import the filter coefficients in MATLAB, do fft and plot the graph of it. I have to...
I'm working on detecting signals buried under the sensor noise using a multiple sensor system and using some technique (correlation?) to take what is common to all the sensors and cancel out the random, uncorrelated part of the sensors. The signal I want to recover is some 30 times smaller than the rms noise. The small...
I would like to recreate a sound from a picture of a soundwave. But i see a lot of theorical question. And im not sure its possible.... I mean, it is possible to create a sound... But to make the sound as close as possible of the original one, sound a bit harder. Most of the time when you see soundwave as art... It'...
I know that $X(f)$ gives the amplitude associated with the frequency component $f$ of a signal $x(t)$. Now, a sinusoidal signal in time $x(t) = A \cos (2 \pi f_0 t)$, has a Fourier transform $X(f) = \frac{A}{2}[\delta(f-f_0) + \delta(f+f_0) ]$. My question is that the Dirac Delta funcion tends to $\infty$ at $0$. Then,...
The periodogram $\widehat{P_x}(e^{jω})$ is an estimate of PSD $P_x(e^{jω})$ and for mean-square convergence - $\lim_{N \rightarrow \infty}E\left\{\widehat{P_x}(e^{jω})\right\}=P_x(e^{jω})$ My question: If I calculate the expected value, which is according to definition an average, this way $E\left\{\widehat{P_x}(e^{jω...
How i can have a 1 Hz resolution fft, from a limited data (between 0 to 100 msec)? sampling frequency is about 20 kHz or step time is 0.05 msec. i try it by using zero padding but the resolution not satisfy me.
I'm studying image quality assessment (IQA) problem and I'm currently learning about quality measures UQI and SSIM, I know UQI is a predecessor of SSIM, but they look exactly the same for me...
Fourier transformation is used to split a periodic signal into frequencies, and calculate the phase and shift for each frequency. But what if we would like to record an audio, which is changing, for example, because someone starts to play with a new instrument? I know that if the recording is 44100 Hz, then we record 4...
Which technique gives better result in extracting a band from a signal, let's say the alpha band (8-13 Hz): using a band-pass-filter or a DWT (Discrete Wavelet Transformation)? P.S.: I am working in EEG processing.
The problem says that we have the information (actually a .mat file that contains the data) of 1 pixel from an IR camera from an object with 26° of temperature. Because of the noise, the output is given by $$ y[n]=26+N[n] $$ where $N[n]$ represents the noise. For that, I'm supposed to implement the following filter: $$...
I need to use Parseval's Theorem to find \begin{equation} S\:=\:\sum _{n=-\infty }^{\infty }\:\left[\left(\frac{\sin\left(\frac{\pi }{4}n\right)}{2\pi n}\right)\left(\frac{\sin\left(\frac{\pi \:}{6}n\right)}{5\pi \:n}\right)\right] \end{equation} I used the fact that \begin{equation} x_1\left[n\right]\:=\:\frac{\sin\le...
The Fourier transform of a constant exists. Can anyone please tell me what the $\mathcal{Z}$-transform of a constant is? Thanks in advance.
I want to remove a bright spot in an image. This is the image I used: and this is the Matlab code I wrote: clc; % Clear the command window. close all; % Close all figures (except those of imtool.) imtool close all; % Close all imtool figures if you have the Image Processing Toolbox. clear;...
I am trying to find the controllable realization of the following transfer function: $$H(s)=\frac{s^4+1}{4s^4+2s^3+2s+1}$$ I approach this by first using polynomial division to assure that $H(s)$ is strictly proper. This yields: $$H(s)=1/4+\frac{-1/8\cdot s^3-1/8\cdot s+3/16}{s^4+1/2\cdot s^3+1/2\cdot s+1/4}$$ From thi...
Can we distribute the minus sign as follows? $$-h[n_1,n_2] = h[-n_1,-n_2]$$
I have a question regarding histogram equalization and adaptive histogram equalization. In which circumstance would it be preferable to use adaptive histogram equalization over histogram equalization and similarly, when would it be preferable to use histogram equalization? Which applications do they find more use in co...