instruction
stringlengths
31
27k
I am trying to make my own demonstration in order to find what is equal to the FT of the Autocorrelation function. The autocorrelation function in some book about turbulence is defined as: r($\tau$)=$\lim_{T \to \infty}\frac{1}{T} \int_{t0}^{t0+T} u(t)u(t+\tau)dt$ (1) where T is the time interval, t0 is the starting...
Suppose $X(t)$ and $Y(t)$ be two independent random processes. Is $E(X(t_1)Y(t_2))$ necessarily zero?
I am experimenting a bit with FFT's. From what I have read the first bin of an FFT is called the DC bin -- that is it is the mean of the other components in the FFT. I have also read that it should be close to 0. When I actually perform the FFT and take the absolute value, what I find is that the first element of this ...
I filtered my signal with low pass filter butterworth forth order with cutoff frequency of 50 hz. However when I compare the filtered signal with original one in frequency domain, it seems that the cut off frequency started from 25 hz instead of 50. this is my matlab code and my data from here %sampling frequency is ...
I have a question about the parseval relation written here https://en.wikipedia.org/wiki/Parseval%27s_theorem (In the chapter Notation used in physics). If I have a signal continuous but limited (so it does not go from $\infty$ to $\infty$ but from 0 to T, can The Parseval theorem be applied?
I was looking for some feedback on conversion of equalizer/filter coefficients at different sampler rate. Problem Statement: We have built a transmitter system whose output is at 1.5 sample/symbol (i.e. ratio of Output sample rate/Input sample rate). The signal going through this transmitter is modulated carrier of b...
I'm trying to implement my own SDR using Matlab. I was wondering what kind of device I could buy in order to test it. I know I can use my own soundcard but I was thinking of EM waves, not sound. Is there a device capable of functioning as transmitter and receiver and be compatible with Matlab? Just wondering, I have fo...
I'm sure this is a silly question but reading a bit about the PSD vs ESD for continuous signals, I'm a bit confused how that applies to discrete signals. Usually people seem to be using the PSD when analysing real world signals, why not the ESD, I would assume a discrete real world signal is never infinite and thus nev...
Does anyone know a complete reference or book on matrix completion?
I have to do a demonstration. If we do the Parseval identity of the signals $x(t)$, $y(t)$ and $z(t)$ that go from $0$ to $T$ and that are real, we have: $\int_{0}^{T} x(t)^2dt=\int_{-\infty}^{\infty}|X(f)|^2df$ $\int_{0}^{T} y(t)^2dt=\int_{-\infty}^{\infty}|Y(f)|^2df$ $\int_{0}^{T} z(t)^2dt=\int_{-\infty}^{\infty}|Z(...
This is the first time I have worked with any code so I am rather unfamiliar with all the lingo and processes involved. I am trying to convert a signal to the frequency domain and want to find the spectral power within the 0.5-1.0 frequency band. I have the code to produce the relative power within this band, but I kno...
I am new to particle filtering. I can see when particle filters are used with Ensemble Kalman's, the velocity of the states are taken care of by the Kalman. When tracking using particle filters only with position-only measurements, how do you get the velocity for propagating the particle by the transition function ? ...
In a healthcare application, I need to calculate urine flow by differentiating the mass of urine emitted by a person over time. The measuring instrument consists of a load-cell under a fluid container, with its signal being sampled at 2kHz. My original dataset is here. The signals are noisy due to the load cell, and dr...
I'm trying to determine the continuous time formulation of the double exponential filter so that I can adapt it more flexibly for my particular problem. Typically, this model is expressed as a pair of discrete, recursive equations as such in @denis' post here) Double exponential smoothing a.k.a. Holt-Winters smoothing...
Is it possible to define a scaling property for fourier transform when the scale factor is complex? Usually the scaling factor is real. What happen when a scaling factor is complex?
Say I open an audio segment with Audacity. Then I perform a size 4096+ FFT with a rectangular window. The program outputs bin magnitude values in dB. If I add them all together like this: sum = 10*log10(10(bin1/10) + 10(bin2/10) + 10(bin3/10)...). I get a value very close to the file's calculated "total RMS amplitud...
Let's say, that I want to low-pass the norm (hence positive values) of an analytic signal (related to Hilbert transform). This allows me to perform experiments with the envelope of audio. For low-passing, I apply a Gaussian blur. It's technically the same as applying multiple time a moving average. The advantages of a...
I am trying to actuate a simple DC motor based on a wav file. At the moment I am using the "cat vs dogs sounds" from Kaggle. One of the wav files in this DB looks like this: These audio files are just a few seconds. The sample rate is 16KHz. My first idea was to just actuate the motor based on the amplitude, but at 16...
if I have an autocorrelation on a limited domain r($\tau$)=$\lim_{T \to \infty}\frac{1}{T} \int_{0}^{T} u(t)u(t+\tau)dt$ The power spectral density, obviously will have an infinitive domain: S(f)=$\frac{1}{2\pi} \int_{-\infty}^{\infty} exp(-i\tau 2 \pi f)r(\tau) d \tau $ If I do the anti-transform of the PSD, which ...
We know Ergodic process is the subset of Weakly stationary process which permits us to substitute time average for ensemble Average My teacher said If $X(t)$ is Ergodic random process then following relationships holds true and we even solved many questions based on these relations in which either graph of ACF(autocore...
Suppose we have a narrow-band noise $N(t)$. We analyse this to In-Phase and Quad phase components by the equation: $$N(t) = N_I(t) \cos(2\pi f_c t) - N_Q(t) \sin(2\pi f_c t)$$ Now a book (by Simon Haykin) states that: $$ S_{N_I}(f) = S_{N_Q}(f) = \begin{cases} S_N(f-f_c) + S_N(f+f_c) & -B\le f \le B \\ 0 & \text{ot...
Given the following poles and zeros map I have to identify qualitatively, which filter type is represented (Low-Pass, High-Pass, ...). In the solution it says, that this is a high pass filter. However, I plotted the amplitude response (see below) and to me this looks more like a notch filter or a band stop. Where is ...
I have been reading the fixed-point filter properties in Matlab and I have found that the parameter "CoeffFracLength" can be either zero, negative or positive. And also, it can be larger than the associated word length "CoeffWordLength". I understand the fractional length as the number of bits designed for the decimal ...
I am designing an IIR filter with fixed-point arithmetic and I have to select the proper length for the accumulator and product. I would like to know a standard to follow in order to choose its length. I have selected the Direct Form 1 topology to implement a 6th order digital filter (instead of a cascaded second-order...
1) First, I describe intended processing with a basic case: Let's say on left channel I have a sin wave with frequency F1, and constant amplitude A1. Then on right channel a sin wave with frequency F2 and constant amplitude A2. Then I would generate a third sin wave, with frequency F3, and constant amplitude A3. Such...
I'm trying to find some information threshold that is required for performing detection of objects in images. However, I'm not sure how exactly to quantify the amount of information contained within an image. Thoughts: I imagine that looking at the gradients/edges of the image would be a good idea, but simply count...
I have a set of time series plots that are shifted along the x-axis. I am looking for an algorithm using which I can group them together. My end goal is to average them. While reviewing the literature on this topic, I found out that Fourier Transforms might help. Since all the patterns have a similar shape, I might b...
I am trying to make sense of Digital Signal Processing with the help of R language. So, the issue came up when I tried to create a periodogram for a simple sine wave. The regular periodogram shows 2 frequency components as expected (expected frequency & aliased frequency). However, when I looked at the contents of the ...
I'm working on 5G NR, whereby on reading Code block segmentation and code block CRC attachment given in Subclause 5.2.1 of 3GPP TS 38.212 version 15.2.0 Release 15. What does $I_{seg}$ represent?
I am following this book "Theory and Applications of Spherical Microphone Array Processing", as well as this paper on DOA estimation "Eigenbeam-ESPRIT for DOA-Vector Estimation". My dataset is composed of a small number of channels (4) from the Eigenmike32. The book states "all spatial sampling schemes require at leas...
Consider we have received a QPSK signal. We than make I (In phase) and Q (quadrature component) which I understand is nothing but multiplying the received signal by the cos(2*pi*f) and -sin(2*pi*f) Where f is the carrier frequency. Is this creation of I and Q is matched filter or there is some other filtering we do whi...
are the low-pass filter and the sharp cut-off filter the same thing?? Here there is the definition of sharp cut-off filter https://en.wikipedia.org/wiki/Filter_(large_eddy_simulation) . I tried to obtain with matlab the Fourier transform of the low-pass filter, but I noticed that I don't reach the low pass filter. What...
When reconstructing the frequency domain for an FFT, what is the most self-consistent way to do this -- i.e. how is it best to define the bin width, $\Delta f$? For example, previously I thought it a simple matter of saying, $$\Delta f = span / N_{points,FFT}$$ where the span is the size of the window you want to look ...
If there is a spectrum between 0 Mhz - 1 Mhz, bandwidth would be 1 Mhz here and for example with baseband we can send 2000 bps. What I can't understand is if spectrum is 5-6 Mhz instead of 0 - 1 Mhz, although the spectrum is the same 1 Mhz, shouldn't we be able to send more data because we're sending it with much highe...
Suppose in one case I convolve Gaussian kernel with FWHM=10 samples. I would like to compare the result with moving average. My question: should I take the moving average window also 10 samples? In other words, is the size of FWHM equivalent to window of moving average? Thanks!
In Practical Signal Processing (Marc Owen), an exercise explore the topic of undersampling: [...] Suppose you know that an audio signal is a sine wave with a frequency that might be in one of two ranges, either between 120Hz and 130Hz or between 150Hz and 170Hz. What is the lowest sample rate you could use, and still ...
some days ago I asked here parseval for a continuos but limited signal if the Parseval can be applied for limited signal. Can you recommend me a book or a paper that I can use as reference for this? Can someone show me the demonstration considering a limited domain Thank you
I am reading the paper, Design of an energy-efficient accelerator for training of convolutional neural networks using frequency-domain computation, and I came across the following definition of sinc interpolation. Warning. I don't have a strong background in signal processing. Also, I have no clue what that bar on $\...
I'm looking for the way to detect the tree rings automatically in the wood dist image. Using the matlab, I have removed the background, and binarized the image. How can I detect the white and black boundaries? I want to fill that white area. Is there a way to detect the white and black boundaries? I want to get rid of...
I'm working with raman spectra and it seems that our spectrometer produces some anomalies at very specific wave numbers and I'm looking to remove them from the dataset. Here's a picture of 27 spectra of the same substance and below it a picture of the variance at the individual wave numbers. From looking at the varia...
I am using a 3-axis LIS2D12H accelerometer interfaced with NRF51832 through the SPI interface. The sensor has a sampling-rate from 1 Hz to 5.376 KHz which is happening at sensor only. I am taking sensor data at 400 Hz by setting register values in the sensor. I am implementing an FFT algorithm in microcontroller o...
Question : Find Hilbert transform of $[u(t-a)-u(t-b)]\cos2\pi f_{0}t\\\\$ such that $\\0<a<b$ my attempt: we know Hilbert transform of $[u(t-a)-u(t-b)]\xrightarrow{\mathcal H} \dfrac{1}{\pi}\ln\left|\dfrac{t-a}{t-b}\right|$ but after multiplying left side by sinusoid $\cos 2\pi f_{0}t$ how the right hand side will alt...
I have 600000 time domain Data. I want to calculate the psd using that data. But I want to use hamming window to my data set and overlapping them to get a smooth psd vs. frequency graph. I need a matlab code to conduct this.
Using the FFT to mimic the Fourier Transform I have this question. The definition that I use for the PSD $S(f)$ is: $$S(f)=\frac{1}{2\pi}\int_{-\infty}^{\infty}\exp\left(-i\tau2\pi f\right)r(\tau)d\tau$$ where $r(t)$ is the correlation function. The FFT in MATLAB use this formula $$X(k) = \sum_{n=1}^N x(n)\exp\le...
I have been recently working with the FFT and realized that each frequency within a bin corresponds to a phase. This concept I have no problem with because if you wanted to construct the summation of sinusoidal waves back into the original signal, you would need the phases of those sinusoidal waves. My Questions: Why...
So I have an incoming signal of 137.9 MHz and a sampling frequency of 1.4 MHz. Once sampled how do I calculate the aliased signal's new frequency? Bandwidth is 38 kHz with a subcarrier of 2400 Hz, if that information is relevant. Just looking for an equation to calculate the aliased frequency. The hardware used is a RT...
I have been recently working with the FFT and realized that each frequency within a bin corresponds to a phase. I understand why a phase that corresponds to each frequency is needed because it allows one to construct the original signal from those sinusoidal waves. Currently I am trying see if a specific signal corresp...
I have turned an audio file into an one dimensional array by using audioread function in matlab and found several positive and negative fractional coefficient values.What is the basic difference of this positive and negative sign in the matrix?
Duality says that if $$ x(t) \iff X(\omega) $$ then $$ X(t) \iff 2\pi \cdot x(-\omega) $$ Given that $$ f(t)\circledast g(t) \iff F(\omega)G(\omega) $$ By duality, shouldn't that imply that $$ f(t)g(t) \iff 2\pi \cdot F(\omega) \circledast G(\omega) $$ since $$ f(-t) \circledast g(-t) \cdot 2 \pi = 2 \pi \cdot f(t) \...
Suppose I have $n$ features as $Y$ = ($y_1 , y_2 ...., y_n$), and a matrix of $J$ of dimension $M$x$N$, one feature of $Y$ is selected randomly to be convolved with one random column of $J$ resulting a new vector called, for example, $X$. The question, if I have the matrix $J$ and the vector $X$, can I detect the sele...
If we have a set of time series data, y, consisting of 100 data points. One can apply a N (odd) Hamming window as a weighted moving average to decrease the noise. Say, if we choose 7 point Hamming window, H, [0.0800 0.3100 0.7700 1.0000 0.7700 0.3100 0.0800], and perform a weighted moving average on ...
I am trying to implement convolutional codes according to this MathWorks example in MatLab 2014a. clear; close all; clc rng default M = 4; % Modulation order k = log2(M); % Bits per symbol EbNoVec = (0:20)'; % Eb/No values (dB) numSymPerFrame = 100000; % Number of QAM symbols per fram...
I have a question about calculating the power and Energy of an audio recording. I have imported a waveform of an audio recording in WAV format into Matlab and then calculated the energy and power in the time and frequency domain. Using Parseval's theorem, the energy in time and frequency is the same. clear all; close ...
The Gabor-Heisenberg uncertainty represents the fundamental limit of time and frequency resolution one can extract from a signal. $\sigma_t \sigma_f \geq \frac{1}{4\pi}$ My question is: what happen in a noisy environment? If a bird sings a perfect constant pitch. Depending of the ambient noise, the frequency estimation...
Although using regularly the FFT algorithm to compute DFTs, I don't really understand how the phase part works. e.g. in Matlab: Fs=1e3; t=linspace(0,1,Fs); f=1; x=sin(2*pi*f*t); X=fft(x); Xphase=angle(X); Xmag=abs(X); I know that "phase" can mean a shift (an angular) shift of a wave with respect to another. But I can...
I have noisy images from which I extract the contours using OpencCV's findCountours, which performs binarization internally. This results in innumerable small outlines made of three or four pixels, which I would like to avoid. I want to discard these, either before extracting the contours, or during that step. I could ...
Is there a method to speed up beam-forming if you only care about the total power in a given direction, or total power in frequency groups? I've googled this, and can't find anything. My intuition says that wouldn't make sense given that you need the power in each frequency to properly cancel out signals to create yo...
On many websites, including MathWorks, it was suggested to normalize the fft spectrum (MATLAB or numpy) by dividing it by the total number of samples ($N$). For a sinusoidal signal, for example: $$x(t)=5cos(2\pi f_0t)$$ This produces a two-sided spectrum peak at $f_0$ with a peak amplitude of 2.5. However, that's not t...
Why do we use complex exponentials in the Fourier transform, why do we want the phase part? As opposed to in DCT where there is no phase and only magnitude? Moreover, what does this phase concretely mean for the signal reconstruction/decomposition? (I know it is related to a shift of a signal, i.e. i know that sin and ...
I want to ask the definition of MIMO(Multi-input Multi-output ) If there are one transmitter and one receiver,each of them has $N$ antennas,$N >1$. So i can say it is a MIMO system. But if now i have one transmitter with $N$ antennas,$N >1$.And $5$ receivers with single antennas for each,can this still be called MIMO?...
Let's suppose that I send the following sequence of bits: $x = [1, 0]$ I use a 7 length Barker code ($b = [−1,−1,−1,1,1,−1,1]$) in a BPSK modulation scheme, resulting in the following sequence: $x_B =\\ [−1,−1,−1,\:\:1,\:\:1,−1,\:\:1\\ \:\:\:1,\:\:\:1,\:\:1,-1,-1,\:\:\:1,-1]$ We send it, through a AWGN channel, and af...
We are currently designing a type 2 compensator $G_1$ (1 pole at the origin, 1 zero and 1 pole) to stabilize a power factor correction (PFC) circuitry. The crossover frequency is low - 2-3 Hz - and the compensator is implemented using a biquad structure sampling at 10 kHz. For ripple filtering reasons, this filter will...
I'm interested in learning the frequency spectrum of a constant sound. However, there is background noise. My plan is to record the sound for 1 second, take the FFT, and then doing this 5 times and taking the average (for each frequency bin). This should decrease the variance of the magnitudes across frequencies. But I...
I'm working on a project where I want to be able to analyze natural conversation as an audio file and determine the points in the conversation where the speech is louder than normal i.e. be able to classify the points in the audio file that contain louder than normal voice. I would like to do the same for quieter than...
Using the FISTA Algorithm for compressive sensing from Tiep H. Vu - FISTA, I created the matlab example below. I created 2 sparse signals x_signed and x_pos, where the latter only contains positive values. Using opts.pos = false as input to the FISTA, I assume, that the algorithm also works for signed input signals. As...
I have the impulse response (from the filter coefficients) of an FIR filter obtained from MATLAB's "interp" function using the command: [y, b] = interp(x, 5); % where b contains the interpolation filter coefficients. When I plot the magnitude response of this filter using "freqz" in MATLAB, I get the following What do...
I am new to DSP in general, but can one use linear algebra by itself to characterize a signal? My first idea was to transform the signal into a matrix and then use the determinate to characteristic the signal. The big problem being that matrices obey row echelon form which means the rows can be switched and produced t...
We know that for a signal $x(t)$, it is related to $R_x(\tau)$ as, $$R_x(\tau) = \int_{-\infty}^{\infty}x(t)x(t-\tau)dt$$. $\\$We also know that $$R_x(\tau) \rightleftharpoons S_x(f)$$ $\\$How do we mathematically relate $X(f)$ with $S_x(f)$, where $X(f) \leftrightharpoons x(t) $?
I am currently operating in vhf band AND trying to detect frequencies using Fast Fourier transform thresholding method. While detection of multiple frequencies , i received spurs(May not appropriate word) in addition with original frequencies, Such as in case of f1,f2 that are incoming frequencies i also receive their ...
I have an optimization problem such as follow: $$\underset{X}{\operatorname{argmin}}\sum _s \left \| T_sX_{:,s} - Y_{:,s} \right \|^2_2 +\lambda\left \| GX \right \|_{2,1} \tag{1}$$ I have introduced a new variable: $$\underset{X,Z}{\operatorname{argmin}}\sum _s\left \| T_sX_{:,s}-Y_{:,s} \right \|^2_2 +\gamma\left \| ...
Please consider this piece of code: clc;clear all; fs=10^3; t=linspace(0,1,fs); f=2; x=sin(2*pi*f*t); W=dftmtx(fs); X=fft(x); X(3) X(end-1) %check : imaginary parts are 180 degrees dephased but right frequency %plot(imag(W(end-1,:)));hold on; plot(imag(W(3,:))) Xrec=(1/length(X))*(X(end-1)*W(3,:)+X(3)*W(end-1,:));...
What are the advantages orthogonal filterbanks such as the DFT or DCT have over non-orthogonal filterbanks? I have heard quite often that they have attributes that are desirable when modifying the intermediate signal, i.e. when performing quantization during audio coding.
I have a set of signals of varying lengths. I have provided an example of the same below - Their lengths vary between 186 to 202, with a mean length of 197. I am looking to rescale them to the mean length. I am looking for ideas to do the same. Perhaps a good start will be reinterpolation, but I am open to other appro...
I have a noisy time series (gaussian coloured noise) to which I add a signal. I call the sum of noise+signal a segment. In the picture you can see an instance: I want to compute the signal-to-noise ratio (NOT the logarithmic version) of the injected signal in the frequency domain using python's scipy.fftpack.fft modul...
I have a recorded audio signal that I would like to convert into spectrogram with the highest possible yield of information. The audio clips I am working with is about 30 ms long and contains frequencies between 20 Hz - 20 kHz. The sampling frequency used is 44.1 kHz. What I have done: In Python I have used the libra...
First, I have reviewed close-match questions, but can't find something that seems to match what I'm looking for. Also, it's been 30 years since college, so forgive me for forgetting stuff.. :) I am analyzing IP Packet data. I am creating bins (of varying window sizes.. The window seems not to be sufficient to remove/...
Can someone (maybe @hotpaw?) Explain How to use a size N complex DFT to compute a size N/2 real DCT? Also, I noticed that the DCT matrix (which can be obtained in Matlab by dctmtx(n)) contains dct basis vectors that are not whole (integer) frequency numbers e.g. the second basis vector is only 1 half of a cycle (0.5...
I already asked this question here but there is no response. I'd like to ask this question in signal processing domain. It is well-known that for a real symmetric matrix $L$ (here, graph Laplacian) one can write the eigenvalue decomposition as $$ L = U \Lambda U^{\mathsf T}, $$ where $U$ is a real eigenvector matr...
Suppose $w(t)$ is a white noise with uniform spectral density $N_0/2$. It is bandpass filtered to get a narrowband white noise $n(t)$ for $f_c - B_T/2 \leqslant |f| \leqslant f_c + B_T/2$. We write this in polar form by splitting into inphase and quad-phase wrt $2\pi f_ct$. $n(t) = n_I \cos(2\pi f_ct) - n_Q \sin(2\pi ...
I am trying to get some insight into market data, in this case the stock KO. Here is the chart: If I take the wignerville of this, I get nonsense: If I take first differences Then take the wignerville, I get nonesense: What is the correct way to preprocess market data so as to feed it into a Time-Frequency algorit...
In the following system: The signal x(n) is upsampled by 2 and then filtered. The signal and the filter have the following spectrum: After upsampling the spectrum of X would look the same except the x axis would be divided by 2. So the limit of the spectrum would be at pi/4. Since the filter has amplitude 2 would th...
I have a dataset of the periocular region, I have images of the male and female periocular region but they are only labeled as left and right periocular region, Folder is a mixture of male and female periocular region. One can not judge which one is of male and which one is of female periocular region. According to bio...
I am puzzled by this computation: https://www.dsprelated.com/showarticle/754.php (c.f. quote) Raising $ i $ to integer powers results in traversing the unitcircle in the same number of quarter turns. The next question that arises naturally is if the pattern also applies to fractional values as well. Consider $ \sqrt{i...
Professor told me that if a random process is weak stationary, and it does not feature any periodic component, then its autocovariance always goes to zero. I can intuitively understand it, however, where can I find the formal proof of such property?
I'm new to audio processing and I hope here be a good place to ask about the definition of terms in this context. My question is what is difference between sound, audio, voice, speech and tone, from both technical and mathematical point of view?
It has been stated here, that the the so-called Kravchuk transform is very important in the field of image processing and possibly in signal processing in general. I can hardly find any description about this (e.g. not mentioned in Wikipedia, etc.). It seems to be mentioned in this paper, for example.
I am trying to understand the meaning behind some of the components of the formula for polyphase components in discrete time. Note that $\Omega$ indicates discrete in this notation and the formula is given by: Polyphase components is dividing the spectrum into blocks of size $L$ and each block divided into $k$ parts...
Given a FIR filter $h[n]$. Its action can described as: $$ \mathbf{y} = \mathbf{H} \mathbf{x} \\ \mathbf{y} = \mathbf{X} \mathbf{h} $$ where $\mathbf{H}$ and $\mathbf{X}$ is a Toeplitz matrix. If $h$ is unknown, Least Squares with a white Gaussian input signal $x[n]$ can be used to find the unknown coefficients: $$ \ha...
For some sampling-frequency-preserving operations on Nyquist–Shannon sampled signals, such as: a shift a.k.a. translation, and differentiation by applying a derivative filter a.k.a. gradient filter, the ideal filter for each task has an infinite number of taps with weights obtained by sampling the sinc function or it...
Consider we have one dimension time samples. The noise in the samples made some portions of the time samples amplitude very high. Obviously the short variance for those time samples will have high variance. I want to do running variance (of some window size) and normalize data by dividing by the variance. Is this proc...
I was just wondering if anyone could explain to me the approach one would take to removing striped noise from the fourier domain of an image. I was reading an article about MRI image from 1 just giving a general outline of the location of spatial frequencies, and it had a slide (displayed below) which got me thinking i...
$\cos(\pi n)$ fluctuates between $-1$ and $1$ depending on the values of $n$, and it would be the same as computing it with an exponential but the problem is that I just get part of the right answer...
I am processing the signal from MPU6050. Applying FIR filter in the frequency domain and then taking IFFT to get filtered signal but getting some spikes in the output signal. Searched a lot about it and found here exit spectral leakage. Found some solutions like zero paddings and windowing but nothing is working. Can s...
I have a picture representing collagen fibers of a tissue: Image is binary consisting of a background (pixels with value 0) and white collagen (pixels with value 1). A zoomed in section of an image looks like this: I want to find a way to partition the white collagen into multiple fibers, so that I could measure the ...
Given a discrete-time finite-support signal x[n] $$x[n] = \left\{ {\begin{array}{*{20}{l}} {{{( - 1)}^n}n}&{{\rm{ }}n = 1,2,3}\\ 0&{{\rm{otherwise}}} \end{array}} \right.$$ And consider also its periodic repetition is $$y[n] = \sum\nolimits_{k = - \infty }^\infty {x[n + 7k]} $$ How we can generate the y[n] in Matlab...
It is known that the ACF of a 2D digital image can be obtained by computing the inverse Fourier transform (FT) of the product of the FT of the image and its complex conjugate. That is: My problem is that I cannot figure out the expression for the inverse of G(p,q). I’d appreciate any idea, help, or suggestion. Thank y...
I am trying to implement a digital filter over a uC (it doesn't really matter which filter and which micro controller because I'm looking forward to learn how to do it in the future with different filters and different microcontrollers). I've been told that you can design, implement and debug a digital filter in python...
Consider a system model of the form: $y_n = ax_n + v_n$ where $x_n$ is the input that is corrupted by $v_n$ which is an Additive White Gaussian Noise of zero-mean and variance 1 for $n = 1,2,...,N$ samples. $a$ is an unknown parameter representing the channel coefficient. How do I generate $v_n$ which is White but of a...
Consider a grayscale image convolved with a bank of 2D wavelet quadrature pairs – in my case, log-Gabor filters. I have eight filters. For simplicity, let's say they are all vertically oriented, and an octave apart in frequency. At some image location $(x, y)$ I now get 16 response values (one for each even and odd fil...
Consider the following signal: $$ x(t) = e^{-2t}[u(t) - u(t-5)] $$ This signal exists only from 0 to 5 time units. Elsewhere, it is zero. Now, let's find the laplace transform of this signal using Linearity and Time shift properties. $$ e^{-2t}u(t) \leftrightarrow \frac{1}{s+2} \ , \ \ Re \{s \} > -2 $$ Also, $$ e^{-2(...