instruction stringlengths 31 27k |
|---|
I'm unsure if this is the most suitable exchange however I thought it seemed most fitting personally, please correct me if I'm wrong. (I got redirected to here from the Network Engineering Exchange).
I was wondering if LoRa would work to transmit GPS data from my High Altitude Balloon back to my gateway.
From what I un... |
I am calculating a time partitioned Cross Ambiguity Function (CAF) by adding the surfaces of different time-sectioned CAFs together. Meaning, I calculate a CAF using 10 seconds of IQ data, calculate a second CAF using another 10 seconds of IQ data, square the values and add the signals together.
If I have a single CAF ... |
Suppose i've a mp3 file.
I performed FFT of that mp3 file. Then is it good to state the following:
1. Silence occurs by that particular DFT point whose magnitude is lesser
than some threshold. 2. Inverse FFT gives me the original sound file.
|
I'm trying to develop a prototype at the moment that includes a sensor to detect how fast someone is typing on a keyboard. Essentially this sensor is a microphone that will be able to detect keyboard taps and then count the number of taps in a certain time interval. So far I've just been using the instantaneous energy ... |
For a square pixel grid, the ideal 2-d low-pass filter with a horizontal and a vertical cut-off angular frequency $\omega_c$ in radians has an impulse response (kernel) $h_{\small\square}(x, y)$ that is the product of a horizontal and a vertical stretched and scaled sinc function, with $x$ and $y$ the integer horizonta... |
If two analog sinusoidal are orthogonal with duration T, their minimum frequency difference should be 1/2T in case of no phase offset between them.
And if there is phase offset, the difference is 1/T.
And in N sampled domain the orthogonality depends on sampling frequency.
The condition is $f_{s}=Nf_{k}/k$ obtained fr... |
I deal with the problem of the synthesis of the filter with the requirements of both the frequency and
time characteristics.
Now there is a filter that meets the requirements.
Roughly speaking the requirements are as follows:
Frequency response
FIR Low Pass
Fpass ~ 0.0(3) (* pi rad/sample)
Fstop ~ 0.1(6) (* pi rad/sam... |
For a project, I was asked to create a DTMF detector on Matlab. I know that the audio sample that will be provided will have 4 tones maximum, possibly less, and that the audio begins with a 0.1 second silence. Each of the tones lasts 0.5-2 seconds, and a silence of 0.1-1.5 seconds follows it. I do not for sure what the... |
I am trying to learn signal processing and when I research about ways to reduce noise in different situations it's so easy to get lost in one solution or go down the wrong path
for example, is your noise correlated? Is it not? Is it from multiple sources? Is it not?
I need to get some intuition on common solutions to... |
I've been reading the Chebyshev filters chapter in The Scientist and Engineer's Guide to Digital Signal Processing and it says
"The Chebyshev filters discussed in this chapter are called type 1 filters,
meaning that the ripple is only allowed in the passband. In comparison, type 2 Chebyshev filters have ripple only in ... |
pick any 3 random files from this database, : https://physionet.org/pn3/ecgiddb/
They are subject to 50 Hz powerline interference.
We wish to convert from time domain to frequency domain and remove the 50 Hz frequency then transfer back to time domain showing clean signal.
I'm looking for some pointers in how I go abou... |
I am slowly getting into the field of wireless communications, in particular with WiFi based communications.
802.11 MAC mentions that
A station wishing to transmit first listens to the medium for a predetermined period and If it senses to be IDLE , then it transmits . If the medium is BUSY , it waits for some random... |
I want to use KLT tracker for a visual odometry application. Thus, I only want to track object features. Currently I'm using OpenCV's implementation cv.calcOpticalFlowPyrLK().
I'm extracting Shi-Tomassi goodFeatures2Track and doing bi-directional checking (i.e. points tracked from frame a to b must be tracked from b t... |
In a MIMO system, the received signal is supposed to be $y = Hx + n$, where $H$ is the channel of dimension $N_t \times N_r$, $x$ is the transmitted signal with dimension of $N_t\times 1$ , and $n$ is the noise, finally the resulted signal $y$ represents the received signal of dimension of $N_r\times1$.
Assuming that ... |
I've recently read Herbert Bay's paper of SURF. From which I understand:
SURF calculates a table from each image pixel's Hessian matrix's
determinant, instead of SIFT's Difference-of-Gaussian table. Then
SURF finds local maximal (not extremal) by comparing each determinant
to its 8 neighbors in the same scale, and 18 ... |
I'm developing an audio file spectrum analyzer for a University Project.
My main goal is to have an application that plots the Db Spectrum of a 16 Bit WAV PCM audio file (at this time only mono files) in real time and my developing environment is Fedora Workstation 29.
The computational work is done in C++ using the fo... |
so how can i detect if a signal raises sharply or not ? Are there easy solutions (i suppose there are) ?
the problem is that if a signal raises sharply, i need less data to not pollute the dataset and if the signal raises slowly then i need more data. But how to determine the number of data, without knowing if it's sha... |
I've spent the last couple of days playing with YoloV3, and have had very good results. My use case is sports photography, and the object detection for people/bikes etc is very very good, I'm very impressed. In the future I think I'll train it with my own dataset to improve it further, but out of the box it does a fa... |
Since I'm founding several but different results about this model, I would ask you if all it is OK with this formulas:
1) Friis Model --> $Pr_0 = Pt + Gt + Gr + 20\log_{10}\frac{\lambda}{4\pi d}$
2) Log Normal Shadow --> $Pr_L = Pr_0 - 10\eta\log_{10} d + \chi_{\sigma}$
where:
$Pr_0$ is the power received in the Friis... |
How can software-defined radios operate at high frequency?
The Nyquist rate dictates that you need to sample at twice the frequency to fully recover the signal. If my signal of interest is modulated at $2.5 \,\rm{GHz}$, doesn't my SDR need to sample at $5 \,\rm{GHz}$ to fully recover and demodulate the signal of intere... |
I've implemented the least squares method to find the homomorphic image to fix the rotation and projection in an image.
Now I'm trying to implement the OpenCV warpPerspective method in order to "fix" my image, my python implementation is like:
def fix_image(img, t):
new_image_map = {}
minx, miny = img.shape[0],... |
I would like to take a time series of several spikes or narrow Gaussians and bandpass using an ift/ifft together with a frequency domain mask to create a series containing band-limited spikes. This is pretty simple but I have an additional desire - that the resulting band-limited spikes are causal - that is each band l... |
I want to find the square root of a polynomial by the following process:
Compute the N-element DFT of its coefficients, maybe padded with zeros.
Compute the complex square root of each of the N elements of the DFT.
Take the inverse DFT of the resulting array.
For the time being, I am assuming that the polynomial is a... |
A sinusoidal signal of 300Hz frequency,3V amplitude is contaminated with line frequency (50Hz,1V). Design a digital filter including poles and zeros to remove the interference component. Consider the sampling rate at 8KHz.
|
I have two signals A and B in time domain as follows:
Visually both signals look very similar; however the X and Y axis range are different for both the signals. Signal B is basically a "stretched" version of signal A. The minimas, maximas occur at different x and y values; but relative distance between successive pea... |
In satellite QPSK demodulation, we first estimate and remove the phase offset introduced by the channel. Then, we demodulate the baseband information bits (I & Q channels).
In satellite DOA beamforming, Channel can also introduce phase / frequency offset. When we detect the desired signal from a certain direction in th... |
I am developing an Android application using Opencv to detect objects from images.
I used Canny edge detector to detect the edges and extract contours, and it's working good so far.
But I need to understand the difference of usage of Canny and Watershed segmentation algorithm.
What's the difference between those two al... |
i am having trouble deriving a BER analytical expression for QPSK modulation system operating in a Rayleigh Fading channel model.
Could anyone direct me to a reference that would help in this matter.
Thank you
|
The Laplace transform of a cosine starting at $t=0$ is given by
$$F(s) = \frac{s}{s^2 + \omega_0^2}$$
If I sub in $s = j\omega$, I get the Fourier transform of a cosine starting at $t=0$:
$$F(j\omega) = \frac{j\omega}{\omega_0^2 - \omega^2}$$
As this is a purely imaginary result it shows that the input function is made... |
I have to use Matlab with the iirnotch()-function to design a notch filter. The notch should sit at 520Hz, the Bandwidth should be 100Hz and I have a sampling frequency of 8000Hz.
The syntax for iirnotch() is
iirnotch(w0, bw)
See the example at the Mathworks-page. After reading the doc, i now know how i should use th... |
PREAMBLE
I am a graduate student researching evolutionary ecology. My supervisor and I have been trying to learn how to simulate colored noise, discretely, by the $\frac{1}{f^\alpha}$ power law for $\alpha \in \mathbb{R}$, specifically on the interval [0,2].
We found an article that seems to cover a method in great det... |
I was looking for value that can measure a contrast of an image. And I found a couple of answers like this one https://stackoverflow.com/questions/13397394/how-to-measure-contrast-in-opencv-visual-c/13398126.
But I can't find any explanations WHY is that. No articles or links.
So I wrote this code:
def shannon_entropy... |
So I'm working on some content for an exam tomorrow and have hit a logical snag. The question can be seen below:
In particular I am referring to 5)c).
The questions asks for a measurement model to be derived for this problem.
I am aware that our measurement Zt = CtXt + noise, where Zt represents the measurement, Ct ... |
What is the mean value of phase noise as a stochastic process?
Where can I get a theoretical analysis of this topic?
PS: PLL produces cos(2*πfct+φ(t)). The phase noise refers to φ(t). The mean value of the phase noise what I say refers to the mathematic expectation of phase noise stochastic process φ(t), namely E{ φ... |
Sorry if the question looks pretty naive. My goal is to up-sample a given signal x[n] by a factor of M using the zero order hold interpolation function.
The basic idea of up-sampling is to add M-1 zeros after each sample. So that makes sense. That forms MN new samples, where N is the length of the sampled signal x[n]... |
I've been trying to make a digital filter.
I've used the following transfer function to get my digital coefficients
https://gyazo.com/00195ef119f0b2ff93fa5855715abdc9
Which i've then transfered to code using the direct form 1 with 2 2nd order sections. Which you can see down below in the code.
To get this into smaller... |
The root mean square
$$\sigma_{x} = \sqrt{\frac{1}{T}\int_0^T x^2(t) \, \mathrm{d}t}$$
of a finite zero-mean random signal $x(t)$ in the range $0 < t < T$
is related to the signal's power spectral density $S_{xx}(\omega)$ via the relationship
$$\int_{-\infty}^{\infty} S_{xx}(\omega) \, \mathrm{d}\omega = \sigma_x^2$$
H... |
I only seem to be able to find online information about applying bilinear transform + pre-warping to filters (like butterworth, etc.) with only one edge frequency that is purposely 'designed' into it. So the BT is easy to apply, just substitute with the usual tangent formula including edge frequency and sampling freque... |
I understand the principle of image convolution. Maybe. I think it is this:
You use a small matrix with numbers in it, then take a sample of an image with as many pixels as you have numbers in your matrix, then do a dot product, then add up all the terms, and then use the result as the new value for the pixel located i... |
I want to do frequency analysis of audio data, basically trying to figure out what the notes are in a song algorithmically. The standard approach is to decode the MP3 into PCM data and run it through an FFT. However, notes below around middle C require too much precision for an FFT to work well. Since the MP3 alread... |
! The spectrogram of FM signal has been generated by using Matlab.Now I want to what does these scratch like lined represent, though I have only two frequency components in my message signal(https://i.stack.imgur.com/CIN23.jpg)
|
I am bit confused regarding sampling as i read different types of statements in different texts
Forexample i have a continous time signal $x=sin(t)$ defined for $t=0:10$
and i want to sample it with sampling frequency 5000hz
How can i obtain sampled signal $x[n]$ in this case
Please guide me which of following two ways... |
I have read few links about difference between Fourier transform and Laplace transform but still not satisfied
Please correct me if i am wrong
Simply put, the main difference between Fourier transform and Laplace transform is that real part is set to zero in Fourier transform while real part is non zero in laplace tran... |
I have audio data acquired from a 4 channels sensors array.
As a preprocessing step for a neural network, I want to beamform and focus on the sound source. For higher resolution in the beamforming process, I have upsampled the signal with a factor of 5 using cubic interpolation, from 48 kHz to 240 kHz.
I am aware that ... |
I'm a Software Engineering student researching on Load Balancing in IoT and I need to calculate data rate. However, I don't know how to use these values to attain data rate despite searching on the Internet a lot. Actually, I am not sure whether given values are sufficient or not.
I know that:
Bandwidth (W) = 10 MHz
... |
The deblurring problem can be modelled as follows
$$
f = \phi u + \epsilon, \; \epsilon \sim N(0, \sigma)
$$
where $\phi$ is a filter (e.g. a low-pass filter) and $\epsilon$ is a Gaussian noise.
In computer vision, what is the relation between deblurring and deconvolution?
|
I am interested in making a magnitude graph of a variable slope low/high pass filter. I would like to set slope in dB/oct and a cutoff pitch. The y-axis should be amplitude from 0 to 1, and the x-axis should be frequency in Hz.
I have seen people construct very nice variable slope high/low pass filters, where a series ... |
I hope that I have not misunderstood something terribly wrong, but the continuous derivative $D=d/dt$ can be considered a transfer function in Laplace space $D(s) = s$, right?
So when I try to discretize it using the bilinear transform (Tustin's method) I trivially get
$D(z) = \frac{2}{T} \frac{1-z^{-1}}{1+z^{-1}}$
Whe... |
I'm trying to transform a time series with a recursive filter to model a feedback.
I was able to do a simple filter like :
Y[t] = x +αY[t-1]
a[0]*y[n] = b[0]*x[n] + b[1]*x[n-1]
with scipy.signal.lfilter
scipy.signal.lfilter(a,b,my_timeseries)
but i don't know how i can model this kind of transformation with a filte... |
i applyed hough transform in my image and this is the result of hough table, i must get the maxima of rho in two basic angles of theta , the one is around -65 : -60 and the other is round 30:35
How can i get them?
I tried the below code about hough but the houghpeaks function returns all the maxima peaks in the hough... |
I want to implement in fixed point arithmetic an exponential moving average filter, with a specific cutoff frequency for a given sampling rate.
The formula for the filter is
$$
y_n = \alpha x_n + (1 - \alpha) y_{n-1}
$$
Looking at Exponential moving average cut-off frequency one can derive the value for alpha for ... |
I'm trying to simulate the behavior of my FFT spectrum analyzer, I am using Mathematica, but my questions are more conceptual than technical implementation of code...I hope.
If we consider a simple cosine wave transient signal $y(t) = A \cos(2 \pi \nu_0 t)$, where $A = 1$ and $\nu_{0} = 24$ $\rm{Hz}$. This signal is sa... |
$\DeclareMathOperator{\diag}{diag}$In a research paper, I read that:
For optimization, the $n\times n$ weight matrix of DFT can be equivalent to circular convolution with a symmetric filter of length $2K+1$. That is the matrix rows are circularly shifted versions of $ h_{-K},...h_{-1},h_0,h_1,...h_K,0,...0)$.
PS: the D... |
I have an MRI kspace from a siemens 1.5 T scanner with reduced scan percentage ( sampled truncation by not acquiring the most peripheral lines in kspace). The kspace plot in matlab look like below.
I can do zero filling in this kspace to the required resolution and reconstruct images.
Other than zero filling, is ther... |
How can a two-dimensional ideal circularly symmetric low-pass filter or its approximation be efficiently implemented on data sampled on a square grid? I'm referring to an ideal filter with a spatial frequency response that equals $1$ inside radius $\omega_c$ (the cutoff frequency) and zero outside it, and with ideal im... |
I have been studying signals and systems lately and I have came across the following claim:
The uniform sampling of a periodic continuous-time signal may not be periodic!
Can someone please explain why this statement is true?
|
What are the primary differences between the usage or definitions of the terms “AGC”, “compressor”, “limiter”, and dynamics processor? They all seem to be forms of playing with gain knobs.
|
In terms of discrete representation of a variable, let's say time measurements in absolute values in [seconds], is there a difference between separability and resolution? When do speak of either aspect? Or are those terms used synonymously?
Example: Measuring arrival time of two physically distinct flights
landing, ... |
I have a signal of the form $f(\omega,x) = g(\omega) e^{i \omega (x +c)},$ for $g: [\omega_1 , \omega_2] \rightarrow C, \, x\in R$ and some constant $c.$ I want to get the function
$$
F (\omega,x) = \mathcal{H} ( \Re \{f(\cdot,x)\}) (\omega),
$$
where $\mathcal{H}$ denotes the Hilbert transform with respect to frequen... |
I am new in signal processing field, and actually I just need some basic tools for what I am working on. I've learnt that the autocorrelation function is the inverse Fourier transform of the signal's power spectrum, and that if the power spectrum is flat then the autocorrelation function is the Dirac delta, so that the... |
This question has bugged me for a while as it's not addressed in any books I've read. I was wondering how folks from this community interpreted it. Below are my personal notes on the matter (please excuse the formal tone).
My Notes
In the context of signal sampling, one cycle of an event represents a single, complete, ... |
I have 10 cosine waves of the form $\cos(2\pi(x f_n+\varphi_n))$, where $f_n$, the frequency, is an integer from 1 to 10 and $\varphi_i$, the phase, is a number from 0 to 1:
$$s(x) = \sum\limits_{n=1}^{10} \cos\left(2\pi (x n+ \varphi_n)\right),
\quad \varphi_i \in [0,1]$$
If I set all the phases to 0, $m = \max\limits... |
I'm trying to implement this paper in tensorflow and keras. At the end of section 3 it says.
Note that although weighted SDR loss is a time-domain loss function,
it can be backpropagated through our framework.
Specifically, STFT and ISTFT operations are implemented as 1-D convolution
and deconvolution layers consisting... |
I am trying to implement a butterworth lowpass filter with a circular buffer. The code below does not filter as intended and I am not really able to understand what is wrong. Any suggestion?
#define PERIOD_MICROSECS 1000
static uint32_t lastRead = 0;
int analog_pin = 0;
int32_t analog_input0 = 0;
double an... |
In a book Conceptual Wavelets in Digital Signal Processing by Lee Fugal 2009 on page 246 the author talks about aliasing present in DWT subbands due to downsampling by 2 and states:
Recall from DSP that for a signal at 0.3 Nyquist aliasing from
downsampling will "reflect" the signal across Nyquist. Thus we see the
... |
I am new to Matlab and I am trying to implement a section of a published paper, the basic idea of the part that i am implementing is to show the frequency spectrum of camera aperture. The shutter exposure is represented by images on the left side and their frequency spectrum on the right side as shown in the following ... |
I came across a system (screen below) that looks like it should result in a algebraic loop, but when writing the equations using the Z-transform, it obviously does not (calculation below too). But I still cannot figure out how such a system can function, especially if both H and G introduce no delay ? What am I missing... |
I want to calculate the SNR for a speech signal recorded within a noisy environment. I also sampled purely the noise within the environment.
The SNR is based on the ratio of power of clean signal and the power of noise signal. So my naive attempt to get SNR is:
$\frac{P_{signal+noise}}{P_{noise}} = \frac{P_{signal} + ... |
If I have a discrete time process model of the form:
$$x_{k+1} = x_{k} + v_{k}\cos(\theta_{k})dt$$
$$y_{k+1} = y_{k} + v_{k}\sin(\theta_{k})dt$$
$$v_{k+1} = v_{k} $$
$$\theta_{k+1} = \theta_{k}$$
Which gives me a state transition matrix of the form:
$$F = \begin{bmatrix}
1 & 0 & \cos(\theta)dt & -v\sin(\theta)dt ... |
I used the filter builder (lowpass) , to cut off the frequency at 0.5 MHz, and thus used a stopband of 0.1pi, and a passband of 0.0125pi. (Sampling Frequency= 80MHz).
However, the output was still unsatisfactory, as the spikes at +20 and -20 MHz are still visible.
Hence, I reduced the stopband to 0.08pi, from 0.1pi,... |
I have a signal, A, and I want to convert it into another unit by using a formula:
$$s_i = \frac{(1+x_i)}{(1-x_i)}\cdot s_{i-1}$$
where $x_i$ is each sample of the signal. I am using a loop where the last value of $s$ is stored and used for the next iteration (as the new value of $P$). It goes on and on until the last ... |
For a given space-time code, and in general terms, how would one proceed in the evaluation of the BER performance of this code ?
In order to be more clear, say i have 16 code matrices(who's elements belong to QPSK modulation) of size 2x2 that could be sent over a Rayleigh flat fading channel by a MIMO system with 2 tr... |
Suppose we have two uncorrelated, real white noise $\xi_1(t)$ and $\xi_2(t)$, with zero mean, and equal variance.
Now, I create the signal $\xi(t) = a\xi_1(t)\cos(\omega_0 t) + b\xi_2(t) \sin(\omega_0 t)$. ($a,b$ are real)
I want to find the spectral density of $\xi$.
The correlation $<\xi(t) \xi(t+\tau)>$ depends on ... |
Why do I get only odd harmonics appearing? This not only happens at saturation of the transfer curve, but also in the linear portion of the curve.
I make a input signal that has too high power that it will saturate the transfer curve. The transfer curve below is for Amplitude modulation, I also have a transfer curve of... |
It was recently explained to me that a "Nearest neighbor" kernel for 1D interpolation can be implemented like this using NumPy
def nearest(delta):
delta = abs(delta)
if delta <= 0.5:
return numpy.asarray([0,1])
else:
return numpy.asarray([1,0])
Whereas the mathematical definition of nearest neighbo... |
I work on images that contain shot noise (Poisson) acquired from a microscop. On few images, I have a "flat" zone that is supposed to have the exact same intensity, but it's not because of the noise. I was thinking that I could use this zone to estimate the quantity of noise, and then estimate the parameters K and Lamb... |
So I've been working on how to digitally implement a static reference frame PLL (SRF-PLL), which is a quite popular PLL used for extracting three-phase grid angle.
This PLL works by using the DQ0 transform as a phase detector.
Using the estimated grid angle $\hat{\theta}(t)$ as the rotation angle $\theta_r(t)$ of the ... |
I am trying to plot the spectrogram of a complex signal I generated. I have written code to generate this signal and plot the spectrogram. It works. However I see that there are two dark lines present within the spectrogram. I'm curious to know the reason for the existence of these. I have also noticed that by varying ... |
For a recursive filter, suppose a set of $b$ and $a$ coefficients have been calculated. Assume a state-space representation for which an initial set of $z$-values have also been calculated as in Python's lfilter_zi function.
The author of this post demonstrates code that applies the filter using the state-space model.
... |
I am working with steady state pressure field measurement where sound pressure at multiple locations in the field needs to be measured. In my case, more than one microphone existing in the field at the same time will intrude the field itself. As a result, the pressure of each location needs to be measured at different ... |
I have been trying to develop Omega-k algorithm for SAR image formation. I am using the equations from chapter 8 in digital processing of Synthetic Aperture Radar data by Cumming and Wong. The steps I implemented are:
Range compression
Range IFFT
Two DFFT
Bulk Azimuth compression to a reference range (using eqn. 8.3)
... |
I am trying to figure out the mechanics of plotting the frequency response of a FIR filter. For example, I have used an algorithm (Parks-McClellan), to generate a low pass FIR filter with an even number of coefficients. I've got 34 tap values. Now I want to show the frequency response of this configuration in a normali... |
The Friis equation is as follow.
$$P_r = P_tA_rA_t(\lambda/(4\pi d))^\alpha$$
where $d$ is distance between terminals, $P_r$ is received power, $P_t$ is transmission power, $A_r, A_t$ are the rx, tx antenna gains, respectively, and
$\lambda$ is wavelength.
If $d$ is 0, the $P_r$ must be $P_t$. But in this equation, the... |
I have a filter that tracks a robot. I want it to use a 2D coordinated turn polar velocity motion model (from page 15 here):
But I want to expand on this motion model: I want an additional velocity state that is orthogonal to the heading, and I also want acceleration states for the two velocities.
How do I find the r... |
I was wondering if we can spread the signal using more than one spreading code. Assume we have the Walsh code used to spread the transmitted signal, the Walsh code is, for example, gotten based on Hadamard matrix:
V = [1 1 1 1
1 -1 1 -1
1 1 -1 -1
1 -1 -1 1]
where every column of matrix $V$ repre... |
Please help me sort this issue out.
Consider a system whose output $y(t)$ is the first derivative of the input signal $x(t)$.
We can write the first derivative of an input signal as follows:
$$y(t)=\frac{dx(t)}{dt}=\lim_{\Delta t\to 0}\frac{x(t+\Delta t)-x(t)}{\Delta t}$$
Thus, we can see that the system's output must... |
I'm a beginner in signal processing and have a hard time to filter out environmental noise from the floor vibration data collected using accelerometers.
I have tried using butterworth filter (IIR) and sinc function (FIR) along with some window functions. Yet, I do not see obvious change in the time domain plot nor in ... |
I have a simple FIR filter that should eliminate all lower frequencies:
H = zeros(60,1);
H(30:end) = 1+1i;
H = [H;conj(flipud(H(2:end)))]; % double sided
h= ifft(H);
Then I assign a sample time to generate a time vector:
dT = 0.002;
Tspan = dT*length(h);
dF = 1/Tspan;
Here my nyquist is 250Hz. So the filter should el... |
I have been studying the following code but still unable to explain its output. I really hope someone could shed some light.
Let me begin with the baseline. Suppose I have a 20 seconds sinusoid with frequency components of [1,2,3,4....500Hz]. The signal has Fs=1024Hz, so it's FFT output looks as follows. The FFT amplit... |
I am interested in buying a device that measures the SINAD of the audio signal(FM signal) that I receive from PC. Here is the setup :
Signal generator -> attenuator ->HackRF connected to PC with SDR#
When we receive a 1KHZ FM signal generated by the signal generator at the HackRF(which is connected to PC), we get an au... |
I am interested in buying a device that measures the SINAD of the audio signal(FM signal) that I receive from PC.
Here is the setup:
Signal generator (generating 1kHz FM signal ) $\rightarrow$ attenuator $\rightarrow$ HackRF connected to PC with SDR#
When we receive a 1kHz FM signal generated by the signal generator a... |
In this example I have been working through, we first look at the situation when fs > 2fc and then the situation when it isn't:
In the example, the frequency responses of a sampled sinusoid at fc = 5 kHz are shown. In the first instance, the sampling rate is fs = 16 kHz, and in the second it is fs = 8 kHz.
I understan... |
I have a length 10 Finite Impulse response as shown below, and I am trying to find the phase delay of this FIR.
$$h[n]=\begin{cases}0.1,& 0\le n \lt 10\\
0,&\textrm{otherwise}\end{cases}$$
I tried plotting from first principles as well as using the phasedelay() function, however I am getting different results. The resu... |
I learned about the inverse system.
Suppose I have an impulse response $h(t)$ which is a box function.
($A = 1, T = 2$)
If I take the Fourier transform and referring the transform pairs,
$$H(j\omega) = 2\operatorname{sinc}(\omega), \\ H(j\omega)H_1(j\omega) = 1, \\ H_1(j\omega) = \frac{1}{H(j\omega)} = \frac{1}{2\op... |
I am working in w mbus and came across this term kchip/s in datarate like 37.768 kchip/s what does the unit specify?
|
Lets say, i have a line and i want to extend the line until the end of the image.
The line is displayed in the first photo with the green is my basic line, i want to extend it like the second image, until the end of the image.
I want to do this for all the lines that i have detected.
Does anyone knows how to do this... |
I am trying to calculate inverse discrete fourier transform for an array of signals.
I am using the following formula:
$$ x[n] = \tfrac1N \sum\limits_{k=0}^{N-1} X[k] \, e^{j 2 \pi k n/N} $$
And my python code looks as follow.
def IFT(array):
array = np.asarray(array, dtype=float)
# array length
N = array.s... |
I saw this explanation about outage probability,it said: it is the probability that an outage will occur within a specified time period.
So what will it happen when the outage occur?
stop transmitting signal?
keep transmitting signal, but the information will be wrong easier?
|
I am working on a matlab program which needs me to detect the pattern of surges in a signal and then remove them. I tried out various filters like median, hampel, butterworth etc. but couldn't get an effective output.
Here's a snap of my signal :
Now, I need to filter out the surges. Could anyone please suggest me a m... |
$y(t)=y(t+12), y(t) = x(t) \ast h(t)$
The continuous time signal output $y(t)$ is a periodic square wave, 50% duty cycle pulse.
The impulse response is a box function.($A = 1, T = 2$)
By using Fourier series and Fourier transform, I thought I can guess the input $x(t)$, assuming the input is also periodic with the pe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.