instruction stringlengths 31 27k |
|---|
I have a question on the equivalence of two models (complex vs. real) of a received signal in ISI channel. Yet its simplicity, I am a bit confused.
Model #1: Complex
Assume we transmit a complex symbol $\overline{a}$ drawn from a high-order QAM constellation. On a vector form, we can write the receive signal as
$$\ove... |
I have a time series analysis algorithm that uses arima modeling and fits a model to the time series and gets the residual values. It is more of a statistical signal processing algorithm than a digital one. I have a matlab code for it which uses functions from econometric toolbox.
I need to program it on an embedded sy... |
A sequence $x[n]$ has Fourier Transform $X(e^{jw})$, and the Time shfiting, Frequency shifting and Time reversal properties are shown below, respectively :
$$x[n-n_d] \Rightarrow e^{-jwn_d}X(e^{jw}) $$
$$e^{jw_On}x[n] \Rightarrow X(e^{j(w-w_O)}) $$
$$x[-n] \Rightarrow X(e^{-jw}) $$
Suppose we were given that the Fourie... |
I have 1 transmitted signal transmits to the receiver. Every time transmit, I collect data from the receiver, I use the transmitted which I just transmitted and received data, correlate them, then I can get the delay using xcorr tool in MATLAB.
I repeat 10 times periodically, they are different because every time trans... |
What are the differences between random binary sensing matrix and
random Gaussian sensing matrix?
What the advantages and disadvantages of each matrix?
How can I choose the suitable matrix for a certain signal?
|
I am dealing with a physics problem which is related to signal processing. The problem requires me to calculate the instantaneous force acting on a body which depends on some physical parameter $x$. Assume that $x(t)$ is periodic in time for the moment. Since $x(t)$ is periodic, then it can be expanded as a Fourier ser... |
this is a basic question, but i barely find any tutorial to explain this. Most of tutorial dont talk about why use IFFT and FFT, they just say "oh, at transmitter, we just take this information time domain as frequency domain, then we need IFFT". I have no idea why we want to treat as frequency domain when it was time... |
I am working on some image processing application using Matlab. The image after segmentation will look (more or less) like the figure below.
Now I want to find the four corners of each shape to crop it (I can access each using shape using its pixels as they have the same label after segmentation). I though of using a ... |
Suppose I have an FIR denoted h that represents the impulse response of a system. Using MATLAB syntax (for convenience and brevity),
What does abs(fft(h)) represent?
If the answer is the system's magnitude response, then please proceed to the next question. If not, please correct me.
Is it correct to say that the va... |
The reason I'd like to know this is because of a file size problem. I am trying to reduce an image's file size from converting it from TIFF to JPEG. A user challenge me that he notice a RGB TIFF image is three times the size of the same image but in grayscale TIFF version, but the post-convert grayscale version of the ... |
I have an exponentially decaying function that I want to Fourier transform. My question is why I am not getting the same result with the analytical form and the computational one with np.fft?
I have a function r(t) defined as follow:
import numpy as np
fs =5e6
f0 = fs/2/102
dt = 1./fs
t = np.arang... |
I compute the distance from an object (Chessboard) using OpenCv and my camera parameters using those steps:
findChessboardCorners
solvePnP
->Distance
The distance I get is between two points: the chessboard and the camera. My question is where is the origine of my camera?
I know perfectly about my Chessboard but not my... |
I have pressure data with respect to crank angle and I want to convert it into Sound pressure level with respect to frequency. Please suggest any known procedure .Thank you
|
I have doubt regarding memory of FIR and IIR, I have read that output of FIR depends upon present and previous inputs, while output of IIR depends upon, present and previous inputs as well as previous outputs. Can anyone explain me how FIR consumes more memory than IIR?
Source: https://dspguru.com/dsp/faqs/iir/basics/... |
How to simply implement an all digital GMSK modulator with no multipliers? The implementation approach should be applicable to GMSK modulation with $BT=0.5$ or less (where intentional ISI is introduced to obtain higher spectral efficiency).
By "all digital" I am referring to the baseband modulation. The result will be ... |
I am studying the 2-D discrete Fourier transform related to image processing and I don't understand a step about the translation property.
In the book Digital Image Processing (Rafael C. Gonzalez, Richard E. Woods ) is written that the translation property is:
$$f(x,y)e^{j2\pi(\frac{u_0x}{M} + \frac{v_0y}{N})} \Lef... |
I have this signal:
$$x(t)=\sum \mathrm{rect}\left(\frac {t-kT_0} {20}\right)+\mathrm{rect}\left(\frac {t-kT_0} {40}\right)+\mathrm{rect}\left(\frac {t-kT_0} {80}\right)$$
with $T_0=140$, pass it through the filter $H(f)={\mathrm{rect}}\left(\frac f F\right)$.
What is the value of $F$ such that power is $P=1$?
Fourier... |
I've been working to build a transceiver system, with details as follow:
Consists of Lime LMS6002D MyriadRF-1 board (RF front-end) and own-designed multi-proc SoC (baseband processor).
SoC is running Turbo error coding, with BPSK modulation.
Wireless communication is one-way, running at 433MHz carrier frequency.
Baseb... |
I am interested to use an existing hardware to perform a spectrum sensing/monitoring in the frequency range of 2.2–2.6 GHz.
Taking into account that the 802.11ac channels are in the range of 2.4–2.5 GHz, and the active/passive scanning feature supported by the standard, seems that the WiFi spectrum scanning can be done... |
If we insert a tanh function (or any other activation function) between the feedback summation and the unit delays, how will such an IIR filter behave for values of $|a| < $1 and $a > ±1$ ?
The filter becomes stable for all values of $a$ but what happens to the frequency response of the filter?
|
I'm trying to understand the way in which CDMA works. Once the transmitter bit sequence is spread it is modulated for instance using a PSK modulator. Lets assume BPSK is used. I'm particularly interested in the case in which there are 2 transmitters each with its own spread sequence, orthogonal to the other, so they do... |
I am undertaking a project which requires to measure a distance from source to receiver. I am doing this using two ultrasonic transducers operating at 40kHz and using FFT search to determine the time delay and from that the distance. These are the following steps I'm taking to achieve this. All the processing is done i... |
Is there a way to minimize all signals that are not coming from the mainbeam?
I would like to keep the main beam, or at least +-3° around the main peak stable.
When I estimate the covariance from the data itself, it always also minimizes my wanted signal in the main beam. I can not estimate the covariance in the absenc... |
According to IEEE 802.15.4a
In WBAN, pulses are transmitted from an antenna , diffract around the body and can reflect off of arms and shoulders. so there are always two clusters of multi path components due to the initial wave diffracting around the body, and a reflection off of the ground.
I need to work with ZigBee ... |
Being a non signal processing science student I have limited understanding of the concepts.
I have a continuous periodic bearing faulty signal (with time amplitudes) which are sampled at $12\textrm{ kHz}$ and $48\textrm{ kHz}$ frequencies. I have utilized some machine learning techniques (Convolutional Neural Network)... |
I have a digital sensor that can output at two frequencies (250Hz, 1000Hz), but with different RMS AWGN noise (.35 units RMS, .5 units RMS respectively). The signal of interest has a single frequency <125Hz (i.e. Nyquist is satisfied at either sampling mode) of which I am trying to determine the amplitude, and the win... |
The following algorithm takes a set of signals, and return a complex number:
For a given set of signals - $\{s_1(n),s_2(n),...,s_M(n)\}$, compute the DFT of each of them - $\{S_1(k),S_2(k),...,S_M(k)\}$
Choose a specific frequency, $k=k_f$, and take the corresponding coefficient for each signal
Each of these coefficie... |
… why are Width and Height not sufficient to work with digital images?
|
Given is the illustrated circuit diagram of a linear, time-invariant, time-discrete system:
How do I show that the total system has the impulse response $h[n] = aδ[n] + bδ [n - 1] + cδ [n - 2]$ and determine the constants a,b and c?
with the following impulse responses of the subsystems:
$h_1[n] = δ[n] + (1/2)δ[n − 1]... |
I have a collection of wave files that has a few well separated words spoken. My goal is to split them into individual files. I wanted the program to work on all files, not just one of them or require tuning on each one.
So I get started to look at the wave forms. They are well separated. The recording environment can ... |
I have a signal $x(t) = \sin(2\pi t)$ with $t \in [0,1]$. The signal $x_s(t)$ is the sampled signal with a sampling period of $T_s = 0.05$. Now I want to compute the reconstructed $x_r(t)$ signal using a zero-order-hold.
The ZOH has the following impulse response
$$h_{\mathrm{ZOH}}(t,T_s)\,= \frac{1}{T_s} \mathrm{rec... |
I am trying to implement an interpolator for arbitrary sampling rate conversion of a one-dimensional signal (a fractional delay filter). I am aware of the fact that interpolation is in general a problem of low-pass filtering, and impulse response and passband widths are inversely proportionate (for the same kernel shap... |
The jumpiness or high change of a signal is due to the higher frequency components in the signal. So if I have a sound signal that increases suddenly in amplitude, why doesn't the signal sound very high pitched at that point?
For example, if I suddenly knock on a door or hit something, the pitch doesn't sound very high... |
Sorry if this is a trivial question but I could not find a suitable answer elsewhere.
I recently learned about homography and fundamental matrices in a CV class. I understand how these matrices are calculated and how the the formulae are derived. I also understand that both homography and fundamental matrices have 8 d... |
I have 3 signal sampled at 12 KHz frequency obtained from a motor rotating at constant 2000, 2020, and 2040 rpm. For 1 second signal recording I have 12,000 time samples. Depending on the frequency I can say (1/f) is the time period of oscillation.
But I am confused how to segment the signal with one time cycle from t... |
I am trying to implement a logic to downsample data in non-integer factor.Lets say,converting 48Ksps to 1344 samples per second.Have two step implementation of upsample by K ,and downsample by L is in my mind, such that K/L gives me the required ratio.
The thing that troubles me is the filter(if any) required in betwee... |
I have some sensors connected to an Arduino Due. The Arduino sends the buffer of data over the its SerialUSB connection. The last element of this buffer defines when are passed 1 seconds (it is 0 "inside" the second and a 1 on the second). In this way, in post processing, I can count the number of the sample revealed e... |
I am learning about the DFT in order to design a fundamental pitch detector for the human singing voice. Using the cepstrum technique.
I am concerned about the latency for low frequency detection at <100Hz. Is it always necessary for the DFT algorithm to work with sample length that contains an entire wavelength of the... |
I have an audio file, in the range of 4 kHz to 120 kHz. I want to remove the lines that are not harmonic and are recognized as environment noise. the energy of the signal in this interval for each time bin is calculated. can I remove the noise using pitch detection?
that is also important to notice that the upper-frequ... |
This question is about the checking hardware, please help if someone who has done it before.
I have the Rubidium frequency standard: http://www.thinksrs.com/products/PRS10.htm
and the Oscilloscope: https://www.atecorp.com/products/tektronix/tds3034
From the Oscilloscope, I want to look at 1PPS and 10MHz from the Rubidi... |
When $x$ is a zero mean random variable then
$$\sum_{n=1}^N x_n x_n^T = N \sigma^2_x\,\text,$$
where the variance is $\sigma^2_x$.
I'm considering Complex Normal Distributions where the real and imaginary part are uncorrelated.
https://en.wikipedia.org/wiki/Complex_normal_distribution explains about the form of the di... |
My question is:
Suppose that we have low pass spatial domain filter that averages 4-connected neighbors of that pixel and it doesn't consider its pixel in averaging. Find its corresponding filter in frequency domain and show that it is a low pass filter.
I know that I must take forward Fourier transform from spatial do... |
How does multiplexing differ from FM signals to AM signals. If both FM and AM shift the message signal in frequency, then is there a difference between multiplexing for FM or AM signal?
|
Consider a simple linear, time invariant system of the form:
$y_k = cy_{k-1} + (1-c)x_k$
The impulse response of this system can be computed by either dimpulse or by applying lfilter to a vector composed of a one followed by zeros:
import scipy.signal as sp_signal
import numpy as np
Ts = 1
c = 0.9
A = [1, -c]
B = [1-c... |
Considering a random variable $x$ that takes in values from a complex domain. Its real and imaginary components are totally uncorrelated. I am following this link and
also studying this document.
In the wikipedia link, the pdf for a single observation is given and $k =2$ for bivariate gaussian as my assumption is that... |
I'm having some trouble with this derivation
$$s_d = \begin{cases}1&\text{for}\quad m\quad\text{multiples of}\quad D\\ 0 &\text{otherwise}
\end{cases}$$
then $s_d$ is somehow rewritten to:
$$\frac{1}{D}\sum_{k=0}^{D-1}e^{jk2\pi \frac{m}{D}} $$
Can someone explain this?
EDIT:
Basically the same derivation as done here
... |
I want to detect occasional instantaneous changes in the phase of a sine wave.
I have a signal that is a sine wave whose frequency is in the kHz range and experiences random changes in its phase. I want to detect these phase changes and count the occurrences. Ideally, I would also be able to extract some approximate p... |
How can use principal component Analysis to extract feature from image that is been acquired by the camera?
|
In looking to LTE specifications, with the subcarrier spacing $\Delta f = 15 \textrm{kHz}$,
for bandwidth $10 \textrm{MHz}$, fft size $N_{fft} = 1024$ that needs a sampling rate $F_s \geq 1024 \times 15\textrm{kHz} = 15.36 \textrm{MHz}$. The useful subcarriers are the 600 centered ones (excluding the DC). There are $1... |
according to the definition of the Fourier transformation we have for a real function:
if $F{{(a(t))}}$ = $A(f)$
then $F{{(-a(-t))}}$ = $-A$*$(f)$, with * for conjugate
import numpy as np
a= np.array([1, 2, 3,4,5,6,7,8,9,10])
a_mirrored = np.array(list(-a[::-1]))
A_f = np.fft.fft(a)
A_f_star = -np.conjugate(np.fft.f... |
The IEEE 802.15.4 matlab code for wireless body area networks gives a matrix h representing the complex impulse response of the channel. The size of each realization of h is 1*38. I want to transmit a signal x of size 1*2048 samples over this channel. What operation should be done between h and x? multiplication or con... |
What are some applications where full AM is used nowadays? Is it used at all considering the fact that it is less power-efficient than, say, AM with suppressed carrier?
|
Can someone please help me understand this equation of SNR given in MATLAB:
SNR_dB = 1:0.1:7
SNR = 10.^(SNR_dB/10)
|
I'm not talking about the Hough Circle Transform (where you replace the representing eqns, hence the parameters with a 3D set) but a Hough Line Transform.
My solution to this:
A hough line transform maps lines to a single point in (p,theta) space. This point contains the number of points lying on the line in $(x,y)$ (c... |
For a complex signal x to be transmitted over a channel with complex impulse response h, x will be convolved with h. What will the mathematical operation done in the reveiver to cancel the effect of h? I am confused because I have a code in which x is multiplied with h in the transmitter, and in the receiver, the recei... |
This question is in the context of image processing.
Assume I have a matrix of size 64 by 64. Assume even rows are all zero and odd rows are all one. I want to rotate the matrix d degrees. For example if I rotate it 90 degrees, then I will have a matrix with even columns equal to zero and odd columns equal to one.
Is ... |
Estimating an impulse response from input-output measurements is called system identification. When the impulse response of the
linear system $h(n)$, is of finite duration (M samples) or can be
effectively modeled with a finite impulse response system. System identification, that is, the modeling and identification of... |
I am generating signal consisting of 4 frequencies 380,460,500,580 Hz using 20500 as Fs. I generate this signal for different durations of 0.004s,0.008s,0.02s,0.04s.
Fs=20500;
values=0:1/Fs:duration;
sig1=sin(2*pi*FREQ*values); % FREQ can be 380,460,500,580
sig2 , sig3, sig4
sigt=normr(sig1+sig2+sig3+sig4);
When I ta... |
I'm trying to do shot boundary detection using SVM's.
I'm differentiating between 3 shots, cut, fade and dissolve + (normal frames).
I had used two features, shannon's entropy and variance, it gave me 40/635 boundary frames correctly predicted. That is poor accuracy.
What features can I use to improve this?
Training v... |
I'm trying to visualise downsampling in the frequency domain in matlab
I take a simple sinusoid, perform an fft and plot a two sided spectrum. Then I downsample the time domain signal (downsamplefactor D=2) and perform the same fft and two sided spectrum plot.
What i would expect to see: (This uses M, i use D as downsa... |
I'm working on a research project where we would like to apply convolutional neural networks to an image representation of a signal. However, it seems that if I would use a spectrogram, I would end up loosing the phase information. As a result, my question is:
Does an equivalent transformation of a signal to a spectrog... |
I am currently reading Candes et. al.'s 2006 paper[1] on recovery of sparse signals from incomplete frequency samples. I am having trouble figuring out what is the form of the Fourier transform restricted to $\Omega$, $\hat{f}|_{\Omega}$, which appears in Lemma 1.2.
This restriction appears to be a bijection $\mathcal{... |
I have an autocorrelation function which is shown as following,
I do believe these trailing oscillating wigs are spurious and should be removed by some kind of filter. But I am not familiar with any types of filters. Any help will be appreciated! The original data can be downloaded at
~
Update @ Apr 14 2017:
This resul... |
I've recently begun experimenting with LPC, and while I understand that it works, I'm still slightly lost on why it works.
Specifically, I understand that LPC involves finding coefficients $a_1, a_2, \ldots a_p$ such that for a signal $h$,
\begin{align}
h(n) &\approx \sum_{i=1}^{p} a_i h(n-i) \\ &= a_1 h(n-1)+a_2 h(n-2... |
I am starting my studies now on signal processing, and really didn't find nothing on "$l_2/l_2$ guarantee" of a certain function, in my case:
$$||\hat{x} - \hat{x}'||_2 \leq C\text{ min }_{\text{k-sparse}\; y} ||\hat{x}-y||_2 $$
My reference is "Simple and Practical Algorithm for Sparse Fourier Transform" by Hassanieh,... |
We have the need to save signal samples measured with an arbitary sampling rate. The samples are usually about one second in duration. Currently we save them in a text file format which consumes a lot of disk space and is very slow. Also this type of format doesn't suit for streaming applications.
I have been searching... |
For a given narrowband Gaussian filter with a specific central frequency and filter width, I need corners of a bandpass Butterworth filter whose amplitude response is close enough to the Gaussian filter. How should I choose the order and corner frequencies of the Butterworth filter ? The reason is I need to calculate s... |
I'm trying to understand the methodology from section 4 in this report about audio classification but I have some trouble understanding how they pre-process the data (dsp is not my area).
$30$ seconds audio clips are available, sampled at $22050\textrm{ samples/s}$.
The STFT is computed "on $2048$ sample windows at a ... |
As read from MIMO-OFDM wikipidia page says
Research conducted during the mid-1990s showed that while MIMO can be used with other popular air interfaces such as time-division multiple access (TDMA) and code-division multiple access (CDMA), the combination of MIMO and OFDM is most practical at higher data rates.
Why do... |
I am trying to use the following crossfading code in MATLAB. I use audioread() to open the audio signals and I convert both of them to mono. When I use .wav files, it works perfectly fine. But when I use .aif files, I get the following warning message for the last line:
"Subscript indices must either be real positive i... |
Imagine a filterbank with N channels. A possible implementation is a sliding short-time FFT. If you want to capture frequencies as low as 100 Hz, the length of your sliding window should be at least 10 ms. However, because of this long window length (or in general filter length), you cannot track fast temporal fluctuat... |
Im not sure how to solve this, if someone can please help me a bit id appreciate it. I have to solve this by hand. (I know how to solve using matlab).
|
I am using the MATLAB interface to the VLFeat toolbox in order to calculate a SIFT descriptor for image patches extracted around key points. Due to the greater framework of what I'm doing, I cannot rely on the SIFT (DoG) feature point detector, but rather have to be flexible and calculate the descriptor for any given p... |
I have been looking around on the internet for a really clear explanation for why fft and fftshift give different results.
I have a very long time series for which I have applied a Hanning window. The sample rate is $8\textrm{ Hz}$ and the recording is $\approx 9$ hours long ($262144$ point time series). The time serie... |
I am trying to understand the concept of direction finder (DF), for mobile GSM devices.
I have found the following description:
http://www.pki-electronic.com/products/interception-and-monitoring-systems/gsm-direction-finder/
It seems to describe the following configuration:
<IMSI catacher>-------- <additional handset (... |
I searched around the internet for a ready implementation/library for estimating 2 images by PSNR and SSIM, but found no real implementations for either. Are there really none or am I maybe missing some well known/obvious implementation? I really can't afford spending the time making my own implementations.
If anyone k... |
If you had a phased array of high speed photodiodes that were spaced sufficiently far apart, would it be possible to apply beamforming theory to create a steerable visible light "telescope"?
Traditional, earth-bound telescopes are limited by the size of their primary mirror due to the mechanical properties of figured g... |
The signal $y(n)$ can be modeled in the time-domain as
$$y(n) = \sum_{i=0}^{L-1}h(i) x(n-i) + v(t) \tag{1}$$
where $\mathbf{h} = [h_1,h_2,\ldots,h_L]^T$ is the coefficient of length $L-1$, and $v(t)$ is the additive White Gaussian noise with variance $\sigma^2_v$.
In the Eq(20) found in the paper, http://www.eurasip.... |
I'm new to compressed sensing, and am a little confused about the assumption of the basis matrix $\Psi$. Is $\Psi$ assumed known in compressed sensing?
Specifically, suppose that a signal $x$ is sparse in some basis, say $\Psi$, i.e. $x=\Psi\alpha$, where $\alpha$ is $k$-sparse, i.e. $\|\alpha\|_0\le k$. My underst... |
I'm reading 'Discrete Time Control Systems' book by Ogata and came across a few statements (specifically, (3-1) and (3-2)) which I have not been able to understand.
It is said that any continuous signal can be sampled and the output represented as
$$y(t) = \sum_{n=- \infty}^{+\infty}x(nT)\delta(t-nT) $$
Now taking la... |
Say I conducted a numerical experiment -a time-dependent fluid simulation- and extracted a time-series of some variable. It looks like this:
As a result of the simulation, I am supposed to report the mean value of this signal along with some estimate how accurate this mean value is from a purely statistical point of v... |
l have a set of images which represent a sequence of characters. l'm wonderning whether OpenCV can segments and crop each character from the image with same bounding box size.
My numbers are not always neatly separated, the distance varies and it's small between characters most of time. So l'm looking for a technique t... |
I got an assignment in a video processing course - to stabilize a video using the Lucas-Kanade method. Assuming the matlab code I wrote for performing LK on 2 images works (i.e, I can get the optical flow matrices u, v that allow me to warp one image towards another) - how can I use it to perform a video stabilization?... |
To record sound and transform it to digital form, audio signals are recorded and its pressure levels are sampled and quantised.
Why does quantisation noise sound like white noise?
|
I'm currently trying to simulate Frequency Domain Equalization, and the effect that over sampling in the frequency domain has on the affect of the equalization. If I understand things correctly this is the process that's supposed to happen using a single Carrier when transmitting
Modulate and transmit the symbols to c... |
When computing power spectral density via Fourier transform and Parseval's theorem, one gets units of $V^2/Hz$ (e.g. Wiki). As a popular next step, the following unit conversion is widely used: $V^2/Hz \to dB/Hz$, and it's done by taking the famous $10.\log10(\cdot)$.
Question: while $\mathrm{dB}$ is a log of a ratio ... |
If I'm making NRZ signal by first encoding 1 input bit into 10 bits multiplied by -V/+V before sending it into a channel, is it called channel encoding?
If I then modulated it using GMSK technique, can it be considered Convolutional Encoding?
|
I am trying to implement a low pass filter from this example.
What is the cut-off frequency for this type of filter? Is it $$F_s \left(\frac{1-\alpha}{2\pi\alpha}\right)$$ where $F_s$ is sampling frequency?
|
Can a signal be reconstructed from its cyclic autocorrelation? Specifically, if we know
$$
R^{\alpha}(\tau) = \int{x(t)x^{\ast}(t-\tau)e^{-j2\pi\alpha t}\mathrm{d}t},
$$
can we reconstruct $x(t)\in\mathbb{C}^{N}$? It seems like the answer should be yes, but it's not obvious to me how to do it. I know there has been wor... |
It seems like most of the resources online suggest to determine the values of the process noise matrix $\mathbf Q$ through trial and error. However sometimes trial and error doesn't work, so I would like to know whether there is a way to approximate it e.g. via maths or whatever.
To clarify, I am talking about the matr... |
So the function bandpower(x,fx,freqrange) calculates the average power within the selected frequency range. So it basically takes a part of the periodogram, but what is the filter with which this bandwidth is selected, is it simply a rectangle or a Gaussian curve? And is there a way to change it?
The documentation doe... |
I have studied convolutions and filters a long time ago. Today, I am trying to review the basics using some notes of mine, but I am finding difficult to solve easy problems. Since I don't have solutions for these problems, I believe that it could be helpful for me if you could show me how to solve one of them.
Let's sa... |
Given a digital filter consisting of a chain of digital biquad filters.
Given a digital biquad filter with a normalized Direct form 1 difference equation: $ y_n = b_0x_n + b_1x_{n-1}+b_2x_{n-2} - a_1y_{n-1} - a_2y_{n-2}$
My goal is to implement the biquad filter with few multiplications. For this end I play with the co... |
Here is my code:
function [ T ] = FindPeriodicity2(x,Fs)
ac=xcorr(x,x);
[~,locs]=findpeaks(ac);
T=mean(diff(locs)/Fs);
end
and when I pass the signal x with a Gaussian noise the period is 1.564 but as we know it equals $\pi$, so the answer is about half of the real period in this case. I know I should eliminate some ... |
I am working on balancing an air-spindle. For the unbalance analysis I use an accelerometer (NI device). I have the voltage signal from the accelerometer corresponding to the vibration of spindle at a particular frequency (rpm) saved in an excel file. To analyze the unbalance from this vibration signal I use the fft fu... |
The DFT formula is $$X(k) = \sum x(n)e^{-i2πkn/N}$$
Is it possible to obtain absolute values from the DFT without having to calculate the imaginary components? I only need the signal amplitude values, not phase. I'm trying to create a spectrogram so I'm wondering if there's a shortcut or if I have to program complex ma... |
The scientist and engineers guide to digital signal processing, Steven W. Smith, p. 134-135 states:
[...] imagine a linear system receiving an input signal, $x[n]$. and generating an output signal, $y[n]$. Now suppose the input signal is changed in some linear way, resulting in a new input signal, which we will call ... |
Considering Fourier analysis and let's say I'm walking on the blue frequency axis in the below 3D plot from zero towards infinity:
So each time I encounter a non zero blue bar, I check the frequency at that point and measure the bar's height and say: Oh I found another sinusoidal component of the signal at this partic... |
How can I use Viterbi algorithm for a real time scenario where I cannot afford to have delay in the tracing back the best path to the initial state?
|
I have a signal sampled at 128 Hz. I used to extract features with the spectrogram function and I decided to upgrade my algorithm and I'm trying to analyze it using Continuous Wavelet Transform (pywt.cwt) in python.
this function has only 2 outputs: coefficient and frequency, while spectrogram returns the time vecto... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.