instruction
stringlengths
31
27k
For a project work, I need to demodulate data from a Laser Doppler Vibrometer. The distance information is phase-modulated, therefore the velocity information is frequency-modulated: $$x \propto \varphi \; \Leftrightarrow \; v = \dot{x} \propto \dot{\varphi} = \omega$$ After demodulation the (velocity) signal still is ...
I want to test some code generated by this site. I selected Bessel LP 1st sample rate $600\textrm{ Hz}$ corner $8\textrm{ Hz}$ long $10\textrm{ bit}$. If I adjust the code for octave to be: clear all; close all; N = 1024 v0=256; v1=256; m = []; for mi = 1:128 ip=round(rand(N,1)*512); for i = 1:N v0 ...
Say you wavelet transform a signal, multiply by some values, and untransform. Is there anything we can say about the effect in real space? I know that it's not exactly a convolution, because the convolution theorem doesn't really exist for the wavelet transform. So if it's not a convolution, what is it? Also, is the ef...
What is the difference between an autocovariance matrix and autocorrelation matrix?
Fred, a DSP engineer, goes to his favorite DSP store to do some shopping. Fred: Hi, I'd like to buy a phase shifter. Shop assistant: Hmm, what exactly do you mean? Fred: Well, you know, if you put in a sinusoid like $x(t)=\sin(\omega_0t)$ you get $y(t)=\sin(\omega_0t-\theta)$ at the output, for any $\omega_0$. And of c...
By Georg-Johann own work, CC BY-SA 3.0. I’m trying to synthesise a sine wave using an IFFT at a frequency between bin centre frequencies. Here are the details -Samplerate : 44100 -FFT Size : 512 -SignalFreq : 110 hz -FreqPerBin : 86.1328125 -Bin1Freq : 86.1328125 -Bin2Freq : 172.265625 This desired Signal F...
Let's take a time domain function $x(t) = \cos( 2 \pi f_0 t) $. Its Fourier transform can be represented as $$X(f) = \frac{1}{2} \left[ \delta(f - f_0) + \delta(f + f_0) \right]\tag{1}$$ as well as $$X(j\omega) = \pi \left[ \delta(\omega - \omega_0) + \delta(\omega + \omega_0) \right]\tag{2}$$ which was initially wro...
In most IQ graphs of QAM noise, it seems like the constellation ends up with more distortion the farther you get from the center: What causes this non-linear distortion, and why are QAM constellations not shaped like the following?
I have general theoretical questions: Is it true that an adaptive filter with two inputs (one normal and one delayed by the single time increment) can completely get rid of any single frequency noise? Is it then true that a three-input adaptive filter can (completely) get rid of a noise consisting of two harmonics, ...
While studying frequency transforms ,I get confused with the terms like $X(j \omega) ,X(\ e^{j \omega })$ and $ X(\omega)$ ,where $ \omega = 2 \pi f $. So what is the difference between them ?
I'm a newcomer to the DCT, DFT etc. I understand that they're intrinsically related, I understand that the DCT tends to "compress" the information in a signal towards the first few bins, leaving the rest relatively close to zero. I'm trying to learn more. DCT has different "types". Based on reading wikipedia, the types...
I'm writing software a Signal Analyzer, as in Github - Signal Analyzer, for decoding audio samples of FSK data back to bits (ASCII, etc). The software is working really well at this point for decoding FSK when the mark and space frequencies are sufficiently greater than the baud rate. However, I detect a frequency of $...
I have a $14$-$\textrm{bit}$ ADC which can take $-10\textrm{ V}$ to $10\textrm{ V}$ as input. So, $0$ to $16383$ (digital) represents the voltage from $-10$ to $10$. If I want to get the actual voltage from the digital values I am getting, what should I do? i.e. if $8192$ is coming then my program should identify it as...
I would like to know what type of microcontroller should I buy for this control loop task. Scenario: I have a digital signal coming from the following equipment: $\boxed{\text{Ultrasonic}\\\text{transducer}} \longrightarrow\boxed{\text{ADC}}\longrightarrow\boxed{\text{DSP Board}\\\text{(some high and low pass filter)}}...
I'm trying to solve an exercise in a general way and I can't find if my answer is correct. Given this frequency response: $$H(z) = 4 + 2\sqrt2 z^{-1} + z^{-2}$$ I need to find a frequency response that has maximum-phase response $H_{1}(z)$ such that $\lvert H(z)\rvert = \lvert H_{1}(z)\rvert$. First of all, I write: $$...
The problem I'm having concerns an add operation in verilog which is part of a transposed FIR filter. add(a,delay_line[i],delay_line[i+1]); a is an input from multiplying a cofficient with the current input sample. delay_line[i] is an input from the delay line at index i delay_line[i+1] is an output to the delay lin...
We all know that for any, suitable, kind of signal $f(t)$, there corresponds a Fourier transform function $F(j\omega)$ such that $$ f(t) = \frac{1}{2\pi} \int_{-\infty}^{+\infty} F(j\omega) e^{i\omega t} d\omega $$ So, $F(j\omega)$ can be recognized as the component of $f(t)$ along $e^{i \omega t}$. This is similar to...
In MRI, the T1 relaxation constant for a tissue type is defined as the time taken for the longitudinal relaxation to recover approximately to 63% of its initial value. Is there any modification of the T1 time due to application of gradients. Suppose, after application of the RF pulse, the magnetization is tipped comple...
Suppose I want to track the position of a car in 2D. What I get as sensor data is my current position. So my state is $$\mathbf{x} = \begin{pmatrix}x\\y\\\dot{x}\\\dot{y}\end{pmatrix}$$ where $x \in \mathbb{R}$ is the position in m away from some predefined point, $\dot{x} \in \mathbb{R}$ is the velocity in m/s at star...
Why $Y (\omega) = X(\omega)H(\omega)$ implies that an LTI system cannot generate any new frequencies? Why if a system generates new frequencies, then it is not LTI?
I have the following problem with convolution operators. I know that if I have a filter $g$, then the adjoint filter would be given by $h(x,y)=g(-x,-y)$, so that $\langle g * u,v \rangle = \langle u,f *v\rangle $ holds for the $\mathbb{R}^2$ scalar product. I also know that $Ff(-\omega) = \overline{Ff(\omega)}$ for re...
Why are those two systems equivalent? System 1:$$\boxed{x[n]}\longrightarrow\boxed{\uparrow 3}\longrightarrow\boxed{\downarrow 4} \longrightarrow\boxed{y[n]}$$ System 2:$$\boxed{x[n]}\longrightarrow\boxed{\downarrow 4}\longrightarrow\boxed{\uparrow 3} \longrightarrow\boxed{y[n]}$$ By drawing in time the first system'...
The frequency response is: $$H(z) = 2-7z^{-1}+7z^{-2}-2z^{-3}$$ I see that it has $3$ zeros: $z_{01} = \frac 12$, $z_{02} = 2$, and $z_{03} = 1$; and $3$ poles in: $$z_x = 0$$ Now, I have to write it like: $$H(z) = H_{\rm min}(z) H_{\rm max}(z) H_{\rm uc}(z)$$ where $H_{\rm min}(z)$ is the minimum-phase frequency respo...
I am computing the correlation with MATLAB using the convolution fonction with a signal flipped before feeded into the function. Here are the results. The first plot is the actual signal, the second one is the signal I am trying to find in the first signal and the third one is the convolution results. On the first plo...
I am trying to apply windowing to do MRI reconstruction. I have a 256 point one dimensional k-space samples which look as follows: Here, the real part(green) is flat around 0 and the blue curve is the imaginary part. Now, what I would like to do is perform some apodization. For this, I construct a hanning window as fo...
This signal represents the distance in an experimental device. As the speed is constant, the signal should be linear (untill it drops). However, for some reason the device showed interferences as shown in the figure below: The question is how can I remove this high amplitude interferences, making the signal as linear ...
I am a beginner in image processing and I have to learn to program in MATLAB as soon as possible. I started with Rafael Gonzalez book, but understanding this theoretical knowledge and mathematical aspect from one side and bringing this knowledge into practice for doing my project from the other sides, it is a challengi...
I have been used NLMS algorithm to equalize 4x4 MIMO signals, but the bit-error-rate (BER) after equalization is unstable with iterations. I don't know if it is the normal behavior of the adaptive algorithm or some parameters in the algorithm needed to be adjusted. the updated equation used for this algorithm is: $$ \m...
I have an input sequence $$x(n)=\cos(0.48\pi n)+\cos(0.52\pi n).$$ I am determining its spectrum (amplitude of DFT values) based on the finite number of samples. For Example : Taking the first $10$ samples of $x(n)$, $n=0, \ldots, 9$, calculating the $10$-point DFT of $x(n)$ Using the $10$ samples from part $1$, calcu...
I would like to know how much time it takes the receiver to evaluate the SINR? Scenario: Assume that a base station (eNodeB) would like to transmit to one user. Let us say that it sends a pilot signal of L bits to that user. Then the user calculates the SINR (assuming that there are a set of N other interfering base s...
I'm trying to control a system where the controller sample rate is physically fixed and the plant has significant dynamics on the same order as the sample rate. I understand that one would prefer to have the sample rate considerably faster than the plant dynamics, but the physics of this system are such that this is in...
I'm new to signal processing but I'm trying to understand how the Butterworth filter works. To do so, I did the following: I assumed a sampling frequency of 100Hz and wanted to attentuate everything after half the Nyquist frequency. The code I used is the following [b,a] = butter(2,0.5); fs = 100; %Sampling frequency t...
I suspect I have a very basic misconception so I'm trying to clarify that here: A signal should be filtered before it is sampled, correct? That is, I always sample an analogue signal at some sampling frequency after it has already been filtered. However, MATLAB's butter function acts on sampled data. See the example co...
Let's assume that a linear and time-invariant system is sampled at 2 different frequencies $F_{s}$ and $2F_{s}$ (e.g. 5Hz and 10 Hz). It gives $$Y_{F_{s}}(z) = H_{F_{s}}(z)X_{F_{s}}(z)$$ $$Y_{2F_{s}}(z) = H_{2F_{s}}(z)X_{2F_{s}}(z)$$ where $Y_{F_{s}}$ and $Y_{2F_{s}}$ are respectively the z-transforms of the sampled si...
I have a matrix of N rows of time-series data. There is a specific noise contaminating measurement of the data that I have some information about. The noise in the data can be modeled as a poisson distribution that blurs signal from a given column in the matrix to adjacent columns. For example, if the original data sho...
This is from Oppenheim's Discrete-Time Signal Processing, but the book doesn't seem to describe how the factorization is done. The transfer function: $$H(z)=\frac{Y(z)}{X(z)} = \frac{\sum_{k=0}^M b_kz^{-k}}{\sum_{k=0}^Na_kz^{-k}}$$ can be factored to the form: $$\frac{b_0}{a_0} \frac{\prod_{k=1}^M (1-c_kz^{-1})}{\prod...
I'm beginner in DSP and in the literature some Authors suggest Analog (Continuous) Signal Processing a prerequisite for learn DSP. But it demands calculus background, that I do not have. Is calculus and ASP background a must for learn DSP?
I am trying to identify a vibrational systems by computing the frequency response function (FRF) of the system when a chirp signal is applied to its input. After comparing the FRF computed and the bode plot of the transfer function I found that the resonance has been well detected but the anti-resonance has not. The ...
Out of curiosity, is it possible to actually reverse a filtering on MATLAB. For example, if I have [b,a] = butter(6,0.6); dataIn = randn(1000,1); dataOut = filter(b,a,dataIn); Is there some way to go from dataOut and obtain dataIn in this example? I was able to more or less get there with the very simple dataOutprime...
In Bartlett's PSD estimate one averages over L segments of the squared DFT coefficients. From wikipedia I found this formula $$ \textrm{PSD}(k) = \frac{1}{L}\sum_{l=1}^{L} \frac{1}{M} \lvert X^{[l]}(k)\rvert^2 \tag{1}$$ where $X^{[l]}$ denotes the DFT of the $l^{\rm th}$ segment. With my (not so standard) DFT Definitio...
My problem is related to the periodicity of DFT. Having the following expression $$ Y_{k}=\sum_{n=0}^{2N-1}e^{-j\frac{2\pi mk}{2N}} $$ I can easly find that the upper function is $2N$ periodic. So if $k \in[0,1,..,2NK]$ I would get $K$ concatenated versions of original signal between $0$ ans $2N$. If I truncate the or...
I would like to detect and track the following target to land an UAV. Target size is $1\rm m \times 1\rm m$. I have tried SIFT + FLANN but there is too few keypoints to have a good match. Have you any idea on which algorithm I should use ?
Given an infinite number of samples $(N)$, a higher (or lower) number of samples $(cN)$ can be derived using sinc interpolation followed by sampling. How can this be applied to finite length signals? With $\mathrm{sinc}$ interpolation, one can derive a continuous-time signal as: $$y(t) = \sum^{\infty}_{n=-\infty} y[n]...
I have a time-series observation dataset that has been distorted. I want to recover the best approximation of the original signal as possible. Disclaimer:: I know only the basics of linear algebra, so please bear with me. I have a good model of the distortion, represented by a square matrix. In theory, if I can find an...
The situation is as follows. I am generating a white noise voltage signal with a certain power spectral density amplitude of choice, from 0 to some cutoff frequency, for example 200 MHz. This proceeds as follows: first I make my white noise in Mathematica. I use a technique in which I convolve unit white noise (with va...
I know this is a very basic question and I am coming out from a quarter of DSP. I want to create a function in Java which can taken in two parameters, either (double centerFrequency, double bandWidth) or (double startFrequency, double cutoffFrequency). Based on the information I've gathered, I want a non-ideal IIR filt...
Given a signal $x(t)$, how do I implement a form of autocorrelation function defined as $a(t,T) = x(t-T)x(t+T)$, where $T$ is an arbitrary constant? (a fast implementation would be ideal) Edit: This kind of signal I came across from seeing a "Parametric Symmetric Autocorrelation function", defined as above. It is use...
I'm trying to think of how to construct a filter based on the following scenario. I have some time trace with a certain known power spectral density (I can verify this with a periodogram of the time trace). The time trace then goes into a machine that realizes it, which does so with some level of imperfection. Treating...
I'm trying to solve this signals homework problem: So for part a, since multiplication in the time domain is convolution in the frequency domain, I just used a DTFT table, found the DTFT for $\left(\frac12\right)^n$ and $\cos(\pi n/2)$, convolved them, and solved for $H(\Omega)$. I got the same answer they have in par...
I'm trying to make an implementation of the Huggins Binaural Pitch illusion, which is where if you play whitenoise into each ear, but offset one ear by a period $T$ that it will create the illusion of a tone of $1/T$. Unfortunately when I try this, I don't hear any tone. I've found a python implementation here, but unf...
If symmetry conditions are met, FIR filters have a linear phase. This is not true for IIR filters. However, for what applications is it bad to apply filters that do not have this property and what would be the negative effect?
$H(z)$ is the transfer function of a biquad filter as described here. I would like to plot the Bode plot of the magnitude response of $H(z)$. Scipy has a bode method (scipy.signal.bode) for continuous-time transfer functions. Is there an option I didn't see for discrete-time functions? I found in this nice file formula...
The power spectrum of a stationary discrete-time random signal is $$\Phi_{xx}(e^{j\omega})=\begin{cases} 1 & |\omega|<\pi/2 \\ 0 & \pi/2 <|\omega| \le\pi \end{cases} $$ (a) Determine the autocorrelation function $\phi_{xx}[m]$ I know that the power spectrum is the DTFT of the ACF at 0, but how can I find the ACF fr...
Please preface your answer with spoiler notation by typing the following two characters first ">!" Below is an implementation of a "Gold Code" Generator formed by adding (in $GF(2)$) the outputs from two linear feedback shift registers (LFSRs). This generates a pseudo-random sequence and is similar to the C/A Code Gene...
How can i see the characteristic(frequency response) of an active high pass filter?I attached the circuit and the value of resitence .Can i see it on the computer without an osciloscope ?How can i calculate it on the paper? Thank you very much!
Wikipedia defines mathematical deconvolution here, and with the examples given and my experience, what I've read over the years is that deconvolution is used to determine an input signal provided a measurement of a system's output signal, and the known frequency response or transfer function of the system. But in the c...
We generally prefer orthogonal transformations/matrices in signal processing as the transpose of the matrix is the inverse and you do not need to find inverse transform separately. But involutory matrix is one step ahead. It is the inverse of itself. Why don't we see involutory matrices in signal processing? I am n...
I am wondering how to shift the center frequency of the below complex data from 0, to say 20 MHz (10 MHz to 30 MHz- 20 MHz bandwidth). I tried to change the indexing of the bins but I could not get it to shift. I understand fftshift shifts frequencies about 0 Hz, any way to shift the whole spectrum to something other...
Can FFT only operate on Grayscale images? If Yes, why? Can FFT only operate on images with dimensions of power of two? If Yes, why?
So I am a complete novice to ICA, so excuse my question if it is bad one, but I have the signal: $$\sin(2\pi x) + \sin(4\pi x) + \textrm{Additive White Gaussian Noise}$$ I want to try to separate the two signals and apply a Fourier Transform on each one individually, to see if I can get a better spectral estimate than...
The $L$-point moving system is: $$y[n]=\frac 1L\sum_{k=0}^{L-1}x[n-k]$$ $x[n]$ is a Bernoulli random signal with $\beta=0.5$ (equal probability) The autocorrelation of $x[n]$: $\psi_{xx}[m]=\delta[m]$ Normally for this type of problems, I would start with $h[n]$, then use the property $$\Psi_{yy}[m]=|H(e^{j\omega})|^2...
In this link, it says that the gradient is as follow The Gradient of the TV norm is $$ \mathrm{Grad}J(f)=\mathrm{div}\left(\frac{\nabla f}{\lVert\nabla f\rVert}\right). $$ From this other link, it also mentions that the derivative is as follow Formally, we can write $\partial J(u)=-\mathrm{div}\left(\frac{\nabla...
From this paper (slide 11), the insertion loss (or attenuation) is defined as $$ L(\omega^2)=\frac{\lvert V_i(j\omega)\rvert^2}{\lvert V_o(j\omega)\rvert^2}=\frac{1}{\lvert H(j\omega)\rvert^2}=10 \log\left(\frac{1}{H(j\omega)H(-j\omega)}\right) $$ I'm interested specifically in, where does the last inequality follow?
I am having a question about comparing the control performance of a given closed loop. In this link there are some characteristic values that need to be calculated, but there is no description of what they mean or their interpretation for example: the root-mean squared control error and root-mean squared change in the...
I was reading Winder's Analog and Digital Filter Design and the section on Bessel filter. I was hoping to see a complete derivation of the Bessel filter theory, but Winder's book gives only \begin{align} H(s)&=e^{-sT} \tag{$\scriptstyle\text{pure delay}$}\\ H(s)&=e^{-s}=\frac{1}{\sinh(s)+\cosh(s)} \tag{$\scriptstyle\te...
The directivity of an array is defined as: $$ D = \frac{1}{2} \int_{-1}^{1} \lvert B_{u}(u)\rvert^{2} du$$ Where $B_{u}(\cdot) = \mathbf{w}^{H} \mathbf{v}(\cdot) $ is the beampattern of the array in u-space, $\mathbf{w}$ are the array weights and $\mathbf{v}$ is the array response vector. Expanding this expression, we ...
Given a symmetric Fourier transform with finite support as below, there's an algorithmic procedure to determine the minimal frequency for sampling without aliasing: Find an integer $L>1$ satisfying $f_2=L(f_2-f_1)$ The desired frequency $f_s$ is given by $\frac{2f_2}L$. If no such $L$ exists, expand to the right or le...
Consider an image sensor that is moving with some velocity $\mathbf{v}(t) \in \mathbb{R^3}$, and an orientation $\mathbf{R}(t) \in SO(3)$. Treat those vectors as fixed. At a specific time $t$ the projection of the scene on the sensor is: $$u_{\mathbf{v},\mathbf{R}}(t)$$ The sensor pixel data is now sampled in a series ...
I have just started DSP self-learning. I am a little confused by this 'end of the chapter' exercise question from Chapter 2 of "Understanding Digital signal processing" 3rd edition by Richard G. Lyons. Consider a continuous time-domain sine wave defined by $$x(t)=\cos(4000\pi t)$$ that was sampled to produce the discr...
I have 4 signals ($w_1(t),w_2(t),u_1(t),u_2(t)$ of which I know the power spectral densities (PSDs) $S_{w_1,w_1}(\omega),S_{w_2,w_2}(\omega),S_{u_1,u_1}(\omega),S_{u_2,u_2}(\omega)$ and the cross PSD $S_{w_1,w_2}(\omega),S_{w_1,u_1}(\omega),S_{w_1,u_2}$,... etc for all. Is it possible to obtain the PSD of $S_{\Gamma,\...
I am trying to design a FIR bandpass filter for a STM32F407 microcontroller with a passband of 1kHz between 59500 Hz and 60500 Hz or something similar (since I don't really know how tight I can squeeze it). I am trying to design the filter in MATLAB so I can get the co-efficents for later implementing them in C. While ...
I want to measure and compare the phase response of two identical microphones. To do this, I have a pressure chamber, which allows to apply the same pressure to both microphones. I apply a sweeped sine wave to the chamber to measure the freq. range of interest. As Data I have the applied pressure and the measured press...
I'm searching for an algorithm for resizing a RF sampled signal in order to draw it without losing any important maximum or minimum values. The values of the vector are negative/positive around zero.
This question asks what's the point of zero padding. The accepted answer is certainly very insightful, but I don't understand a big chunk of it: Zero padding allows one to use a longer FFT, which will produce a longer FFT result vector. A longer FFT result has more frequency bins that are more closely spaced in fr...
As I understand it, in MRI, a line in k-space is usually acquired while the readout gradient is applied. So during the application of this gradient the protons spin at different frequencies along the gradient. Now, I sample the MRI signal during the application of this gradient. My confusion is that I can sample the s...
Does anyone have a reference handy on how to convert poles and zeros of a system to differential/difference equations. Here is a quick draft of math, but I am not sure if it's at all correct. First, solving the characteristic equation gives the eigen values (equal to poles). Applying rudimentary knowledge of different...
To prevent aliasing caused by the finite number of pixels on a sensor, a blurring filter is commonly used. How does that work from a frequency domain perspective? What is the transfer function of such a filter?
I'm programming in c# using opencv (emguCV). I use motion detection approach to detect some changes in a paper wall. For example it's may be colored by a laser pointer. My problem is that when I use motion detection, some unwanted changes are occurred by wind, sun and etc. Also I want to save the time of event so I can...
This is sort of a cross between a data processing and Physics question, but I would be grateful if anyone here could help me. My objective is to calculate the sound pressure level (in dB) of a sound generated 1 meter away. I would like to use my condenser microphone to calculate this. The microphone I have is the Blue ...
For the implementation of an auto-focus for the raspberry cam I need some measure of image sharpness. I used the following sample picture: The first approach was to compute the shannon entropy of the whole image over its histogram. Then I artificially blurred the image to see the change in entropy. Expectation was tha...
I have been applying ensemble averaging (adding signals of different trials to obtain one signal) to improve Signal to noise ratio in my data. I have achieved good results in terms of classification accuracy when I apply the data to a classifier. However what if the data for different trials are out of phase w.r.t eac...
Both BPSK and 2-VSB transmit one bit of information per smybol and both modulate the real part of the signal. The difference is, as far as I understand, that BPSK does not modulate the imaginary part of the complex signal at all, while 2-VSB uses hilbert transformation to suppress the lower sideband of the transmitted ...
I'm working on a signal processing project about vocal system, and I'm trying to use controlling theories to solve the problem. I need to get the transfer function, $H(s)$, of a speaker, from electrical signal to voice. But it seems that I have to use a microphone to pick up the voice. Considering the microphone itsel...
Would you be able to hear the carrier wave of an amplitude modulated station, if you could hear in the MHz range, or would the high frequency be filtered out after rectification?
So basically I have a set of multidimensional data that I need to determine the covariance of between dimensions in real-time. Each point that comes in is a vector. I have gotten the mean and variance per dimension using this answer: Determining the mean and standard deviation in real time. But I also need to find the ...
This article here on the Window method for FIR filter design speaks of the total normalized bandwidth of the lowpass filter in $\textrm{Hz}$ (counting both negative and positive frequencies) What is it?
What are some applications of virtual microphones (as in here http://sail.usc.edu/aigaion2/index.php/attachments/single/119.)? Are there good references (books or comprehensive tutorial papers) for this technology?
A impulse response for a LTI system is given by: $$h[n]=\left(\frac{2}{3}\right)^n u[n]+2 \left(\frac{1}{5}\right)^n u [n]$$ and if the putput for the system is given by: $$y[n]= \left(\frac{1}{3}\right)^n u [n] $$ What is the input in the $z$-domain ($X(z)$)? And what is the output in the time-domain ? I'm not su...
How would you define perfect (inter-sample) interpolation, and is it possible? To quote Armifinn's prior answer: "I guess the most important result is that for signals with bandwidth limitation, you can have perfect reconstruction via sinc(⋅)sinc(⋅) convolution; the famous sampling theorem..." If by perfect interpola...
I am currently working on a Simulink block designed to perform an online computation of the weighted kurtosis typical of a certain signal. This block is part of a larger control algorithm, which will then be compiled as a DLL and run in both simulations and lab tests. So far the Simulink block diagram is as follows. T...
i would like some help with this: given: $$ h[n]=2^{-n} u[n] $$ calculate the series: $$ \sum_{r=- \infty }^ \infty h[n+4r] $$
I have a 8-bit greyscale 16x16 image where I want to extract coherent shapes with a more or less consistent pixel arrangement if possible (like: a rectangle, staircase, line). Currently, I'm doing this in two simple steps: Find all pixels which have a value above a fixed threshold. Group all pixels which share at leas...
The $\mathcal Z$-transform uses the same notation as the unit delay $z^{-1}$, but in $\mathcal Z$-transform $z$ is a complex number. What's the relation between the $\mathcal Z$-transform and the unit delay concept? Also, is there a complex number interpretation of unit delay?
In this paper on page 4 (or in slide page, 23), it describes the equation for calculating the minimum required order for elliptic filter for design specification. However, it says it is only the estimate, and I wonder how the equation is actually derived. Can I trust the equation in all applications, or should I give s...
Let me start with time domain representation of the original signal \begin{equation} x_n=\sum_{k=0}^{2N-1}X_ke^{j\frac{2\pi nk}{2N}} \end{equation} where $2N$ is number of time/frequency samples while $n$ and $k$ are time and frequency indices, respectively. Downsampling by factor of $M$ is essentially multiplying...
I need to compute the DC offset, amplitude, and phase of a sine wave and I would like some help validating that my current technique is correct and get some tips to improve my technique. I am a DSP noob. I have a signal that is sampled at 100 kHz and I am reasonably sure of the signal's frequency. To find the DC offset...
Playing a piece of music audio at a slower speed would lower its pitch (frequency). Is there a tool and theory to slow down the song playing while keep the frequency the same? I suppose one can do windowed Fourier transform or wavelet transform. It seems one have to either pre-select the window size or dynamically choo...
I know how to determine the energy of $\text{sinc}^2(kt)$, but how does this change when I need to find the energy of $(kt)\cdot \text{sinc}^2(kt)$. If the $(kt)$ in front is squared (in energy integral) does that make the energy of this infinity ? the energy integral in time domain would be $$E_{\infty}=\int_{-\inf...
TRUE / FALSE Given three systems with rational $\mathcal Z$-transform. Systems A and B are not stable with $\mathcal Z$-transform $H(z)$, $G(z)$ respectively. A and B have no common poles. System's C $\mathcal Z$-transform is $F(z)=H(z)/G(z)$, then C is also unstable? False: \begin{align} H(z)&= \frac{1}{1-2z^{-1}}: \t...
Suppose we have a vector of length N of DFT, which every odd index (in frequency) equals 0: $$X[k] = 0\quad \forall k:\, k\mod2\equiv1$$ What does that mean for the series in the time domain?