instruction
stringlengths
31
27k
I recently learned how to manually compute a spectrogram of an audio signal, which is essentially a matrix. Each column corresponds to a time frame (e.g. 10 ms or something) but I'm asking which row corresponds to which frequency? See my implementation below: clc; clear all; close all; Fs = 44100; t_max = 3; T = 1/Fs...
I haven't done this stuff in a while. If I have an image $I$ I can equalize the histogram of the image using some opencv procedure, it's already defined. Equalizing an histogram means essentially to construct a function such that applied to each pixel $p \in I$ the new value it's like it had been sampled from a uniform...
I've got an analog signal $x(t)$ sampled at frequency $F_s$ to obtain samples: $$ x[n] = x(t) \bigg|_{t=n/F_s} $$ I transform this signal with DFT defined as: $$X[k] = \sum_{n=0}^{N-1}x[n]e^{-i2\pi kn/N}$$ Is there such a thing as a sampling frequency / rate in the frequency domain? How does it relate to $F_s$?
I am currently studying two Butterworth and Chebyshev low-pass filters of order $n =3$ and $n=2$ respectively, whcih are in fact two prototypes to make a bandpass filter. The transfer function that I have is the following one: $$H(j\omega) = 2\sqrt{\frac{R_G}{R_L}}\frac{1}{R_G(C+\frac{D}{R_L}) + A + \frac{B}{R_L}}$$ wh...
I have a continuous-time system that I want to fit via least squares. I just send $N$ digital samples $x[n]$ through the system and receive (via analog signal chain, ADC etc) $N$ digital samples $y[n]$. My system can be described as $$ \mathbf{y} = \mathbf{X} \mathbf{c} $$ where $\mathbf{X}$ is a matrix composed of $x[...
How to calculate Hilbert transform, if it exists, of the signals like $u(t)$, $sgn(t)$. What properties should a function satisfy for existence of Hilbert transform. Absolute integrability of a signal $x(t)$ is necessary condition for HT to exist?
How to find energy of sinc function $x(t) = \frac{\sin \pi t}{\pi t}$ with out the help of Fourier transform or Parseval's theorem?
Calculation of a delay between two signals is generally done by finding the maximum in the cross-correlation of the two signals (in time domain): $$ \tau_{delay} = \arg\max_\limits{t}(f(t) \star g(t)) $$ A cross-correlation can be easily computed in the frequency domain by pointwise multiplication of the Fourier transf...
I have been told in the university that the natural frequencies (also called $\textit{eigenfrequencies}$) are the poles of the transfer function, however, Matlab compute them as the modulus of the pole (information taken from here). So the real question is, are the natural frequencies complex numbers or real numbers m...
I'm in the process of implementing a general purpose baseband system for modulation schemes (Linear + CPM) commonly used satellite and deep-space TT&C as shown in the functional flow block diagram (FFBD) below. So far, I have implemented most of the blocks (in GNU Radio). At the moment, I'm testing the BPSK implementa...
I've got a basic bandpass filter design that works great at higher frequencies, but breaks down at around 150 Hz. Here's the MATLAB code: [b,a] = butter(4, [106 212]./(Fs/2)); output = filter(b,a,signal); I also notice that decreasing the filter order lowers this "breakdown" frequency. This question asks a similar que...
When I have digital audio signal, represented in samples, I can easily phase-shift the signal by 180° by simply inverting the value of each sample. But what if I want to phase shift an arbitrary voice audio signal by say +90° or -90°? How do I transform an arbitrary, discrete signal by phase-shifting it by an arbitrary...
Global interpolation or sinc interpolation is an ideal filter since its frequency response is a rect function. The impulse response of this filter is the sinc function (same as the coefficients of the interpolator). Local interpolation methods are constructed by applying some window to the sinc function. For example, a...
I am trying to demodulate a FM signal with a RTL-SDR and python using the arctan method. From here I know that $$ \frac{d}{dt}\arctan(\frac{q(t)}{i(t)}) = \frac{i(t)\frac{d}{dt}q(t)-q(t)\frac{d}{dt}i(t)}{[i(t)]^2} $$ and so far I have successfully been able to demodulate using the RHS and the following python code de...
After denoising and cleaning, I get amplitude signals like this (y-axis: dB): On bottom left of each of these 3 graphs, you can see a noise floor (nearly "horizontal line"). This noise floor fluctuates in a range < +-1 dB. How to detect when the real signal begins, i.e. when the signal starts increasing? Here is wha...
to start I am a newbie in signal processing, I just started a month ago so please be as detailed as possible. From what I understood to resample a signal by a non integer factor you can do an upsample followed by a downsample. So, imagining a sample set of size 10 and if you want to upsample it to 15, you can upsample ...
In the literature on the short-time Fourier transform (STFT) it is often stated or implied that the constant overlap-add (COLA) constraint must be satisfied in order for the STFT to be invertible. Example: https://ccrma.stanford.edu/~jos/sasp/FBS_Perfect_Reconstruction.html People seem go to a lot of trouble to choose ...
With a delay $l$, autocorrelation is defined as: $$r_{xx}(l) = \sum_{n=-\infty}^{\infty}x(n)x(n-l) = \sum_{n=-\infty}^{\infty}x(n)x(n+l).$$ I want to calculate the autocorrelation of a signal $$x(n) = [1,2,3,4,5]$$ with delay $l=1$. The sum starts of as $$1*2+2*3+3*4+4*5..., $$ but what happens when I reach $n=5$? D...
What's the fastest way (if possible in the browser thanks to an online tool, or if not possible easily, with Python), to get the frequency response curve (x-axis: Hz, y-axis: dB), when giving just: the sampling rate, example: 44100 the coefficients, example: 1 and -1, i.e. y[n] = 1 * x[n] + (-1) x[n-1] = x[n] - x[n-1]...
I am currently following the algorithm as based on a previously published research article "A Motion Detection Algorithm Using Local Phase Information" by Lazar et al. The basic overview of the algorithm is as follows: I am able to do everything upto taking the 2D FFT. Once I take the FFT of a block of size 32 x 32 pi...
Looking at the syllabus of Statistical Signal Processing in different university I see a lot of correlation with that of Estimation and Detection? In some universities, these are seen the same. For example Rice ELEC 531: Statistical Signal Processing MIT 6.432: Stochastic Processes, Detection, and Estimation Now, I...
I have an input signal $x(t)$ that is a white Gaussian random signal with mean 0 and variance 1. The signal $y(t)$ is the output of a linear filter with impulse response $$h(t) = |\operatorname{sinc}(t − 2)|.$$ I have plotted the cross-correlation and auto-correlation of the two signals, but have a hard time interpreti...
Let $y(t)=s(t)+n(t)$ For the matched filter h(t) on $[0,T]$ we have, $h(t)=s(T-t)$. And the output is: $z(t)=\int_0^T y(u)h(t-u)du=\int_0^T y(u)s(t-(T-u))du=\int_0^T y(u)s(u-(T-t))du$ But sometimes I see, $z(t)=\int_0^T y(u)s(u)du$. How do we get the last equation?
I am attempting to compute the sum of dirac functions in the frequency domain via the following formulas: $$ ReLu(f(x)) = f(x) * \sum_{i} \delta(x-x_i) $$ $$ x_i : f(x_i) > 0 $$ $$ F(ReLu(f(x)))(k) = (\sum_{i} e^{2\pi jk x_i})F(f(x)) $$ From what I understand I need to find the values where x is larger than zero, then ...
(1) What does it mean by 'a system with low peak to average power ratio requirement'? Doesn't every system idealises it to be lower? Or there are some exceptions to it? (2) Higher PAPR can be a problem in signal carrier modulations too, I read the formula for single tone PAR, but I'm unable to visualise it.
I've come across the image object properties, "extent" and "solidity." Definitions are pretty straightforward to understand: Extent of an image object is defined as area of the image object divided by the area of its bounding rectangle. Solidity (convexity) of an image object is, area of the image object divided by are...
Is there any way to synchronize phase of output of inverse DFT in each buffer? When I send the output of inverse DFT to the speaker it sounds nasty. Of course I know the windowing functions but it just gives me in/decreasing level at the beginning and the end of buffer. It sounds better but with tremolo effect. I’ve al...
Is it true that if you have some sort of filter, e.g. a digital bandpass filter around the frequency 1000 Hz that is given in the form of a transfer function $H(z)$ and you then change the sampling frequency of the input that the same filter can suddenly have its "center" (of the bandpass) at another frequency? Which ...
As far as I know, the CUSUM algorithm is meant for detecting change points on discrete-time uncorrelated random processes. For instance, to apply the CUSUM algorithm to a discrete Gaussian process, we must know for sure that each sample is statistically independent from the others. I have seen this assumption in the CU...
I have this signal as the following figure: Now, I need to know each beginning index of each pulse as described in the following figure: I have tried to detect the peaks through obtaining the cross correlation function with the sequence that I am sending and the Signal that I am receiving (which is exactly as if am d...
I am trying to figure out how to use the matlab gausswin function which constructs a Gaussian window for $N$ samples with a given standard deviation $\sigma$. The function is defined by w = gausswin(N, alpha) where alpha is $1/\sigma$. I would like my Gaussian window to contain $\pm 3 \sigma$ in the Gaussian. So for $...
In some publication I have found a formula that for some reason squares signal in time domain. I am analyzing it now. What should be the Fourier transform of a signal that was squared in time domain? I do not understand why $\mathcal{F}[sin(x)^2]$ results in peak in zero and why side peaks are moved. I fully understand...
I was wondering if any of you know about any technique to extract a harmony (e.g. harmony in a shape of a chromagram) independent timbre characteristic of a sound frame. What I'm after is a version of spectrum that will make all the piano notes look almost the same despite the fact they occupy different parts of the ac...
Given a grayscale image X2 And its (under)quantised version with 3 bits depth X3 What information does the abs(X2_normalized - X3_normalized) carry?As an example the following image X5 generated with the code below X2norm= X2-min(X2(:)); X2norm = X2norm / max(X2norm(:)); X3norm= X3-min(X3(:)); X3norm = X3norm / max(X...
I have a signal which is (more or less) the superposition of multiple damped oscillators. There are relatively few oscillators involved, 2-3 would account for most of the signal. They have periods which are not multiples of each other (ie not harmonics), and they all have different damping coefficients / time constan...
If I have a number of sensors whose measurements arrive at the same time - how can I handle them properly in the Kalman filter? P.S. The measurements are not necessarily taken at the same time but I only receive them batched together.
I have a 50-60Hz signal being sampled at a frequency of 25 kHz & I'm trying to filter all frequencies beyond 70 Hz with a reasonable steep transition band (approx 4 Hz) & good attenuation (~40+ dB). For this, I tried a Windowed sinc filter using the following parameters :- Cutoff frequency, fc = 70 / 25000 = 0.00280...
I have a gaussian noise $\nu(t)$ with variance $\sigma^2$. After a FFT I get $X(\omega)$. If now I do the IFFT on the $X(\omega)$ can I say that the result is still a gaussian noise of variance $\sigma^2$? What is the effect of zero padding on FFT? How the zero padding affects the statistics of the noise after FFT and ...
I am trying to calculate the coherence between input and output signals. I thought I could work with a single input and a single output time series and calculate the coherence $\gamma^2$ between them. I did so with the scipy.signal.coherence function (See code and results below). Now, a colleague challenged my procedur...
I am trying to derive the pdf of the sum of independent random variables. At first i would like to do this for a simple case: sum of gaussian random variables. I was surprised to see that i don't get a gaussian density function when i sum an even number of gaussian random variables. I actually get: which looks like tw...
An amplifier changes the phase at different amplitudes of asignal. I am using amplifier data in a MATLAB model. I have constructed a signal that is a sum of sinusoids of different frequencies with random phase. When this signal passes through the virtual amplifier model, how do I adjust the phase? Should I... (Option 1...
I have 2 kind of signals (refer figures) in a folder. One is band limited to 4khz and another is band limited to 8khz, both are with sampling frequency 16khz. I need to separate them. Any idea??
I'm successfully using an Extended Kalman Filter for object tracking. My state vector ($x, y, v_x, v_y$) needs to be in cartesian coordinates. The measurement data is transmitted in polar coordinates. The state transition equations (and thus the state transition matrix) are linear: \begin{align} x_{k+1} &= x_{k} + v_{x...
To my (limited) knowledge, when determining which survivor path to choose to produce an error-corrected output of a binary Viterbi decoder, the path with the smallest Hamming distance is the most likely estimation of the transmitted signal. I have come across an example where I am presented with two survivor paths, bot...
More math is appreciated for each of the methods and references are appreciated. I have tried understanding from Wiki and matlab link but don't understand how the translation matrix is being used there. What I seek is to be able to teach this to someone else. Thanks!
I want to design a digital FIR filter to cancel the phase of an analog Butterworth filter (i.e. the phase is smooth) i.e. the filter has unity gain with just an inverted phase component. The following standard method for designing linear phase filters via FFT guarantees that the phase is linear (without deviation) even...
I am new to signal processing. I am trying to simulate something similar to IIR/FIR filter with $k$ delays to imitate acoustic echo reflection. The difference equations for FIR and IIR respectively are as follows: \begin{equation} y(n) = x(n) + \sum_{D=1}^kA(n)x(n-D)+v(n)\;\;\;\;\; (1) \end{equation} \begin{equation} y...
In an audio application, I found it very useful to measure the total variation of a signal $y[n]$ $$\sum_{n=n_0}^{n_0+N} |y[n]-y[n-1]|$$ over a window of time length $N$ (discrete analogous to total variation of a function). I've noticed that: during "background noise only" parts of the signal, this total variation is...
What is energy in terms of signal processing? You can read here, that energy is I just need a simple everyday-example for that energy. And yes, bringing an example like $x(t)$ representing the potential of an electrical signal propagating across a transmission line is still too complicated for me.
How do I should sample two continuous sinusoids of $f_1$=1/4 Hz and $f_2$=1/2 Hz at a 1 Hz rate? Can i recover both if i bandlimit after sampling at a 1/2 Hz limit?
Suppose we have two grayscale images, $A$ and $B$. $A$ and $B$ very strongly resemble each other, such that the mean of the absolute difference $\lvert A - B\rvert$ is fairly small. Suppose further that $B$ actually appears to be a blurred version of $A$, although it was not necessarily obtained through a blurring proc...
I have been staring at this problem for a week now... Suppose $H(e^{j \omega})$ is the frequency response of a stable and causal minimum-phase discrete-time system with $h[0]=1$ ($h[n]$ is the impulse response of the system). Show that: $$ \int\limits_{-\pi}^{\pi} \ln \big| H(e^{j \omega})\big|^2 \, \mathrm{d}\omega...
I'm trying to model a transfer function for a noisy audio system, specifically to measure delayed system response. Before I can confidently apply control, I need to verify that I can exert control over the system by broadcasting a signal and listening for the delayed (and potentially noisy) feedback. I suspect I can ad...
I'm working with speech signals and my aim is to estimate the fundamental frequency $\ F_0$ of this signal often called as "pitch". The main idea is taking small blocks of the speech signal such that stationary can be assumed. Then calculating the autocorrelation function (ACF) of this block of a speech signal and f...
I'm going to do feature extraction using a speech signal. The first step is the windowing of the signal using Hamming window. I'd like to know if I should apply one single window to the whole signal or if I should apply several windows to different frames of the signal? What are the differences between them? Thank y...
Are there any methods of detecting, measuring, and/or estimating I/Q imbalance (from, say, an upstream quadrature mixer and/or ADC), without using or having a controlled test signal (other than whatever the RF antenna is currently picking up).
$$H_d=\sum_{\mathcal{\ell}}^{N_p}\alpha_\ell p(dT_s-\tau_\ell)\mathbb{a}_R(\phi_\ell)\mathbb{a}^*_T(\theta_\ell) $$ I'm trying for simulation of a frequency selective channel in matlab. my problem is the raised cosine filter. without the raised cosine filter the matlab code is as follows. but in presence of pulse shapi...
$$x(t) = \cos(\pi i t/20+\pi/4) - 2je^{j \,12\pi i t} + 5\sin(2\pi i t/3+\pi/3) $$ I need to find the signal's average power. How can I do that? The $i$ index (represented in red in the below image) just denotes a random integer.
I'm working on a project in which specific bit planes of an image are extracted and compressed. This process is repeated for every combination of bit planes possible.For an image, I have calculated the compression ratio and the Structural Similarity Index(SSIM). I need a method to allot ranks when compressed with diffe...
I'm new in this forum, hope that we can learn from each other well. I need to ask about the channel shortening for underwater acoustic channel. what are the common algorithms in that field? is there a common source code in MATLAB which is used to be compared with such new algorithms? I don't see many papers in that ...
I have trouble finding the bandwidth of a signal. Say I have an info bearing signal m(t)=sinc(2t/pi). I found the fourier transform of the sinc function and found that the angular frequency was 1/pi. I am confused whether the the bandwidth is w or 2w. Since it is band-limited, does that mean only the positive w is coun...
I'm have a sequence of 2-dimensional MxN frames. I have concatenated these frames to form a 3-dimensional MxNxT matrix. Now i want to filter this 3D volume by 2 types of filters (a 2D log-Gabor in xy-direction, and a 1D gaussian in z-direction). Here is my MATLAB implementation: [yGrid,xGrid] = ndgrid(1:size(D,1),1:si...
I know that time shifting property of discrete-time Fourier Transform states that $x[n]\leftrightarrow X(e^{j\omega})\implies x[n-n_0]\leftrightarrow e^{-j\omega n_0}X(e^{j\omega})$ So given a signal $\;y[n]=u[n]-u[n-5]\;,\;$What is $\;\mathfrak{F}\{ y_{(2)}[n-1]\}\:?$ $ y_{(2)}[n]\;$ denotes the slowed-down version o...
I am reading a paper inwhich there is a plot of log-Gabor quadrature pair which are even and odd. I'm wondering how these two are plotted in time-domain, since log-gabor is real valued in frequency-domain and I cannot use inverse Fourier of real/imaginary part to result in even/odd parts in time-domain! Does anyone ha...
In an lab class experiment who's subject of interest was Johnson's noise I measured the ac voltage of a battery. Now I wish to find the psd of the measurement and show that it is constant. 1.Is such a thing even possible with 255 ac measurements in a $0.043s$ spacing? How can it be done without a direct measurement of...
What is the difference between a $\pi/4$-QPSK modulation and a QPSK differential modulation (DQPSK)? Are these modulations identical?
I am solving old exam problems in preparation of my exam in signals, and I'm having trouble with a question. For a continuous aperiodic signal with the spectrum $X(\omega)=\exp(-\omega^2)$ I am to derive the energy of the signal. I have made it this far, in agreement with the solution manual: $W = \frac{1}{2\pi}\int_{-...
I`ve came across a Paper for this Algorihm for estimating the Symbol-Timing from Meyr and Oerder, which I want to understand. The Algorithm uses blocks from the samples and calculates the Timing Estimation for the difference between the Transmitter-Clock and the Receivers clock. By squaring the blocks we are getting a ...
I'd like to simulate the movement of an analog VU meter dial as shown below and often found on stereos and other music monitoring equipment. I just learned through this article by Rod Elliot (ESP) and Wikipedia that the response of a VU meter is standardized and designed to measure the perceived loudness of audio sign...
I'm newbie novice in digital signal processing. If one has a signal with some noise superimposed in time series, for which type of information/analysis one would use moving average or LP filter in practice. Imagine you have a 5 seconds of sampled data in time where the sampling rate is 200Hz. Can you give a practical e...
So librosa.core.stft returns a complex single sided spectrogram. My question is: What normalization of the amplitude values should I perform afterwards? I believe I have to multiply the amplitude outputs by 2 in order to preserve the energy that was assignated to the negative frequencies. I have not seen in the code t...
I'm trying to design an equalizer for spectral flatness over a 100MHz signal for an LTE channel emulator. A channel emulator simply multiples channel coefficients with an external signal from a signal generator in baseband and converts it to RF frequency. The following figure shows the frequency response of the system...
I have a MATLAB script for modelling a two tone signal (a sum of two sinusoids) going through a non linear transfer function (such as an amplifier). The amplitude of a signal is amplified non linearly, and also the phase is modified depending on the input power of the signal. The two sinusoids used are at 20 Hz and 21 ...
In [1], the author shows an efficient way of implementing the forward and backward filter using matrices. One can also implement this using filtfilt command in MATLAB. However, I am interested in implementing this using matrices. Background Any digital filter can be represented in its state-space format as follows: \be...
I have just started my work in compressive sensing. the measurement vectors are obtain by multiplying the sensing matrix with input signal. the thing i cant figure out adaptive compressive sampling. can anyone please explain it as practical ? thank you
A filter like this: $z^{4}\cdot\frac{2 + z^{-1} - 3z^{-3} + ...}{1 - 0.9z^{-1}}$ seems hard for me to implement. The fraction part is easy: filtered_signal = filter([2 1 -3 ...], [1 -0.94], signal); But how is the $z^{4}$ part being implemented?
I'm willing to estimate the Harmonics to Noise Ratio (HNR) of a speech signal x[k] and using autocorrelation method. Theoretically, HNR is given as, $$ \ HNR = \frac{R_{xx}[T_0] }{R_{xx}[0]-R_{xx}[T_0]} $$ where $\ R_{xx}$ is the autocorrelation function (ACF) and estimated as, $$ R_{xx,biased}[l] = \frac{1}{N} \sum...
I have a signal generated from an accelerometer, what I want to do is to receive the incoming signal and check if it is in a certain interval, if it is then I can apply interpolation on it(but interpolation is not the main issue). The basic problem is how to divide a signal into chunks Online and by online I mean that ...
This is more like an optimization problem but any solution is appreciated. I have a data set with input specifying power(demand) to be generated for a particular time period(TP). Input: Time --- Power 01 to 02 1000 02 to 03 2000 03 to 04 2000 04 to 05 1500 etc., But the power can't just be increased ...
I am not sure if it's DSP question or physic. But I wonder is there any math equation (method) that describe that graph? (It could be anything approximately like that). I am working on audio freq analyser. And for typical pop song I get graph that Low End is very big but Middle and High End are very low. That's the mat...
I have been reading about Karhunen-Loeve (KL) transform. I see that when it is used to reduce dimension the procedure is identical to PCA, that is, for both methods the covariance matrix of the data is constructed, and then the eigenvectors are calculated . I would like to know if there is any difference in this aspect...
I'm tinkering with different adaptive beam-forming algorithms for a research project in which I want to use a Uniform Rectangular microphones Array (URA) to isolate speech in a room. I am determining the Direction of Arrival (DoA) using a camera in the center of an array, and reverse camera projection from a user input...
I have been out of touch with DSP for a while. I was trying to refresh my basics and ended up with this doubt on IIR filter stability condition. I understood that for an iir filter to be stable, the poles should be inside the unit circle which was derived from its analog counterpart (i.e poles should be on Left hand of...
One way of separating downgoing and upgoing wavefields in offshore seimic processing is to add signals from hydrophone and vertical component of the geophone (they are co-located). Hydrophone only registers a change in the pressure whereas geohphone as well as registering a change in seismic field also reacts to the di...
I have a question regarding the OFDM and using the conjugate transpose of vector (matrix). As you know, if we have a block of data,let's call it $X_n$, consisting of $N$ data symbols, we should apply for IDFT for that block, and let's say that we get $Y_n$ which is $Y_n = \text{IDFT}(X_n)$. After that step, the conjug...
First of all, I have to stress that I am not a professional of coding, no more than a professional of signal processing. I am a chemist that happen to be working on a project involving both. So in advance, please forgive me if my questions are not well worded, or seem trivial to you (in addition, I am not a native engl...
I have a series of aerial images from which I would like to get disparity maps for every consequent pair. In order to do that I do a stereo rectification. The problem is that sometimes rectified images are tilted at a large angle. For example: My questions are: What is the reason behind this? What can I do in o...
I am performing time-frequency analysis on electrophysiological data with complex morlet wavelets. Each decomposition in the attached figure shows total power following the onset of a stimulus (top row) or preceding an eye movement (bottom row). There is a broadband, transient increase in power following stimulus onset...
consider a room with some sound resources and several mics, these sound resources almost concurrently emit sound signals. As for one mic, it may pick up sound signals from different sound sources which are overlapped. I am just asking for a brief idea of the separation of these overlapped sound signals for the further ...
The Ornstein-Uhlenbeck (OU) process $dX_t = -\frac{1}{\mu} X_t + \sqrt{\frac{2\sigma^2}{\mu}} dW_t $ generates coloured noise with autocorrelation function $R(t) = \langle X_t,X_{t'}\rangle = \sigma^2 e^{-|t-t'|/\mu}$. I would be interested in modelling a process $ Y_t = \alpha t + X_t$. After some searching, I came a...
Is it possible to explicit $y(n)$ of this mathematical succession in recursive form using z inverse transform?: $ y(0) = 1 \\ y(n+1) = 2y(n) + 3 $ I can't write this as a linear system in z (linear difference equation) because there is the $3$ that doesn't depends on input or output. I know some methods to solve this b...
Given variables of window size (W), overlap (O), and length of the Signal (S) (in my case, length of a song) and I am trying to determine an equation that gives me the number of DFTs that would be taken in an STFT as the window slides given those variables above. I'm not sure if those variables is enough to give me th...
I am actually working on a project involving the cross-correlation of two signals. My cross-correlation code is working fine, but I suspect that I should apply a window to my data set in order to avoid spectral leakage. As I am not AT ALL specialist of signal processing, I have a few questions : My goal is to precise...
If we have one image from BSD (The Berkeley Segmentation Dataset and Benchmark) and for this images Ground truth, how to calculate PR? PR is the ratio of true to false edges, and can be calculated by the formula: PR = True Edges (Edge pixels identified as Edges)/False Edges (Non edge pixels identified as edges) + (Edg...
I would like to know the algorithms to get the angle, range, distance.. so I'm planning to do antenna tracking. What should I do in basic steps to track objects using that module ? what algorithms are used in automobile radar ?
I have to create a third-octave spectrum from a time signal on Octave GNU. I found some code on the net to help me but I don't have all the parts of the algorithm. I have a .csv file which contains a simple sinus temporal signal. The specifications are: Duration: 0 to 180s Frequency: 32768 I calculate the octave ban...
Of course I can compute the spectral efficiency as the ratio of the measured bit-rate (of data bits, no header, no preable, nor redundancy bits included) and the measured spectral bandwidth. This would be an a posteriori approach. However, I wonder if there exists an analytical expression for a priori determination of...
I have system for filtering a continuous-time signal using a discrete-time filter where sampling is performed by multiplication with the impulse train. The frequency response of the discrete-time system is given as $$H_d(e^{j\omega})=\dfrac{1}{1-\frac{1}{2}e^{-j\omega}+3e^{-3j\omega}}$$ And I want to find an equation ...
I have designed this bandstop filter to a desired specification: $\text{Stopband attenuation} = 40\,\text{dB}$ $\text{Passband ripple} = 2\,\text{dB}$ etc ... I understand that the stopband ripple can be given by the following: $$ \text{Stopband ripple} = −20\log_{10}(\delta_s) $$ $$ \Leftrightarrow 40 = −20\log_{10}(...
all, I have an audio recording that contains several frequency-modulated elements (think animal calls like birds/bats). I have read this file into Matlab using 'audioread' and plotted the oscillogram from which I took timing information (duration, interval of calls, etc...). I then used the 'spectrogram' function to pl...