instruction
stringlengths
31
27k
Is it possible to create a set of complex orthogonal sinusoids using FFT or IFFT In other words a kind of "Multiple Frequency Shift Keying" using multiple sinusoids that are created with a fourier transform ( FFT or IFFT) and where one frequency is sent at a time?
When using for example, polar signaling of full width rectangular pulses, the bandwidth is equal to the pulse rate $Rb$, which is also the bit rate. $B=R_b$ for full width rectangular pulses. But also we can describe the minimum required bandwidth for transmission of this data. $B_{min}=\frac{R_b}{2}$ If I am sending d...
Using an algorithm that gives the fundamental frequency across time, example https://www.mathworks.com/help/audio/ref/pitch.html (or some other one?) how would I then use that, to create a harmonic mask of nHarmonics based on that fundamental frequency? So the mask will contain the f0 + nHarmonics harmonics. The point ...
I’m currently working on my capstone for school, and I’m looking for some guidance/tips when it comes to real-time filtering. The nature of the project is to monitor breathing patterns, send the aquired signals wirelessly, and then process/filter the data using a mobile app. My part of the project is the latter, and I ...
I recently read that before downsampling an image, it should be blurred using a Gaussian Kernel. This way, the downsampled image is better than just picking a single pixel out of a NxN block or averaging over the block. After searching in this site as well as google, I didn't get any exact answer. But there were quest...
I'm an Italian student. I'm studying Gnu Radio and I would like to upload a photo, can I upload it with "file image source" or other blocks? I need to make FFT of an a image. -> image 2D Thank you very much and sorry for my bad english
I have one sample for a signal. This sample is a vector of length 384. I need to calculate the correlation matrix for this signal,So I need many samples for the same signal. How can i generate these samples form the given sample using Matlab?
Can we construct exact analog signal at receiver as same as the source from the sampled signal?
Faster than Nyquist signaling is used to improve the spectral efficiency by reducing the time spacing (relaxing the orthogonality constraint) to pack more data in the same channel while tolerating a certain intersymbol interference (ISI). What is exactly faster than Nyquist? Is it by increasing the sampling rate higher...
Following is the code given in MATLAB's site to estimate PSD using FFT. Fs = 1000; t = 0:1/Fs:1-1/Fs; x = cos(2*pi*100*t) + randn(size(t)); N = length(x); xdft = fft(x); xdft = xdft(1:N/2+1); psdx = (1/(Fs*N)) * abs(xdft).^2; psdx(2:end-1) = 2*psdx(2:end-1); freq = 0:Fs/length(x):Fs/2; plot(freq,10*log10(psdx)) grid ...
From the Wikipedia article: "An inverse FFT is computed on each set of symbols, giving a set of complex time-domain samples. These samples are then quadrature-mixed to passband in the standard way. The real and imaginary components are first converted to the analogue domain using digital-to-analogue converters (DACs); ...
I am trying to fit a second order polynomial to various curves on a binary image using MATLAB polyfit function.There are many such curves on the image, and the coordinates of the pixels forming the curve are known. How do I compare the co-efficients, so as to arrive at one approximation to all such curves? Here are ...
Is there any practical “go to” book that demonstrates the main dsp methods for time series written in C for practical applications? (Doesn’t have to be for hardware, but for any raw data such as sensors, stocks, etc).
Subtracting a background image for background correction is the standard way of doing background correction to obtain the foreground. I am wondering if there are situations, where it would make sense to divide with the background image instead. For example, it seems that having a uniform image intensity after division...
In one of the homeworks that I am dealing with for Linear Systems course, I have encountered with such a statement: Consider $\mathbb{C}^N$ the vector space of N dimensional complex vectors. We can define a basis $F=\{f_1,\ldots,f_N\}$ where \begin{align} f_k = \begin{bmatrix} f_{k,1} \\ f_{k,2} \\...
When applying ideal sampling on audio singals, why is the spectrum periodic ?
My professor asked me to convert following powers into decibels: 15W, 25W, 33W, 450mW, 24MW, 44 GW,120pW. I know that decibels are about ratio power/reference_power. I don't have reference power specified here. Is there something like default value? What should I do?
I am after the method and its implementation of the fastest convolution of 1d signals: $$ y \left[ n \right] = \left( x \ast h \right) \left[ n \right] $$ Where $ \ast $ is the linear convolution operator. Let's assume that we have infinite storage or memory but we have finite time. What strategy or algorithm can we us...
The idea is to find the fundamental period of any periodic and bounded signal. This is all that we know about the signal. Nothing else. Only allowed operations are: $+,-,\times , \div$. We can also access any value of the signal that we desire. How can a method be developed which finds or estimates the fundamental per...
I want to know how in practice we can take a kHz/MHz signal to a GHz band? Suppose we have an FSK modulated signal at around 300 kHz (or 20 MHz). I want to take it to 3.5 GHz, so about 3499700 kHz higher (or 3480 MHz higher). Should I build an oscillator with a frequency of 3499700 kHz (or 3480 MHz) to use it as a mi...
I have been trying to understand what the contour levels are. As far as I understand a contour of the function $Z(x,y)$ is a set of points in the $(x,y)$ plane, such that $Z(x,y)$ is fixed at some constant value, that constant value is the contour level. Matlab docs state that the contourc function takes an argument ...
I'm new here so I will try to be as clear as possible. I am trying to apply some techniques from signal processing framework to denoise financial time series. I would like to know if what I am trying to do makes sense or if I am committing some theoretical mistake; I have a time series that I assume to be composed by ...
This tutorial shows the idea of analog time domain OFDM. My question is if we can sample the analog signal and use time-domain OFDM in a similar fashion. Why do we need to apply IFFT/FFT to the signal at transmitter/receiver? I understand that it is more efficient to use the FFT at the receiver side, but why do we tra...
I'm comparing three frequency response's plots from simulations and experiments and I observed that two of them look like clamped to a DC component, where the max dB value is i.e. 100 and the min is 40 dB, while on the third one the max is i.e. 120 dB and the min is 10 dB. I want to use the correct term to talk about t...
I have this little doubt regarding how to draw a block diagram representation of a difference equation. Let us implement $ y(n) = ay(n-3) + by(n-2)+cy(n-1) + x(n)$ in block diagram where $a, b, c$ are constants. What I made is this. Is this block diagram wrong? They say that you should use only $z^{-1}$ delay multiple...
I need to calculate the derivative of a digital signal (sinusoidal). In one of the papers they have mentioned Gilbert transformation is used to calculate the derivative. But I have searched in the net and found only Hilbert Transform. Is it possible to calculate using Hilbert Transform. Thanks in advance. Karthi...
I have this question regarding digital systems which might not handle sinusoidal signals in general. So let us say that I have a system with impulse response $h(n) = \{1+j, -1, 2j \}$ with first element at index zero. Clearly this is a complex quantity. When I take the z transform,I get $$H(z) = (1+j) - z^{-1} +2jz^{-2...
For two processes $X(t)$ and $Y(t)$, PSD of $Z(t) = X(t) + Y(t)$ is $S_Z(\omega) =S_x(\omega)+ S_Y(\omega) + S_{XY}(\omega)+S_{YX}(\omega) $. If $X(t)$ and $Y(t)$ are orthogonal, PSD of the sum process is sum of the PSDs of individual processes. However for correlated processes, an additional PSD term comes into pict...
Are the actual 1023 bit sequences for each of the 32 GPS satellites available to consumers? I found the IS GPS 200 but it doesn't list the entire sequences. Are verified sequences available for download anywhere online? I'm trying to validate my python CA PRN generator. Also, what does the last footnote (**** The two-t...
The spectral entropy (SE) of a signal is a measure of its spectral power distribution. The concept is based on the Shannon entropy, or information entropy, in information theory. The SE treats the signal's normalized power distribution in the frequency domain as a probability distribution, and calculates the Shannon en...
At this point in a lecture by MIT Professor Strang the idea of gaining insight into a filter by studying its eigenvectors is introduced. The idea is clear with the example chosen in the lecture: an signal-averaging 2-tap filter (running average) expressed in matrix form as $$F=\tiny \begin{bmatrix} &&\ddots&\ddots&&&&&...
I am a computer science student and didn't really have signal processing as a subject. Maybe I should be clear on the concepts of sampling rate and frequency of the signal but I am a little confused. I was trying to code and understand the process of finding MFCC filter banks on audio files. One intermediate step is to...
I'm taking a course on DSP and we're being introduced to the random signals, in particular continuous time and discrete time random signals. We're told that if we repeat a single random experiment at each point in time, the random variable associated with each random experiment when collected together will form the ran...
The complex exponential form of cosine $$\cos(k \omega t) = \tfrac{1}{2} e^{i k \omega t} + \tfrac{1}{2} e^{-i k \omega t}$$ The trigonometric spectrum of $\cos(k \omega t)$ is single amplitude of the cosine function at a single frequency of $k$ on the real axis which is using the basis function of cosine? The complex...
I am trying to find the impulse response to this system: At first it looks easy enough, $y(n)=x(n)(-1)^n$, set $x(n)=\delta(n)$, which makes $h(n)=(-1)^n$. But something seems wrong. What am I missing? (considering that $(-1)^n=\cos(\pi n)=e^{j\pi n}$, this system seems more complicated than it looks. It seems like $y...
If you have a signal x[n] and it is interpolated by N and then decimated by M, how do you ensure minimum distortion in x[n] from the resampling process?
In order to meet the user requirements in the next generation radio access technology, the ongoing standardization within 3rd Generation Partnership Project (3GPP) offers flexibility in terms of employing mixed numerology. I have read many papers about it, such that: This link. I think it's a new technique but it'...
Does anyone know if there exist a kind of convolution theorem for the discrete wavelet transform (decimated or undecimated)? In other words can I find a simple form of $W\left[ \int f(t) g(x-t) \, dt\right] $ where $W$ is the discrete wavelet transform operator?
I need to model a noise with a given PSD. To do this, I am starting from a white gaussian noise (WGN) and feed with the WGN a transfer function, which will act like a filter. In fact,it's easy to prove that if you choose a PSD of the white noise equal to $1 {\rm unit}^2/{\rm Hz}$,then the output is $ H(f) \times 1$. T...
If i take the Fast Fourier Transform (FFT) of a cosine function, what has turned this cosine function into its complex exponential form which consists of $e^{i \omega t} + e^{-i \omega t}$ ? Because on its own, cosine has a single frequency at omega, but the FFT must be interpreting cosine as a sum of its complex expon...
I have no experience with difference equations and I want to learn how to compute the following, but I found no resource online. Any help would be greatly appreciated. Find: $$\mathbb{E}\left[d[n]d[n + k]\right]$$ Where: $d[n]$ is a discrete time signal of the form: $$d[n] = \alpha \,d[n−1]+v[n] \quad (\alpha \in [0...
I have tried a code to compress a signal using Compressed Sensing(CS). The input signal is $x$ and the compressed signal $y$ is given by : $y=Φ*x$ where $Φ$ is the sensing matrix. I have used the following matlab function to compute the energy of $x$ and the energy of $y$ . energy_x= sum(x(1:384,:).^2); energy...
Could you help me with this theoretical question. The purpose is to design a discrete-time system. What it does is, it finds the maximum value in a one-dimensional sequence whose elements consist only of "non-negative" real numbers and contains only a single global maximum with no local maxima. Thanks in advance.
I take the dwt2 for an image and saved it's coefficients (LL,Lh, hl,hh) using pywt.dwt2 (image,'haar'),in my project I have to change them to uint8 but when I change their types and reconstruct the image an error appear prevent the show of the result image .can any body help me with this problem! My code is like: impo...
When i want to see heaviside or unit step function in matlab, as shown in attached figure. i get first value of 0.5,why 0.5? why not 1,as unit step is thought to be ?
The following research paper is for blind channel equalization and the author has modeled the channel as 7 tap weights https://ieeexplore.ieee.org/document/1096877 On page 3 it has shown the channel tap weights which they have used it. I want to know information about the channel? Is it the multipath fading channel or...
Suppose I have time series data at a one-minute resolution. Now I downsample data by taking mean of every 10-minute window, i.e., after downsampling, 60 readings will reduce to 6 readings. How should I show how good or bad my downsampling technique is? In a good downsampling technique, the downsampled sample should clo...
In a camera-projector system, if only the camera's intrinsics are known, is it possible to generate the depthmap fully automatically through a graycode sequence without any manual calibration process (like using a printed calibration pattern then move it away etc.) ?
I want to segment this Red Blood Cell Image on HSI color space.I want to try the Otsu Method but from what I read that method work only on Grayscale image.Do you have any suggestion for suitable image segmentation on those red blood cell image ? [EDIT] This is what i want to achieve(Segmented Blood Cell)
I'm trying to make a frequency response of that function: in matlab a made this: d=[1 -0.494 0.6404]; p=[1 1.58567330897 0.96]; [h,w] = freqz(p,d,40000); z = abs(h); plot(w/pi,z); d and p i calculated. The plot gives me this: but in book has that answer: as you can see the peak of magnitude is 2 and not about 6.5....
I'm new to ||image-processing|| and || fft filters || I have a relative smooth $\mathtt{2D}$ (circle) gaussian surface (height $10$) with several "holes" in it, and the surrounding area [has] some noise (height below $0.5$). Here's what I did, I transfer[ed] the matrix $\mathcal{A}$ with $\mathcal{A}_f= \text{fftshift}...
Given below is a function written in MATLAB for computing the modified periodogram, taken from Hayes, Statistical Digital Signal Processing and Modeling function Px = mper(x, win, n1, n2) x = x(:); if nargin == 2 n1 = 1; n2 = length(x); end N = n2 - n1 + 1; switch win case 1 w = rectwin(N); case ...
I have submitted this paper "Detecting a Valve Spring Failure of a Piston Compressor with the Help of the Vibration Monitoring" to figshare.com. I would like to get some feedback on the methodology of the same. Inputs of any sort are welcome. Can you please take a look at it and give me some feedback/suggestions/critic...
I am looking for a software/library or a web service/API that can detect problems in short samples of recordings of speech. For example echo, clipping, pop, background noise... Do you know of any tool that detects at least some of those?
Here is an example of convolution given: I have two questions here: Why is the vector padded with two 0s on each side? As, the length of kernel ℎ is 3. If is padded with one 0 on each side, the middle element of convolution output would be within the range of the length of , why not one 0 on each side? Explain the...
Suppose a signal is defined by $ x(t)= \begin{cases} t & 0\leq t \leq 1 \\ 2-t & 1\leq t\leq 2 \\ \end{cases} $ Since $x(t)$ has even symmetry, I can calculate fourier coefficient as $$ a_n = \frac{4}{T} \int_0^1 x(t).\cos{n\pi t}.{dx} $$ I have calculated $$\begin{equation} a_n = 2\big[\frac{\cos{n\pi} - 1}{n^{2}{\pi...
For a PSK communication with a symbole time $T$, the bandwidth of the system is $B=\frac{1} {T}$. But for a chirp spread spectrum with the same symbol time $T$ and the bandwidth of the chirp is $B_c$. What is the bandwidth of the system?
Suppose $x(t)$ is a signal containing a voice. How can one derive a signal playing the same voice faster. I tried $x(t+\lfloor{100t\rfloor}/100)$ to double the speed; But it adds a buzz sound. Is there a better formula? Clearly $x(2t)$ changes the voice. I want to change just the speed.
It is often said that a narrow band "in band" interferer will collapse and its BW will spread when it is correlated with a spreading code at the receiver of say a CDMA system while the signal of interest will pop up with a narrower BW (the data BW), and thus could be filtered and that is what is called processing gain....
I have the following question: Pole-zero plot of x(t) and y(t) are given below: The signal $g(t)$ and $h(t)$ are defined as $g(t)=x(t)e^{-3t}$ and $h(t)=y(t)*e^{-t}u(t)$. If $g(t)$ and $h(t)$ are both absolutely integrable, determine whether the signals $g(t)$, $h(t)$ are left-sided/right-sided. My try: I ta...
Would you please introduce me to some methods (or references) to do edge detection on some pulses (rectangular pulses embedded in noise). At first I apply some filters to smooth the signals, then I need edge detection. I have to say that they are 1-d signals (not images). I should say that in the next stage, I have t...
I know that the Expectation Operator $E\{x\}$ four discrete values is $$ \sum_k \alpha Pr(x = \alpha_k)$$ and its very intuitive when speaking out a formula which contains the Expectation Operator. But I often have some troubles when trying to apply it on real examples with numbers. E.g. the autocorrelation is complet...
To be more specific I want to show that impulse function in 2D can be represented as $β(r)=δ(r)/πr$. Also I want to show that each projection of a two dimensional impulse function at the origin is a Delta function. I could not find any useful information about these two problems, if anyone could help I will be apprecia...
In the NFL, quarterbacks receive playcalls from coaches over their helmet's wireless interface. Someone mentioned how occasionally, these radios will pick up interference from airplanes, and that frequently the helmets lose communication. One thing I wonder about is if an opposing team's coaches could pick up what wa...
I'm trying to self learn the art of signal processing whilst moving through my third year pure maths degree. Sorry if my terminology is incorrect however I hope I am understandable! I am looking at data which is coming from an accelerometer, distance data from a separate sensor and time data incrementing by 0.01 secon...
I'm trying to understand OFDM by making a simulation. Are these steps correct? generate M random complex QAM symbols. example: (1+j,1-j,-1-j,1-j....) Split my M samples into a N 2048 sized arrays Take IFFT of each array individually Add cyclic prefix to each array Make N square shaped signals by oversampling my IFFT a...
Consider a system $y(t) = \dot{x}(t)$ where $y$ is the output and $x$ is the input. Given an initial condition $x_0$ and two inputs $x_1$ and $x_2$ such that $$x_1(t)=x_2(t) , 0 \le t < t_0$$ the outputs $y_1,y_2$ corresponding to $x_1,x_2$ respectively should satisfy $$y_1(t)=y_2(t) , 0 \le t < t_0$$ since $$x_1(t)=...
I often read that one of the benefits of FSE vs a symbol rate equalizer, besides avoiding any aliasing in the roll off region, is that it is less sensitive to the timing phase. What does that really mean? Does it mean that if at the output of the matched filter instead of taking one sample (assuming it is not exactly ...
I'm looking for a way to trace a closed curve (i.e. a long list of pixel values all connected by lines in between) that approximates a bitmap image of black and white lines. The image starts out as an arbitrary bitmap image. I've been using this one for testing. Then it's converted to greyscale, passed through an edge...
I have difficulty in understanding of some fundamental terms as amplitude. Can be there more than one amplitude for a signal? The following expression is combination of 3 sinusoidal signal, so are there 3 different amplitudes, periods or frequencies? $h(x) = \sin\frac{2\pi x}{23} + \sin\frac{2\pi x}{28} + \sin\frac{2\p...
I am seeking explanation of what "Fourier method" is that is described for resampling in documentation of resample() method. I want to downsample an array. I know what decimation is and how it works, I also know what fourier transform is. I cannot however find "scientific backup" so to say to the resample method in sci...
I am trying to get $X[k]$ when $x[n]$ is equal to $$x[n] = \cos\left(\tfrac{\pi}{4}n-\tfrac{\pi}{4}\right)$$ I'm using this equation: $$X[k] = \sum_{n=0}^{N-1}x[n]e^{-j \frac{2 \pi}{N}kn}$$ but I'm really getting stuck. So far I have done Euler on the cosine and I am now trying to multiply the two exponents I get fro...
Hopefully this is the right forum to post this question. Initially posted to Meta. My mistake. Learned the hard way via downvoting. I searched AWS and Microsoft cognitive services for an FFT web service but can't seem to find one. Is such a service available? I am trying to build an Alexa/Cortana skill with an interac...
For a continuous signal (function), we have Bernstein inequality : $$ |{df(t)}/dt| \le 2AB\pi $$ where $A=\sup|f(t)|$ and $B$ is the bandwidth of $f(t)$. The question is: is there a relationship for a discrete function $x[n]$ like this? $$ |x[n] -x[n-1] | \le\ \mu\ W $$ where $$ X[k] = \sum\limits_{n = 0}^{N -...
I collected vibration data (amplitude and time) on a component that was attached to an engine. Using MATLAB I plotted a spectrogram to see what frequencies it vibrated at. The code: windsize = 1000; beta = 25; overlap = 900; thresh = -140; spectrogram(a, ... kaiser(windsize, beta), ... ...
Frequency-hopping spread spectrum waveforms change the carrier frequency at some interval. I can see if the frequency is constant for the duration of an entire packet, the pilot symbols could be used for synchronization but what happens in the case of "burst-by-burst carrier frequency hopping"? As mentioned in this pap...
I need help with my matlab code. I have recorded EEG data and now I want to analyse it in matlab. I want to find the mean power of specific frequency ranges (theta: 4-8 Hz,alpha: 8-12Hz etc.). For that I performed a fft. Next I used the interp1 function to find the amplitudes at specific frequency ranges. But I am not ...
I have a filter described by the following transfer function H(z): $$H(z) = \frac{156 - 156z^{-2}}{16384 - 32443z^{-1}+16073z^{-2}}$$ How will this be implemented with the first term in the polynomium being different from 1? Normally i would implement the filter with something like: $$y[0]=156\cdot x[0]-156\cdot x[2] +...
I've been given an audio signal with some high frequency noise. The professor gave me the system function of a lowpass filter that gives me control over the cutoff frequency: $$H(z)=\frac{1-\alpha}{2}\frac{1+z^{-1}}{1-\alpha z^{-1}}$$ where $\alpha=\frac{1-\sin \omega_c}{\cos \omega_c}$ and $\omega_c$ is the cutoff fre...
I have to implement an anti-aliasing filter for a certain processing step in MatLab. While searching in literature for inspiration, I came accross a paper in which the authors wrote the following: We implement the lowpass filters as triangular smoothing. The Z-transform representation of an arbitrary N-point filter of...
I'm having some trouble with a software waveform generator I'm attempting to put together. Especially with synchronizing the waveform. Goal Generate a mains synchronized (50 Hz) sinusoidal waveform to output on the DAC of a STM32F103. Current Method I developed a NCO (numerical controller oscillator) based on the accum...
I have 1280 points which I would like to perform an FFT using a M7 cortex with hard floating point engine. As the title suggest I would like to use the ARM CMSIS library to perform a non-power-of-two FFT. As I am not familiar with the library functions or FFTs, I would like to know if this is possible based on the avai...
In many textbooks, I've seen the application of Partial Fraction Expansion (PFE) to find an inverse Fourier Transform. Let's stick to the discrete time case, and let me give you an example. Let's say that $$X(e^{j\omega}) = \frac{-\frac{5}{6}e^{-j\omega} + 5}{1 + \frac{1}{6}e^{-j\omega} - \frac{1}{6}e^{-j2\omega}}$$ an...
Since the coefficient of one frequency could be seen the length of the signal projects on that frequency basis. And the length is $$|a|\cos\theta= \frac{a\cdot b}{|b|} $$ If I divide the coefficient by $|a|$, how to interpret the correlation cosine angle from frequency domain?
I was wondering what is the difference between channel estimator and channel equalizer? Thanks!
$ a = (x, y) \in \mathbb{Z}^2 $ is given as a pixel. My equation in which $g$ is image(matrix) is defined as, $f(x, y) = 56g(x,y)+93g(x−1,y)+92g(x+1, y)−57g(x, y−1)+555g(x, y+1) $ How can we know whether $f(x,y)$ is linear, proving? By saying linear, it is like a filter which is linear. $g(x,y)$ means a pixel at $x$ ...
I want to know that if I have any signal given how will I draw it according to the following equation $$x(t-1)-1/2$$ what will be the role of $1/2$ when drawing the new signal?
I need to implement the RLS algorithm but it's for matrices instead for vectors, I have made the below code, but still something wrong is not working well, EDIT: The code should be done as below, But how can we process the line of g(:,n)=P*colo*((lamda + colo'*P*colo).^-1); This notation is valid if H is a vector, a...
I'm studying for an exam and have some trouble with an exercise. So I have a continuous-time signal that is $$s(t)=\sin(2\pi f_{s1} t) + \sin(2\pi f_{s2}t)$$ with $f_{s1} = 1.4\text{ kHz}$ and $f_{s2} = 1.45\text{ kHz}$. After sampling the time continuous signal I'll have to get the DFT of the discrete signal. The task...
I have been working with some seismic data and recently submitted a paper to a journal. My seismic data has 493 traces: each trace are 8300 seconds long with sampling frequency of 2000 Hz. One of the reviewers is asking me to generate a frequency spectrogram at the time= 2000s for all signals. My knowledge about the sp...
I'm just learning about linear prediction and was wondering whether or not there are any signals that would produce no error if run through a linear prediction algorithm. I was thinking (maybe naively) that if we have a linear signal (one that changes linearly with time) that we should be able to linearly predict this ...
Consider the following sequences: $x_{1}(n) = A$ (a constant), $x_{2}(n) = u(n)$, $x_{3}(n) =\delta(n)-\delta(n-1)$. ($\circledast$ stands for linear convolution) If I perform the operation $x_{2}\circledast (x_{3}\circledast x_{1})$, the value I am getting is $0$, where as if I perform $(x_{2}\circledast x_{3})\circle...
my doubt is about a vector of values that I have and which histogram is the following one: The function I used to create the histogram was: histogram(q,1000); %q is the aforementioned vector of values Now, I have to calculate the variance of each of the 2 gaussian distributions that appear in the image. I know that t...
I've taken the following link http://coding-geek.com/how-shazam-works/#comments as a project to start practising and learning signal processing and python programming for me to get started in speech recognition and so on. My experience with signal processing and python is no more then one week of heavy research on mult...
The have the following question: A signal $m(t)$ with bandwidth 500Hz is first multiplied by a signal $g(t)$ where $\displaystyle g(t)=\sum_{k=-\infty}^{\infty}(-1)^k \delta(t-0.5*10^{-4}k)$. The signal is then passed through an ideal low pass filter with bandwidth $1$kHz. The output of the low pass filter would be? T...
I am following the MIT open course you can find here. My question is about one of the exercises given as homework in the latter and more specifically I think I am missing something on the concept of "system initially at rest". Homework [exercise 8]: HW2 Solutions: SOL2 In the proposed solution he is solving the probl...
For an exercise, we made a noise signal by generating a normally-distributed random vector in MATLAB. The mean is defined to be equal to zero and the variance is set to 0.5. I know that the power spectral density is just the fourier transform of the variance in frequency domain. In this case, does the PSD just equals t...
Why is convolution commutative, as it seems to treat two signals in a different way in an LTI system? If you imagine $y[n] = x[n] \star h[n]$ with $x[n]$ being an input signal and $h[n]$ being the impulse response of an LTI system A, how does it make sense that LTI system B with input $h[n]$ and impulse response $x[n]...
When looking at the discrete model of a Sigma-Delta Modulator as shown below, we can see that the quantizer is modelled as a white-noise source $e[n]$. From this model, we can derive the noise shaping property of the modulator. $$ Y(z) = X(z) + (1-z^{-1})E(z) $$ In a typical Sigma-Delta Modulator, the quantizer is real...
I am given the coefficients of an FIR filter. I have created its impulse response through a convolution with a unit pulse. Now I want to plot the frequency spectrum. I perform zero-padding and windowing with a blackman-window. This does not seem to have a big effect on my result though. Still, I wonder: For some reason...