instruction
stringlengths
31
27k
Here's my understanding: $$y(t) = x(t)~ \cos(\Omega_0 t)$$ I take the Fourier transform of y(t) and I get this result: $$Y(\Omega) = \frac{1}{2}X(\Omega - \Omega_0) + \frac{1}{2}X(\Omega + \Omega_0)$$ If the Highest frequency of $X(\Omega)$ is $\Omega_{N_X}$ ,shouldn't the highest frequency of $Y(\Omega)$ just be: $$...
I am reading a journal on optimal signal detection by mobile sensor. It is mentioned: How should we plan to robots’ motion in order to maximize the detection probability? Assuming the source emits a known signal, the optimal detection algorithm is a matched filter (i.e., convolve the known waveform with the received s...
I used matlab for my projects but wondering is there any framework similar but easier than matlab.
I have a simulation to make where I have an array of transmitters that transmit the same signal. At a random point, which I have to consider as a receiver I have to measure the phase shift of the signals and also measure the total signal strength. The requirement is that the transmitter emits the same signal but with d...
I'm currently trying to understand this paper on a Sparse Fourier Transform. On page four, there is a section on a sub-sampled FFT. The purpose of this section is to show that you can compute a sub-sampled FFT using less computations than the original FFT. So if I have a signal of size N, I could compute a subsampled ...
I notice that almost all papers use the number of subcarriers of 64, 128,256.. so on, which is a number of $2^k$ and $k$ is an integer. Why is the number of subcarriers always like that? Can we use any number or it must be only using one of those numbers?
I am using USRP to transmit and received MIMO frames similar to Wi-Fi standard that I created on my own. After receiving the signal, it is processed as described in the standard. While I plot the QPSK constellation points after frequency and phase correction, I have a plot (shown above) which is noisy. Now I want to p...
Hi ive got a uni assessment which requires me to find the Peak signal to noise range of my photos, I was wondering if there was an app or a simple way of measuring the noise of a singular picture, any help or input would be greatly appreciated as I am genuinely stumped.
I am implementing a research paper, in which i have to implement signal transmitted by RF source in matlab. The equation given in this paper is : $s(n)e^{j \cdot 2 \cdot \pi \cdot f \cdot n}$. Any help in this regard would be highly appreciated.
I am trying to implement a code in MATLAB to show harmonic content and order in Matlab. my fundamental is supposed to be at harmonic order 1, however the ouput plot I am getting is wrong and I am having difficulies proceeding. I am a first time user of this forum and i have posted the same question in the matlab site H...
How to compensate for the frequency offset of a PAM, PSK, or QAM signal when we are using single carrier transmission, I am looking for algorithms, explanations to be able to carry out the implementation on matlab
In order to detect the presence of a signal impaired by noise, what is the best technique (best metrics) one can use ? energy detection, autocorrelation, matched filter based sensing, CRC data aided or not .. an explanation of the underlying algorithms would also be appreciated
We have developed an android app (Noise Tracker) for noise measurement using smartphones. It displays noise levels in Leq sound pressure levels. I want to implement A & C weighting. As per my knowledge it is desired to convert the received signals from time domain to frequency domain and extract the noise levels for ea...
I am designing a controller for a system using several methods, one of which is a discrete method. In the continuous time I am looking at a logarithmically spaced frequency grid in the range $$\omega \in [0.1,1]$$Now I want to design a controller in the discrete time, but I want to evaluate the h-infinity norm (which I...
I have an equalized constellation for 16 QAM. The constellation is equalized by LMS algorithm. I want to calculate the EVM for the equalized constellation. How can I calculate this so that the EVM lies within the threshold limit?
Suppose we have a total number N= 2048 points in a data and we wish to have zero centered Gaussian. There are two possibilities that we use the x-axis as x1=[-1023:1:1024]; % x axis spans from -1023 to 1024 with 1 unit steps x2=[-1024:1:1023]; % x axis spans from -1024 to 1023 with 1 unit steps and if we make two zer...
When we zoom an image, our sampling rate will be changed(increased) or sampling rate will not change because of zooming operation?
I've implemented audio time scaling using a phase vocoder approach because I wanted to answer this question here (and learn something in the process). Since that question has been closed, I may as well ask a new question about audio time scaling. Here are some examples of what you might get if you use the approach I di...
When simulating a PSK signal in MATLAB or Python, I often create an impulse train where each impulse is modulated with a symbol. This modulated impulse train then passes through a pulse shape filter to yield the PSK signal. However I am wondering if this is indeed how PSK signals are generated in real radio electronic...
I was trying to sample a 12.8 MHz sine wave (78.125 ns) signal at every 160us (micro seconds). Since 160us is multiple of base period 78.125ns(x2048) i expected to get a sample of fixed amplitude but instead what I am seeing is a another periodic sine wave. I don't understand why ? I am doubting quantization error but...
If I have: $$ y = x_r+jx_i + n_r +j n_i$$ with $n_r$ and $n_i$ Gaussian with mean 0 and variance $\sigma^2$, what is the pdf of the envelope |y| and phase(y)? Is it still Rayleigh-distributed and uniform, respectively?
$$\delta(n) - \frac{1}{2} \mbox{sinc} \left(\frac{n}{2}\right) = (-1)^n \frac{1}{2} \mbox{sinc} \left( \frac{n}{2} \right)$$ The picture shows what I've tried
The above image on the right was obtained by following steps Multiplying the image on the left by $(-1) ^ {(x+y)}$ Computing the DFT Taking the complex conjugate of the transform Computing the inverse DFT Multiplying the image on the left by $(-1) ^{ (x+y)}$ What is the significance of each of the above 5 steps? Her...
pretty much new here. This question comes from an Online course quiz which i have already completed but cant seem to get a good sleep over, just because i cant figure it out. Below is the question in the Image. Given the range of the sample distribution and the error probability, from what I know, $P_{err} = erfc(G...
Consider two arrays X&Y. How can you assign as shown below, X(1) = Y(end); X(2) = Y(end-1); ... Length of array changes with time.
EDITED 3-Jun-20 I have a lorentzian lineshape $$ f(z) = \frac{1+iz}{R(1+z^2)} \qquad (1)$$ where $$ z=\frac{-2\pi(f - F0)}{R} \qquad (2)$$ and $ R $ is the decay rate, $ f $ is the frequency, $ F0 $ is the peak frequency. The time domain function should be $$ \exp(2\pi iF0t)\exp(-Rt)/Fs \qquad (3)$$ Where $ Fs $ is th...
My program is as follows: n = 0:1:127; s1=exp(2*pi*1i*(0.05*n+0.1*n.^2/(2*128)+0.2*n.^3/(128*128*3))); s2=exp(2*pi*1i*(0.1*n+0.1*n.^2/(2*128)+0.2*n.^3/(128*128*3))); s3=exp(2*pi*1i*(0.4*n+0.1*n.^2/(2*128)-0.5*n.^3/(128*128*3))); s4=exp(2*pi*1i*(0.45*n+0.1*n.^2/(2*128)-0.1*n.^3/(128*128*3))); s = [(s1.') (s2.') (s3.') (...
Let's say I have the following FIR filter $h[n]$, so the output $y[n]$ for an input $x[n]$ is $$ y[n] = \sum_{k=0}^{m-1}x[n-k]h[k] $$ The inverse of this filter is given by the IIR difference equation $$ y[n] = \frac{1}{h[0]}\bigg(x[n] - \sum_{k=1}^{m-1}y[n-k]h[k]\bigg) $$ Is there some constraint I can put on the filt...
So I am solving receiver figure of merit. I have gain in dB and noise temperature in K. I know [G/T] = [G] - [T] dB/K Here should I need to take T in dB or just as K?
In terms of analog signals, we can represent digital signal as : $$ x[n] \triangleq x_{a}(nT) = \int_{-\infty}^{\infty}X_{a}(f) \, e^{j2\pi f nT} \ \mathrm{d}f $$ While if we focused on the integral on the right side and according to the Digital Signal Processing by John Proakis, chapter 6.1, we can rewrite it into : $...
I am trying understand LTE channel estimation. I have multiple questions: How much phase shift does a typical LTE channel have? Can all that be corrected using pilots? Where do we typically implement these algorithms? In a processor or FPGA? Because the OFDM system will be in an FPGA or similar platform.
I am having a hard time understanding how the frequency vector is being derived in this code. I would appreciate any guidance from anyone. Frv = linspace(0, 1, fix(numel(FTSignal)/2)+1)*Fn;
In continuous time Periodic Fourier Series has smallest n as possible, since it is an integral and a length of the repeating time (period time) which is T0. In discrete time however we don’t have units of time at all. Explain in your own words the intuition of avoiding time units in Discrete Time Fourier Series of a s...
I am getting confused from the implementation regarding matlab function filter([b0,b1,b2],[a1,a2],x) and other function similar as freqz. I do not understand which sign I must put in a coefficients, since there is two different way of writing the transfer function for the same second order filter as you see on the thes...
I have a matrix of 10 column, each column has measurements at different times. I have a second matrix also of 10 columns, each consisting of measurements at different times. I want to carry out cross correlations of every combination within this matrix. Example, xcorr row 1 matrix 1 with row 1 of matrix 2, then row 1 o...
I'm trying to implement IDFT using multiple smaller forward DFTs but am confused as to how to do so. So, I know that the N-point IDFT can be expressed in terms of the forward DFT by: $$ IDFT = \frac{1}{N}[DFT(X_n^*)]^* $$ Also, an N-point DFT can be implemented with two N/2-point DFTs by performing a DFT on the even-in...
A definite integral is a convolution with idial all '1' filter(by the theory) so i tried to test this issue with MATLAB. i have taken a function called fun made an integral over it in 1e-6 - 20*e-6 interval the result is called simbolic_int_result which 37.7 then i have taken fun sampled it in 1e-6 - 20*e-6 interval a...
So I was reading this textbook - Digital Signal Processing by Proakis and Manolakis. The authors define the cross-correlation operation for 2 energy signals $x(n)$ and $y(n)$ in section 2.6.1 as: $$ r_{xy}(l)=\sum_{n=-\infty}^{\infty}x(n)y(n-l) $$ In section 2.6.3, they define the cross-correlation operation of two po...
In training examples we always do a transformation on signals which have t-scale in labeled in radians. I understand that Pi is just a number, but I still have some troubles to understanding how to relate real-life continuous signal with t-labeled in seconds. In my head when we have real-life signal (Amplitude on time)...
Below mentioned steps has been done but I don't know if I am doing the right way of Normalizing the 2 signals. Ref_1 = load('Tx_16QAM_25_New.txt'); % transmitted data Tx(:,1)=Ref_1(:,1)+1i*Ref_1(:,2); Tx = Tx(:,1); Tx1=rms(Tx) normTx=Tx./Tx1 Eq=c'*X; % received symbol estimation Eq1=rms(Eq) NormEq=Eq./Eq1 Normalized ...
Pardon my layperson understanding. My application is audio design. What is the correct operation / algorithm to compose two impulse responses (IRa, IRb) into a third impulse response IRc such that it equals the response of running a signal through IRa then IRb? Am I correct that since IRs represent the response to the ...
In case of digital images, what is the relationship between sampling and number of pixels? For upsampling, the number of pixels increass, and for down sampling, the number of pixels decrease??
i have a basic function exp(-x.^2).*log(x).^2 which i integrate in a certain interval. i want to multiply my basic function with a vectoric coefficient called coef_vec that varies with the interval. so if the integral is at 5 my basic function whould be multiplied with coef_vec(5). i know that its som how turning the i...
In Gonzales' book Digital Image Processing in the section Local Histogram Processing, he writes, for a 2D image: At each location, the histogram of the points in the neighborhood is computed and either a histogram equalization or histogram specification function is computed and either a histogram equalization or...
A recent project requires me to get into some basic DSP, in C. I receive PCM samples of a BFSK signal (Bell 103). The sample rate is 8 kHz. The mark and space frequencies are 1070 and 1270 Hz. To determine the frequencies from the PCM samples, and thus the 1's and 0's, I wanted to use the Goertzel algorithm. However, ...
I am trying to compare power spectral density values (obtained from dsp.SpectrumAnalyzer) with PSD values obtained from hardware which has a VSA. MATLAB's documentation says that " The power spectral density is the magnitude squared of the spectrum normalized to a bandwidth of 1 hertz." and expressed in dBm/Hz whereas...
I want to solve the following optimization problem, in which I have two cost functions $J_1 = \mathbf{w}^T R_1 \mathbf{w}$ and $J_2 = \mathbf{w}^T R_2 \mathbf{w}$, where $R_1$ and $R_2$ are covariance matrices (symmetric PSD). The problem is to find $\mathbf{w}$ such that $J_1$ is minimized and $J_2$ s maximized constr...
For example, we write $$\delta(at + b) = \frac{1}{|a|}\delta\left(t+\frac{b}{a}\right)$$ In a similar way, $$\delta(t^2 + t + 1)=\underline{\hspace{1cm}}$$ Thanks for the help. Purna.
System Model Consider the single-input single-output (SISO) communication system in the figure below: where the information bit stream is encoded and mapped such that the output of the encoder is a sequence of encoded bits stream $\mathrm{c}=\left[\mathrm{c}_{1} \mathrm{c}_{2} \cdots \mathrm{c}_{\mathrm{N}}\right]$ w...
I was reading MATLAB's documentation on dpskmod. They gave an example of an $\pi/8$-DQPSK. I felt that this is strange as I have seen $\pi/4$-DQSPK and $\pi/8$-D8PSK, but I have not seen $\pi/8$-DQPSK. Attached is a screenshot of the documentation showing $\pi/8$-DQPSK with 16 clusters in the constellation: My questi...
I am back with a question related to my OFDM Transceiver System that I am designing where I use DUC and DDC. I could get rid of the high BER problem. I realized that the problem was due to the phase error occuring between the transmitter and the receiver side as I saw the constellation diagram at the receiver rotating ...
I'm new to the topic so forgive the trivial question. I am trying to understand data preprocessing for EEG signals. As I understand, after recording continuous EEG signals, they should be band-pass filtered and segmented into epochs (so the window of time that is relevant to the experiment). After that, these epochs sh...
I have an SDR receiver I'm interested in making into a FMCW radar. The bandwidth is somewhat narrow as it only samples at 64 MSPS. There is a problem in that without a bunch of embedded programming the RX and TX chains won't have their timing synchronized. Basically the up-conversion oscillator is synchronized but the ...
As detailed in this post Can I set a constraint on the first tap of an FIR filter such that its inverse is stable? I show how Cauchy's Argument Principle can be used to easily confirm if an FIR filter is minimum phase, meaning all zeros are inside or on the unit circle, or the converse, maximum phase, simply by plottin...
The attached article talks about hue,saturation and intensity images. Where is each of them in fig6.25 ? I know that fig(b) shows Hue image but where are other two(saturation and intensity images)
Consider following LTI system $$y[n] - 2y[n-1] = x[n]$$ where $x[n]$ is the input to the system and $y[n]$ is the output. Let $x[n] = \cos[n\frac{\pi}{3}] + 2\cos[n\frac{\pi}{2} + \frac{\pi}{4}]$, determine the Fourier series coefficients for $y[n]$. My try: First of all we should determine impulse response $h[n]$. S...
How to design a ideal lowpass filter by cutoff frequency of π/4 in the form of FIR filter by 64 samples using matlab?
I posted this originally in the electronics stack exchange, as it's for an electronic purpose (digitally controlled boost) but it was pointed out to me that this would be the more appropriate place - so here goes! As mentioned, I recently started developing a digital regulator for a DCM boost and I've implemented the f...
Causality of a LTI transfer function $G(\tau)$ in the continuous time domain, i.e. for $$y(t)=\int G(\tau)x(t-\tau)d\tau$$ is characterized by $$G(\tau < 0) = 0$$ By the way, in the frequency domain, causality is characterized by the Kramers-Kronig relations, which is why I am particularly interested in the Fourier tra...
I want to implement this function $[n,m] = a^{n+m}u[n]$ using 41×41 array, where $u[n] =1$ since all the value will be positive, and $n,m$ from 0 to 40. But it gives a wrong value. N=40 M=40 a=0.9 x =zeros(41,41) for col = 1:41 for row = 1:41 for k=0:N for i=0:M x(row,col)=a.^(k+i)*1; end ...
I have the following image, and I do like to count the pixels inside the ring to get the area. I did some morphological operations as a kind of post-processing to make the image as much as possible with clear smooth edges. I tried to do that in different ways as you can see in the code down, but none of them was op...
"The state-space filter representation is especially powerful for time-varying linear systems." Why is this the case? What is the explanation behind the claim?
I need filter designs that will reproduce or approximate each of the following: 1) ${\rm magnitude} = e^{-cf^{2}}$ 2) ${\rm magnitude} = e^{-\frac{a+b\sqrt{gf}}{df}}$ Where: $a$, $b$, $c$, $d$ and $g$ are constants $>0$, and $f$ is frequency in Hz. Or if it's easier or an equivalent problem, the multiple of the two fil...
In attempting to answer this question by @Oliver here: What characterizies 'causality' for a finite FFT? I have considered the minimum requirement to avoid time domain aliasing in the Discrete Fourier Transform, or more generally any application where the frequency domain is sampled. Similar to sampling in time at at l...
Recently, I read a paper. In it, it said "a $32^{nd}$ order 100MHz bandpass filter". So, how the filter was designed? Does it mean this filter have 32 taps?
I'm trying to create a FIR filter from a magnitude equation, where my starting equation provides the magnitude (amplitude) between 0 and 1 for any given frequency in Hz. I posted the magnitude equations I would ideally like to convert into an FIR filter here: https://math.stackexchange.com/questions/3666215/how-to-do-a...
I'm coding with python and I just started to use the Hilbert transform from scipy.signal. Consequently, to check the result I got I tried to verify a property of the Hilbert transform: $H(H(\vec{x})) = -\vec{x}$ So I implemented the following code: import numpy as np from scipy.signal import hilbert # my input vector,...
As shown in attached snapshot,chap6 of gonzalez 3rd edition How the highlighted expression for S in eq 6.2-3 is working? and what will be range of values of S? By range,i mean,maximum and minimum values of S. and by working of equation , i mean how the second term of equation and specially the part [min(R,G,B)] is wor...
Given $$h[n]=\frac{\sin\left(\frac{\pi}{3}n-\frac{\pi}{3}\right)}{\pi n-\pi}\text,$$ use the table to find the frequency response $H(\omega)$. I don't have any clue that how to deal with the denominator, could anyone help me please?
I'm trying to estimate SNR level in db to use it as a switch for an speech enhancement method that i'm working on. The noise level is not known and can be estimated using a posterior SNR algorithm. Considering having noisy speech signal power spectrum and estimated noise power spectrum (using a posterior SNR estimation...
We sample each other sample (01010101). Now say we have a signal - that is inside the original sample which has the pattern of (010-1). Decimation gives us 000 for this sub-signal. How to prove this is an example of aliasing? Or why else do we have lost information?
If we want to change resolution of an image,we can achieve that by increasing or decreasing the number of pixels Is there any other way ? Can we change dimensions of an indvidual pixel,rather then changing the number/count of total available pixels? by changing size of pixel,i mean changing the width and height of arr...
We know that when many image are shown in succession they create illusion of video But what is the minimum rate of frame/images so that still images appear as video? In this case, images/frames are moving horizontally or vertically?
What is the purpose of doing passband simulation, what are the signal processing imperfections we can reproduce in passband? In other words what are we missing if xe simulate only in base band? It is IQ imbalance, time/frequency estimate, matching filtering ... ?
I am using wavelets to analyse some complicated 1D signal, where I am able to come up with multiple filtered signals with different level of details. However, the cutoff of wavelet filters follow a octave distribution, doubling in every additional level. I would like to have a continuously tunable similar filter such t...
first time on here! I'm working through "Digital Signal Processing using MATLAB" by Vinay and Proakis. Good book. I am stuck on this example tho. Shouldn't the imaginary part in the denominator (magnitude calculation) be (-0.9sin(w))^2 since the Frequency Response equation has an e^-jw? Also why does the angle calc...
I have points $\{p_0, p_1, ... p_n\}$, I create a discrete derivative consisting of $\{d_0, d_1, ..., d_{n-1}\}$ like this: $d_k=p_{k+1}-p_k$. I'd like to choose a point in the original signal by exploring the derivative. But after I find a specific point $d_k$, which point from the original set should I choose: $p_k$ ...
What is the practical way to found the impulse response of a system ? As impulse function has a very large amplitude at zero time (analog signal). So the cross corelation of output of a large bandwidth input signal (with relatively small amplitude) gives the impulse response of a LTI system .How is these two equivalent...
I want to implement a spatio-temporal filter for my images which are a set of silhouettes of a cycle of walking. So I gather all the images in an array and convolve the 3D array with my spatio-temporal kernel, I mentioned below. but my result is'nt correct. Here is my code please tell me what is my mistake. import cv2...
I want to make this MATLAB code to plot a Gaussian pulse in THz, then use FFT on it. This is the MATLAB code I used to get the FFT of time domain Gaussian signal at 800nm wavelength: lambda= 800e-9;%Wavelength c=3*10.^8;%lLight speed fc = c/lambda; % Actual Frequency of light [THz] fsamp=fc*10; %sampling frequency fs=1...
Is the system $y(t)= dx(t)/dt$ invertible or not? If yes, please determine the inverse system for it.
Accordind to my understanding of the following: $$H\left\{X(f)\right\} = -j\;sgn(f)\; X(f) \qquad(1)$$ my work so far: since $ x_h(t) = x\left(t-\frac{\pi}{2w_c}\right)$, Their Hilbert transforms are equal in time and frequency domains.Hence, $$ H\left\{x_h(t)\right\} = H\left\{x\left(t-\frac{\pi}{2w_c}\right)\righ...
I'm using a sin wave $s_{sc}(t) = d(t)\cos(\omega_{sc}t + \varphi_{sc})$ to modulate a carrier using phase modulation. I'm working on Matlab so I use the pmmod function to do so. It is not too complicated to understand what this function is doing, probably computing something like $\cos(\omega_c t + h s_{sc}(t) + \varp...
Assume I want to transmit a low or high symbol which can be BPSK modulated. For ordinary BPSK, bit 0 can be mapped to 1+i0 and bit 1 mapped to -1+i0. In my question, each two bits are BPSK modulated and a level dependent so bit 01 is mapped to 2+0i and bits 00 is mapped to 1+0i. Also bits 10 is mapped to -1+0i and bits...
In Gonzalez' book Digital Image Processing, third edition, he writes on page 182 that It can be shown that the simplest isotropic derivative operator is the laplacian operator where the Laplacian is given by $\nabla^2f = {\frac {\partial^2 f }{\partial x^2}} + {\frac {\partial^2 f }{\partial y^2}}$, and the partic...
Note: My question is theoretical and my goal is to apply the intuition from the answer to a different field. Imagine I have a real number $X$ which I want to send it over some noisy channel. (The metric that should be optimized is probably squared error). I have a limited amount of energy $E$ that I can use to send the...
I believe that if we have two or more external sound cards, hence clock would vary for each device. How will this affect the latency? Will it increase or decrease? How will the factors like sampling rate, sampling time, SNR and voltage reference impact latency?
I have a very simple code for ploting frequency spectrum of a signal in MATLAB. My center frequency is at 5e6 but I see a much higher peak at zero frequency despite the fact that I remove DC component from my signal. Why this peak happens? Fs = 40e6 ; [freq,z_freq] = freq_spectrum(RF_ch,Fs) ; figure; plot(freq,abs(z...
Hilbert transform of a function $g(t)$ which is defined in time domain, would result in another function in time domain. Is there any other transformation like Hilbert that the results be in time domain?
Generally, when using channel encoding followed by interleaving, that process should be performed before the modulator and the system structure should be like that : For me, I only use the conventional encoder for channel coding and then interleaving, but I am wondering, is it possible to use the channel encoder afte...
Is it possible to have a realtime sample rate conversion in a way that a peer A with an audio stream at 44.1 KHz sends it signal over the network to another peer that is on an audio stream at a 48 KHz sample rate. If possible, how should this be accomplished? How can we workaround the fact that one peer is consuming da...
Say I have the function $$x(t)=j \operatorname{rect}(t)$$ Is the phase spectrum even or odd? I am confused whether the phase spectrum is an odd/even function of $\omega$ (angular frequency, Fourier transform variable).
I realize that this might be somewhat of an unusual and specific question. I know that the eigenvalues of symmetric matrices are used in a number of ways in scientific computing, such as for finding numerical solutions to differential equations. However, when considering real-time applications, I have only been able to...
so I've been attempting to do a FFT on some data and I'm seeing a peak at 0Hz, which I can't really comprehend why since I'm quite new to signal processing. I read in my file using pandas, saved them to arrays and used scipy's FFT function on the y data. But when plotting it against a frequency linspace the results see...
I am looking over Blackman-Tukey method for Autopower. It uses the DFT after a window is applied on a autocorrelation. $$ Power Spectrum = \frac1{2\pi} \ \sum_{(k=-(N-1))}^{N-1} w[k] R[k] e^{-i\omega k} $$ Where does the $ 1/(2\pi) $ come from? It's not from the Autocorrelation $R[k]$ or window $w[k]$ and it's n...
what is the best way of detecting larger steps and slopes in a signal? (as shown in the pictures, 1. to be detected signal, 2. good signal) I thought about some kind of sliding window analysis. Thanks for help.
I've used Welche's method on a vibration signal to get the averaged FFT which I want to used to calculate the PSD from which I can calculate the RMS. Within the Welche method i've use Hann window with zero overlapping. The following post states, that using windowing couses distortion in the energy, which has effect on...
I want to create a square pulse, then use FFT on it. However, this code does not relies on central frequency to generate a pulse, and it is centered at 0 in time and frequency. fs=500; %sampling frequency T=0.2; %width of the rectangle pulse in seconds t=-0.5:1/fs:0.5; %time base x=rectpuls(t,T); %generating the square...
I am working on tracking a vehicle under tunnel when GPS is lost. Whenever the vehicle in on the road, the GPS works fine and gives good accuracy but when the vehicle is under tunnel, the GPS is lost and its difficult to track vehicle. This is where i have decided to use kalman filtering. I have a 9 axis IMU sensor(ac...
I am doing some tests with SmartGeiger detector designed for smartphones. The sensor unit sends pulses via phone microphone jack input and the app does the counting and calculates the values. However, I need to record and process a lot of data and the app is not comfortable for this task (you have to save every value m...