instruction
stringlengths
31
27k
This question is somewhat related to the one asked here: How is multiplexing achieved in spread-spectrum modulations like CSS? I am looking at the bit error rate (BER) performance of communication systems based on chirp spread spectrum (CSS) like the one implemented by Semtech's LoRa CSS. Authors of the research paper...
In explication ''the geometric interpretation of least squares'' Typically, the number of frequency constraints is much greater than the number of design variables (filter coefficients). In these cases, we have an overdetermined system of equations (more equations than unknowns). Therefore, we cannot generally satisfy ...
I am little confused about why we need analytic signals so bad in time-frequency analysis. What might happen if I use non-analytic signals to do time-frequency analysis?
I'm pretty new to signal processing. My data is the $(x,y,z)$ acceleration of someone walking with a smartphone in his/her pocket. Goal Given two signals, determine if it's from the same person twice, or if it's from two separate people. Have some idea of the degree of confidence in the decision from 1. Attempt Seg...
There is a speech signal, $y[n]$, in the time-domain. To take it to the frequency-domain, DCT has been got from $y[n]$ (w = dct(y) in MATLAB). After it, I applied LPC on this signal ($w[k]$) in the frequency-domain to find the coefficients. Tthe following process was used: yfft = fft(w); yidft = ifft(yfft.*conj(yfft));...
I have an image which includes straight borders which I need to detect: The borders are thick, which causes hough transform to detect multiple lines for each border, as can be seen in the following image: In order to find the 'true' lines, I want to find all parallel lines (i.e. find the lines which converge into a va...
I have an audio signal that I am applying an analogue transfer function $H(s)$ to. I would like to approximate the change in gain ($\Delta \text{ Gain}$) as perceived by the listener for an arbitrary audio signal sent through the filter $H(s)$. I was thinking something along the lines of: $$ \Delta \text{Gain} = \frac ...
Studying DSP on my own. Taking an introductory class. Was given a formula for signal power $$ P = \lim_{M\to\infty} {\frac{1}{2M+1} \sum_{n=-M}^M} \lvert x[n] \rvert^2 $$ I do understand why the formula looks the way it does. But then we were given a formula for a power of a periodic signal, where $N$ is the period, $...
I have a picture and trying to swap the RGB channel into RRB, it's like I need to change all G pixels value into R. I did that by copying the R pixel value to G and store it into a new image file (Mat). Here's my code : ori.at<Vec3b>(i, j)[0] = image.at<Vec3b>(i, j)[0]; // B-->B ori.at<Vec3b>(i, j)[1] = image.at<Vec3b>...
I am getting really confused about the value of the first harmonic of a $50\%$ duty cycle $-1$ to $1$ square wave. By doing the math I found $\frac{2}{\pi}$, in my lesson and Wikipedia it's $\frac{4}{\pi}$. But now I checked with MATLAB and it's also $\frac{2}{\pi} \approx 0.6$ t = -100:0.1:99.9; % -> length = 2000 x =...
so how can i determine if a signal is smooth or not ? And if its possible to get something indicating the level of the smoothness of my signal. I looked at the r-squared and hurst exponent but i wanted to know if they where others methods.
I'm trying to understand what is the "phase coded modulation" and how does it work. As far as I know, Although the linear frequency modulated (LFM) waveform continues to be the workhorse of modern radars, there is growing interest in the use of phase-coded (PC) waveforms. Phase coding can be used to reduce radio frequ...
When I do frequency analysis on my feedback controlled system and the controller is really tightly tuned, I get a frequency response that looks like this: Blue is excitation signal and green is system output signal. Does this mean that my system has nonlinear behavior? Or this just a condition that would be visible wh...
Why do we get less amount of lines then desired in line detection using HoughLines tranformation from OpenCV? How could we improve this method and get all the lines appearing in the image? I would still use HoughLines if probable.
I found this digital filter in code I am working on. It is a low pass filter. In the code it is called an "alpha filter", but it is not the same as the alpha filter mentioned here. I post the relevant code below: float alpha = 0.7; float prev = 0.0; float filter(float sample) { float filtered = (sample * alpha) +...
I have the current from a LEM transducer measured. The measurement is taken on the output of a transformer. The signal is a 50 Hz signal, measured at 100kHz. When the demand of the system is increased the current increases and therefore the amplitude of the sinusoidal gets bigger. I am looking for the maximum currents ...
In a filtered-OFDM system, lets say we have the following parameters: NFFT=256; % number of IFFT/FFT points Ncp=52; % cyclic prefix length in samples Nsc=120; % number of data subcarriers The remaining subcarriers (NFFT-Nsc=136) are unused carriers, and 68 on either side of the OFDM symbol. So by using these par...
I have a doubt about this : Iterative methods for optimization‏ in FIR filter (on the one hand traditional like window,frequency sampling ,WLS,Remez Exchange...,on the other hand evolutionary methods like SA,PSO,GA....) ,it is used for : Verify that the filter has linear phase (symmetric). or the symmetric is satisfi...
I am trying to fit Hilbert envelop to a high frequency ultrasonic signal of frequency 250 KHZ and sampling rate 12000000. Raw signal looks like below: . I used hilbert() function from scipy.signal package in python this is what it looks like . The python code looks like below from scipy.signal import hilbert import num...
I've attached some code below that I'm having some issues with. Basically, I need to write a function to get the dBFS value of a signal at a specified Hz value, at a given channel in a .wav file. For a number of reasons, I need this to work on both 16 bit integer and 32 bit integer formats. Since SciPy's .wav io mod...
I have a 192kHz IQ signal from an RF receiver, and i'm trying to remove signals in the negative (or positive) frequency spectrum. I see that the negative frequency signals are -90 degrees phase shifted from I, where positive frequencies have the usual +90 degrees shift I vs Q. Here's the problem: If i set the center fr...
I am new to signal processing and have come into the subject from the study of rivers and basic geophysics. I am trying to test an idea previously put forward that the sediment transport response of rivers can be modeled as a linear impulse-response system. Transport along a river reach changes as the upstream supply o...
I would like to cite "fred harris rule of thumb" for estimating filter order. Is there a book or paper where I can find this rule of thumb? Thanks a bunch.
Studying DSP on my own time on Coursera. Was given a proof to why the Fourier basis is orthogonal, but I can't figure it out. Here is how it is proof goes. Consider the Fourier basis $$ \left\lbrace \mathbf w^{(k)} \right\rbrace_{k=0,...,N−1} $$ defined as: $$ \mathbf w^{(k)}_n = e^{−j\frac{2\pi}{N} nk} $$ Let us comp...
In this paper: Sparse time-frequency representations, Given signal $x(t)$, the time-frequency representation was got by Gabor transform and was denoted by $\chi(t,\omega)=|\chi(t,\omega)|\exp(\mathrm{i}\,\phi(t,\omega))$. Then it give two quantities: instantaneous frequency:$$\omega_{ins}(\omega,t)=\frac{\partial\,\phi...
$$y(t) = \int_{0}^{\infty} x(\tau)h(t-\tau) \ \mathrm{d}\tau$$ where $h(t) = u(t)-u(t-1)$. I have some problem with understanding whether system LTI or LTV just looking the impulse response of the system. Is there any short-cut to identify the system time-variance looking the impulse function?
I try to detect all lines in an image with some common geometric figures. The obvious choice, hough of MATLAB wouldn't print out the desired results. I used the following MATLAB code: [H,T,R]=hough(BW); P=houghpeaks(H,10,'threshold',ceil(0.2*max(H(:)))); LINES=houghlines(BW,T,R,P,'FillGap',2,'MinLength',3); figure, ...
I want to detect a special shape in my time series and I apply an matched filter using cross-correlation to increase the SNR. e = conj(fft(shape,2048)); f = fft(signal,2048); g1 = real(ifft(e.*f)); However, when deleting the second half of the FFT results, because of periodicity, then my g2 still has a small complex p...
For example, most audio signals are dithered prior to distribution. However, if a low or high pass filter is introduced after dithering or during playback, won't that negate some of the benefits of dithering? Is there any way of calculating the magnitude of the effect? Many lossy audio encoders automatically cut around...
I have two NMF models $A = W_1A_{dict}$ and $B = W_2B_{dict}$ (where the $W$ represents weight coefficient matrix). What is a good way to join two NMFs if I know each column of $B_{dict}$ is summed up to be $A_{dict}$? For $A_{dict}: $ \begin{bmatrix} 200 & 0 & 0\\ 0 & 0 & 0\\ 0 & 400 & 0\\ 0 & 0 & 500 \end{bmatrix} F...
I want to know the equations required to add awgn noise to a signal in Fourier domain for different SNR values. I know the procedure in time domain but not able to do the same in frequency domain for the signal $x(t) = e^{2 \pi j f t}$ . Thank you
$F_1(\omega)$ is the Fourier Transform of $f_1(t)$. $F_2(\omega)$ is the Fourier TRansform of $f_2(t)$. Can I obtain the Fourier Transform ($F_3(\omega)$) of $$ f_3(t) = \frac{f_1(t)}{f_2(t)} $$ directly from $F_1(\omega)$ and $F_2(\omega)$? I mean, is there anything similar to the equivalence between Multiplication i...
This is a line from a paper I've been reading: The static gain of the closed loop system must be $1$ ($G(1) = 1$) [...] First of all: I know what gain is, but isn't gain dependent upon frequency? And why does $G(1)$ do the trick of determining the static gain? And what is "static" gain, anyway? We are talking about ...
I am making real-time measurements, which are affected by some noise. This noise has oscillating pattern, i.e. the total signal tends to oscillate around the mean value. The examples of measurements are shown in figures below. Filtering this noise after the signal is received is quite straitforward - we may use mean ...
I know the two properties of convolution that are related to my question $\quad x(t)*\delta(t)=x(t) $ $\quad x(t)*\delta(t-t_0)=x(t-t_0)$ But my question is, how can I use those two to calculate $$ y(t)=x(5t)*\delta(t-5) $$
I am trying to find the inverse system of the following (I tried finding the mathematical inverse function but since it is not the same I am not so sure) . Can someone help me find it? $$ y(t)=\int_{t-1}^{t+1}\cos\left(\frac{\pi\tau}{8}\right)x(\tau)d\tau $$
From my knowledge of stability, I understand that if the function approaches a finite number then the system will be stable. Thus if a system is stable its poles will be on the left of the $j\omega$-axis. This means that $Re(p_{1}, p_{2}) < 0 $. What I don't understand is how you determine whether the Imaginary part i...
I'm studying Digital Communication and I couldn't understand the relationship between temporal orthogonality and sampling theorem. Definition of the Temporal Orthogonality is as follows: $$\mathrm{ACF}= \int s_i(t)\cdot s_l(t-kT) \ \mathrm{d}t= E_{il}\cdot \delta [k]$$ In the text, it is stated that: [...] This means ...
I'm learning DSP on my own. Found a free online book. Currently reading a chapter on Discrete Fourier Transform. Right out of the gate I can't understand several things. I'm pretty good with math and have a decent understanding of complex numbers and their representation with the help of $e^{j\phi}$. But this got me st...
Is the following system invertible or not? $$y[n]=x[n] * x[n^2]$$ where $*$ stands for the aperiodic convolution operator. I have not been able to find a mathematically sufficient argument for it...
I have read that variance of a deterministic signal is 0 because it is deterministic and does not vary over time. In this explanation, I am considering a $\sin(t)$ wave where value at each t is a variable(it will be a random variable when we are doing measurements but I am not sure what to call it here, so just variabl...
If I have a delta function of the following type $$ n\delta(5n-20) * 3^{5n}u[n] $$ How can I calculate this convolution? I have thought of the property $$ \delta[n-n_0] *x[n] = x[n-n_0] $$ Then if I say $$ k=5n $$ and $$ t[n]= 3^{5n}u[n] $$ It should be that the convolution is equal to : $$ nt[\frac{n}{5}-20] $$ and r...
$G(z) = \frac{1-p}{z-p}$ If the value of p satisfies $ 0 \leq p < 1$ there are no oscillations in the transient response. Question: Why is that $\uparrow$ true? I know roughly what a transient response is but how is the relation between the position of the pole and the nature of the transient response? Edit: In a...
For simulation purpose, what will be the difference between using acoustic and electromagnetic waves? Just the carrier frequency only??
In this paper on page 5 equation (10) is supposed to be the reverse z-transform of equation (5) on page 4. $$\frac{U(z)}{\bar{U}(z)} = G(z) = \frac{1-p}{z-p} \quad \leftrightarrow \quad u(k) = \bar{u} \cdot (1-p^k)$$ Hint: This is related to settling time somehow... Questions: Why is suddenly the dependence of $\bar ...
I'm a TA for an undergraduate signals and systems class. As part of my job, I need to prepare some homework problems. My co-instructors use Microsoft PowerPoint to make the diagrams, but I find it very difficult to use, since we need to copy/paste objects and carefully place them in precise spots. I'd rather write code...
How many 4-connected and 8-connected components are present in the binary image below? Using definition of connectivities from the same textbook "A connected component is a group of pixels that are connected in the sense that there is a connected path between any two pixels in the component. 4-connected means that the...
we were given the following classic exercise: Given two periodic signals $x(t), y(t)$ with fundamental period $T$ with Fourier series coefficients $c_m^x, c_m^y$ respectively, find the Fourier coefficients of the signal $z(t) = x(t) * y(t)$ with relation to $T, c_m^x, c_m^y$. Now, this can easily be solved when...
I have a question about the "windowed / short-time / short-term" Fourier transform that is somewhat perplexing me. I have now added an Addendum at the bottom, where the issue is presented more concisely through an example. $ $ Idea of the Fourier transform Given a "nice" function $f \colon \mathbb{R} \to \mathbb{R}$, w...
Hi All: I'm trying to better understand the connection between variance of a time series and the integral of the spectral density over all frequencies. Rather than going through all of the relations, if one looks at the link below, https://en.wikipedia.org/wiki/Spectral_density, the relations are shown there in the pow...
I would like to roughly estimate the mean amplitude over a frequency range (2-3hz). My impression was that I could transform the data using FFT, and just take the mean of the sub part of the output (absolute values). However, the input I provide to numpy.fft.fft is in the range -1.5 to 2.5, while the output (absolute v...
We know that the lag window estimator of the spectral density is defined as: $$S^{(lw)}(f)=\int_{-f_{(N)}}^{f_{(N)}}W_m(f-\phi)\hat{S}^{p}(\phi)d\phi=\sum\limits_{\tau=-(N-1)}^{\tau=N-1}w_{\tau,m}s^{(p)}_{\tau}e^{-2\pi f\tau}$$ Where $W_m(f)$ (the spectral window) is the Fourier transform of $w_{\tau,m}$( the lag windo...
I can understand from unit step function in the end of the equation that $n=[3 \quad4]$, but I cannot understand how delta function affects the signal in order to solve it and put it on matlab. Answer:
I need some help regarding measuring distances between two balls and their position relative to surface(coordinates). Dimensions of balls and surface are known. Do i need just one camera to do this(measuring with ray diagrams and trigonometry)or more? I hope this is the right thread,I tried on physics and photography b...
Most modern day Cathode Ray Tube (CRT) televisions manufactured after the 1960s (after the introduction of NTSC and PAL standards) supported the circuit-based decoding of colored signals. It is well known that the new color standards was created to permit the new TV sets to be backwards compatible with old black and wh...
I want to know why the single-side band phase noise is more customary rather than dual-side band phase noise?(even both side band are not the same) In addition, Could you explain this sentence according to formula for phase noise measurement problems?
Let $\{\xi_k\}_{k\in \mathbf{Z}}$ and $\{\epsilon_k\}_{k\in \mathbf{Z}}$ be two independent zero-mean Gaussian processes (i.i.d.). Is the output of the function $f$ such that $y = f(\dots,\xi_{k-1},\xi_{k},\xi_{k+1},\dots,\epsilon_{k-1},\epsilon_k,\epsilon_{k+1},\dots)$ is an ergodic process? I found similar claims in ...
This question is somewhat related to this post. Let us consider we have a white noise current source $i_n(t)$, with a variance $\sigma_i^2$, and mean, $\mu_n=0$. Assume that this current is passed through a system, which integrates for a finite time duration ($T_{int}$) on a capacitor $C$. One can then write an equatio...
I am trying to extract breaths from a respiratory signal, which is essentially peak detection. See the example below for what such a signal looks like. This particular signal looks rather clean, however, lower amplitude noise is very common (both high and low frequencies). I have tried the ones mentioned here, however...
I am trying to extract the envelope of the signal shown in blue, which is the low-pass filtered output of a second-order system. Low-pass filtering was done in order to reduce measurement noise. To be able to determine the decay of the system I want to extract the envelope of the signal. My MATLAB code looks as follows...
for the given signal h(n), is it 1 for n=0:149 or the n's of each is a different thing?
Let's say I have an X music track in some lossless format (wav?). If I convert it to MP3 format with its original volume and get the file "A.mp3". Then I edit the lossless source and reduce the volume by 50% (in some way without affecting its quality) and convert it to MP3 and get the file "B.mp3". Will be any size dif...
I'm noob in DSP studying BPSK communication between speaker and microphone using acoustic signal. I read article of this BPSK communication which says it needs Phase Locked Loop(PLL) sequence to match both ends communicate precisely. But in my textbook, there is no mention of PLL in BPSK demodulation. I want to communi...
I have two Time Domain functions, $f_1(t)$ and $f_2(t)$. I have both Fourier Transforms, $F_1(\omega)$ and $F_2(\omega)$. Functions $f_1$ and $f_2$ are not independent and, in fact, $f_1$ is also a function of $f_2$. So, the derivative $f_3(t)=\frac{d\,f_1}{df_2\,}$ is meaningful. Can I obtain the Fourier Transform $...
I have a signal with frequencies betwwen [0.5,500] Hz and i want to create a filter to best separate the signal in the following regions: [0.5-3]Hz [3-8]Hz [8-13]Hz [13-30]Hz [30-500]Hz My questions are: How can i find the sampling frequency if i know that the signals are 'downloaded' in Europe (energy transport n...
How many multiplications/additions does it take to execute an FFT operation in terms of the length of the signal $N$ and the number of FFT bins $M$? I don't want an answer in terms of big O, but rather in terms of just $N$ and $M$.
Studying DSP on my own. Intuitively I understand that DFT of unit step is $\delta[n]$ , but I can't demonstrate it mathematically. Here is what I have so far $$ DFT\{u[n]\} = X_k = <\textbf w^{(k)}, \textbf u> = \sum_{n=0}^{N-1}\overline {w^{(k)}}[n]u[n] = \sum_{n=0}^{N-1}\overline {e^{j \frac{2 \pi}{N}kn}}u[n] = \sum_...
It is my understanding that the least squares algorithm (e.g., in equalization) minimizes the received signal error. However, minimizing the received signal error does not necessarily equate to minimizing the BER. I was wondering why those two are not always equivalent? And how to properly gauge the performance of the...
I'm trying to estimate a motion from a video, however based on my finding, those methods usually meant for large motion and sparse in nature. Optical flow: Sparse and fail to detect sub-pixel motion Phase-based: Only applicable to global shutter camera for accurate displacement Welcome any suggestion/discussion you guy...
From text books we know that the DTFT of $u[n]$ is given by $$U(\omega)=\pi\delta(\omega)+\frac{1}{1-e^{-j\omega}},\qquad -\pi\le\omega <\pi\tag{1}$$ However, I haven't seen a DSP textbook that at least pretends to give a more or less sound derivation of $(1)$. Proakis [1] derives the right half of the right-hand side ...
For the time delay $e^{-sT}$ I shall find the Pade Approximation for $M = 0$ and $N = 1$. $f(s) = \sum_i^{\infty} a_is^i \approx \dfrac{\sum_{n=0}^{N} b_is^i}{\sum_{m=0}^{M} c_is^i}$ $e^{-sT} = \sum_{i=0}^{\infty}\dfrac{(-sT)^i}{i!}$ Using the Taylor approximation for $e^{-sT}$ I yield $1 -sT \approx \frac{P_N(s)}{Q_M(...
I am a beginner in image processing. I have some questions regarding HOG. https://www.learnopencv.com/histogram-of-oriented-gradients/ From this website, it mentioned that each element inside the HOG descriptor will be divided by the sum of all elements in a block. However, how to do block normalization if overlapping ...
I know that the system bandwidth is the maximum range of frequencies that a system can handle. Is the reason that the input signal gets distorted as the bandwidth decreases a result of fewer segments of the signal being passed through the system? Does this mean that if I have a bandwidth greater than $B_{h1}$ I would ...
In an ideal design, a digital filter has a target gain in the passband and a zero gain (−∞ dB) in the stopband. In a real implementation, a finite transition region between the passband and the stopband, which is known as the transition band, always exists. The gain of the filter in the transition band is unspecified. ...
I'm using a filter (not exactly kalman) of the following form to estimate angles by fusing gyroscope with accelerometer and gyro with magnetometer: $(1)\quad \hat{\theta}_k = \hat{\theta}^-_{g,k} + \alpha \left( \theta_{a,k} - \hat{\theta}^-_{g,k} \right)$ $(2)\quad \hat{\theta}_k = \hat{\theta}^-_{g,k} + \beta \left( ...
I'm new to signal processing. I'm trying to build a network analyzer. So far I was only considering getting the output signal through a 16-bit ADC and then do its corresponding windowing and DFT to obtain the phase and amplitude of the signal using MATLAB or some python program. However, I got a little confused when I ...
I know there are 3 properties of DTFT that help with my problem $$ a^{n}u[n]=\frac{1}{1-ae^{-jΩ}} $$ $$ (n+1)a^{n}u[n]=\left(\frac{1}{1-ae^{-jΩ}}\right)^{2} $$ $$ \frac{(n+r-1)!}{n!(r-1)!}a^{n}u[n]=\left(\frac{1}{1-ae^{-jΩ}}\right)^{r} $$ But I cannot find some use between them to calculate the DTFT of the following ...
Can someone explain waveshaping to me? I only know it shapes waveshapes by passing through some functions, but I don't yet understand e.g. what the plots (such as the following in Melda Production MWaveShaper VST-plugin) mean. Both axes have dB values so I read the axes to be input and output. However, how is the dist...
Given an array x of size 2000, is there any way to calculate (or estimate) the sampling frequency using Matlab? The values are the only information I have about the signal. I know the signal has been sampled with Fs = 360 Hz but I want to know if there is any way to extract this information from these plots. This is th...
Am studying unbiased estimators and keep seeing this term "DC Level". What is the expansion of DC and what is a DC Level? Even the Wikipedia page on WGN says nothing about it.
I was going through my signal and system notes.they say $y(t)=x(t/2)$ is a non causal system? As non causal system depend on future inputs. how $t=t/2$ is future value of time? i could not understand how? could somebody please explain it to me?
I am confused regarding the complexity of the Fast Fourier Transform (FFT). The Discrete Fourier Transform is: $$\qquad X\left [ k \right ]=\sum_{n=0}^{N-1}x[n]W_{N}^{kn}\quad \text{where}\quad W_{N}=e^{\frac{-j2\pi}{N}}\tag{1}$$ The first step in deriving the FFT is to express $(1)$ as the sum of even and odd inputs ...
$y[n]-3y[n-1]-4y[n-2]=x[n]$ i solved it as follows : 1.first calculated natural-response(ZIR i.e,zero input response) by using characteristic equation it came out as $y_n[n]=[c_1(-1)^{n}+c_2(4)^{n}]$ here i couldn't be able to calculate $c_1$ and $c_2$ because there were no initial conditions given in the question....
This question is related to this other question of mine where I ask for derivations of the discrete-time Fourier transform (DTFT) of the unit step sequence $u[n]$. During my search for derivations I found one which is amazingly simple. I first saw it on page 138 of this book by B.A. Shenoi. I also came across it on mat...
What would be the effective sampling rate of an op amp analog integrator (such as the one described here ) taking in a rapidly varying signal be? Ie what time resolution would such an integrator have? The need for this to solve a practical problem has passed, as a different method of testing was ultimately selected, a...
Phase response is the relationship between the phase of a sinusoidal input and the output signal passing through any device that accepts input and produces an output signal, such as filter.https://en.wikipedia.org/wiki/Phase_response. For example in this article http://www.ijettcs.org/Volume1Issue3/IJETTCS-2012-10-23-0...
I'm new DSP fields, and slowly study of FIR Filer and with Matlab which is fir1 function. My question is that What do high and low order have a meaning in fir1 filter? I can't understand what does it have a meaning when N=2 or N=48. In cut-off frequency, I found some explanation from the MATLAB as the below, fir1 F...
Is there a simple way to compensate for the reduction in amplitude of a low pass filter of a noisy sine wave signal that has been smoothed using a FIR filter so that the amplitude of the smoothed sine wave matches that of the approximately known amplitude of the noisy original signal? The approximate amplitude of the o...
I need to make in FPGA (using Verilog) an FFT. Input data is N=8192 points at 1 GSPS. However, the FPGA operates at 125 MHz, therefore the data is split into 8 channels (each one at 125 MHz). This splitting of data and computing the N/8 FFT is not problematic for me, it is already done. What I don't understand is how ...
I want to do time-frequency analysis of a signal. So i decided to use spectrogram function from scipy. This function returns, three parameters f,t,Sxx. I am using below arguements: x : my signal fs : 1000 Hz window : hann, with size = 300 nperseg : 300, same as window size noverlap : 25 My question is about returned ...
This plot represents the magnitude of the frequency response of certain DFT sub-band filters I have some difficulties in understanding correctly the DFT. How can i know, only by observing the plot , the number of filters and the lenght of the DFT? Also several times the DFT was presented to me like a parallel bank of ...
I'm attempting to calculate the CRLB for a bandlimited time-delay system which has a triangular shaped signal spectrum, instead of the usual square one. Currently I'm working on an active system. Following the procedures done by Quazi et al. in "An overview on the time delay estimate in active and passive systems for ...
I have a waveform which is built from a math function. I want to repeat it to make a oscillator. Now to offset it to remove dc bias, do I just make total area equal zero?
I recently faced a problem that I found quite harder than I thought it would be to solve in the biginning. Here's a little bit of context : I have a library of filters, designed in house. I would like to script some unit test for each of them. One of the unit test I want, is to validate the attenuation at the cutoff fr...
I have simulated a phased array antenna. I have also simulated a point source. I don't get how to calculate pseudo spectrum vector without using the position of the source. Algorithms such as Capon and Bartlett use the position of the source for calculate the auto- correlation matrix which is further used to calculate ...
I'm wondering that does only filter coefficients can represent it's own filter characteristic? I found filter design tool as FILTERDESIGNER of matlab. that can make filter coefficients of low pass filter or band pass filter or high pass filter etc as the below. But I want to know what if there is only information of c...
I'm making a relatively small Cooley–Tukey FFT in Matlab and I'm noticing unusual spikes in the result compared with Matlab's own FFT. The figure below shows the signal flow of my program. It's a standard Cooley-Tukey scheme. My results when computing the FFT of a 16 Hz sinusoid are shown below And Matlab's own FF...
For my current project work, I need to create an AWGN channel in MATLAB. There is a built-in function in MATLAB named 'awgn'. But that returns the value of received signal after passing through awgn channel. I do not need that. I need a function which will return the channel matrix only. E.g. for Rayleigh fading chann...
I am trying to calculate the phase spectrum of a 2D function, $f(x,y)$, where $x$, $y$, and $f(x,y)$ are real, using MATLAB's fft2. Thus my operation is $f(x,y)\rightarrow F(k_x,k_y)$. My function is such that $k_x$ only has positive values and $k_y$ has both positive and negative values. Since my function is real, I o...
I have 80 seconds of data and I have to score my data by taking the average or median (or some other method) every 10 seconds. What's the best way to do this ? Should I just use a regular rectangular window or should I go into other FIR windowing? Should my window be overlapping/non-overlapping? Any suggestions?