instruction
stringlengths
31
27k
Firstly, if this is the wrong place for this, I'd be happy to know the correct place for this and I'll move it there. I have two PCs which share an audio interface. My laptop is connected via USB and uses it as its sound card. My Desktop (runs Linux so will be called Linux PC from here on) inputs into inputs 3 and 4 of...
I am a beginner to random variables and I am understanding the concept of the transformations of a random variable. Consider a random variable $X$ to be Gaussian distributed with $a_x = 1.6$ and $\sigma_x = 0.4$. The random variable now undergoes a transformation $Y=X-1.6$. We know that the relationship between $Y$ and...
Below is my gnuradio-companion graph. As you can see the sample rate is 100k, I am modulating with QPSK, and am filtering the waveform (RRC) with the "Excess BW" parameter, at 0.35. The spectrum is shown below: The bandwidth seems to be about 2*160kHz. I would expect it to be about the baud rate, but it is far from...
Background For a simple system where you have a mass attached to a spring and damper in parallel: We can calculate the critical damping from the equation of motion: $mx_{tt} + cx_t + kx = 0$ $ms^2 + cs + k = 0$ $s= \frac{-c ± \sqrt{c^2-4mk}}{2m}$ There are then three conditions: $c^2 <4mk$ (under damping) $c^2 >4mk$ ...
If we convolve an image with a point spread function and from the resulting image to find the input image, can we use any stochastic approaches? I feel like we will not be able to. A single image seems to me a deterministic quantity and I cannot think of any way to approach this deconvolution problem in a stochastic wa...
Assume a sender and receiver communicate through an AWGN channel. Let $x(t)$ be a transmitted signal and $y(t)$ be a received signal and $z(t)$ be the Gaussian noise. It is known that $y(t) = kx(t-\Delta t) + z(t)$ where $k$ is the channel gain (say due to attenuation) and $\Delta t$ is the delay. I was wondering what ...
Let's say I want to emulate the design of a modulator I am building "in real life". I'd like the components, input data rate, and output bandwidth to be the same as in the real system. If I use the GNURadio Constellation Modulator block for this, it imposes a lower limit on samples/second. This results in a differen...
I am having trouble finding the same answer as the solution manual for this sequence. The problem asks to compute the DFT of $$ x[n] = \begin{cases} 1 & \text{for even } n \in \{0\ldots N-1\} \\ 0 & \text{for odd } n \in \{0\ldots N-1\} \end{cases} $$ Setting up the DFT equation I agree with...
I have the following question: a) For an N-tap FIR filter, sketch the direct form realization. How many multipliers per sample? You may choose 8. b) For an FFT calculation of an N-tap filter sketch the realization. (N=8, FFT size is 256) The answer to a) is given here, and I think 8 multipliers are needed per sample,...
I read from the book that we use estimation when we are dealing with analog signal or continuous random variable and the term detection when the transmitted signal is a discrete value even if a received signal is continuous. I want to know if in digital communication we use both estimation and detection and in which st...
I am having a hard time figuring out how to employ a high pass filter to remove the DC offset of my data signal with the "scipy butter" function because my sample rate is quite high. The crux of my issue seems to be that my sample rate Fs is very high and my cut off frequency is very low (ideally just the DC offset co...
I'm working on a dsPIC33, using Audio Codec Board - Proto to read audio samples and for reproduction. In order to implement a relatively simple signal processing algorithm, I'm reading audio samples and I'm supposed to process them and pass them to DAC for reproduction. The dsPIC33 I'm using filters the signal using Q1...
I have this sound effect which by the way if anyone could give me its name, I would really appreciate it. And after loading it into matlab/octave (don't worry this isn't a programming question) using the following commands: [x, fs] = audioread("Path To File"); plot(length(x(:,1)),x) sound(x,fs) % To hear the sound I g...
During my experiment (vibration analysis), I deliver a knocking force from a shaker (and the shaker itself has an impulse or an half-sine wave signal). The system automatically calculates with the FFT algorithm and gives me the following graph for the input force signal. Note that I was investigating different paramete...
Will the integral of the PSD of a down-sampled signal still equal the variance in all cases
I have a question that is regarding spectrum analyzer. According to nyquist theorem, sampling rate should be twice of maximum frequency of signal to reconstruct again. If there is a spectrum analyzer that is range 2kHz to 20GHz, is sampling rate equal 40GHz? How to analyze high frequency component? does it pull IF fre...
While processing digital images in the Fourier domain, mostly we exploit the amplitude and not the phase. This could be because the amplitude is much more structured and the amplitude spectrum reveals a lot about the spatial domain as illustrated in HIPR and other answers. I am really curious to know what does the phas...
Suppose we have a discrete input waveform (with sampling frequency Fs = 32*56e9). We want to filter this waveform with a filter that has two complex conjugate poles (at 22 GHz) and one zero (at 17GHz) and let's say the gain of the filter is 1. I'd like someone to provide steps for calculating the filter coefficients.
In the mentioned homework, part of the solution involves finding the Fourier coefficients of the triangle wave. The solution mentions that we can express this function as follows: What does that multiplication signal means? I approached the problem from a completely different angle of viewing the triangle wave as the...
If I take two analog, band limited signals $ x(t) $ and $ y(t) $ with non-zero $y(t)$ I can define the division: $$ z(t) = \frac{x(t)}{y(t)} $$ In general $z(t)$ may have a very wide bandwidth, also if the two signals had a small bandwidth. I ideally may lowpass filter out a limited band part of $z(t)$ and make a dis...
Say we have a 12-bit ADC with 30 MHz sampling frequency. I want to perform several DSP operations on output digital signal so that resulting signal would have increased accuracy to 14 bits and output sampling frequency would become 2 MHz. In nutshell I want a DSP block that converts a 12-bit ADC with 30 MHz Sampling ra...
I would like to modelize my whole system into the S-domain. This is a mixed system, there a numerical part (corrector, ADC, DAC) and an analogic part (plant transfer function, sensors, etc...). I know that it is possible to transform a DAC (Digital to Analog converter) or a ZOH into the s domain thanks to the Padé's ap...
I am currently working on some noise removal algorithms and have come across what seems to be an oversight in the design of some of these algorithms. Two of the algorithms I am looking at use the PSD of the noisy input signal, and calculate the gains that should be applied to retrieve the noise-free signal. However, bo...
Are there any established techniques for estimating the envelope of a swept filter? I tried a first order piece-wise polynomial approximation using the SHGO global minimizer algorithm (Python code below), but it fails. Setting the points by hand approximately succeeds. The purpose for the estimation is to obtain a synt...
Imagine I have a nonlinear system: $$ \frac{\text{d} x}{\text{d} t} = f(x,t)\\ y = g(x). $$ I can design a nonlinear observer to estimate the state $x$ based on the measurements $y$. However, this estimation does not need to be done online. Meaning that I have the whole measurement signal $y(t=0- T_{\text{end}})$ and w...
As the sampling theorem dictates that the uniform sampling frequency must be at least twice the maximum frequency present in the bandlimited signal (Nyquist rate), a question arises about the uniqueness of this representation of the analog signal to digital one. Apart from practical errors related to the truncation of ...
Consider the generic feedback loop, and the transfer function $G(s)$ shown by the following root locus plot. Where $\mathbf{x}$ denotes the open-loop poles and $\square$ denotes the closed loop poles. I want to determine if this root-locus produces any of the following output responses to a unit step reference signal...
So I need to make a function that will be called as function [t, pulse] = PAM (array). My function should have a result like this when I use array = [1 0.3 0.8 0.6], which array is the width of my digital pulsing signal.
I'm continuing my question referenced here: Part 1 Question / Problem Description Say I have a new Root Locus shown below Consider the generic feedback loop, and the transfer function $G(s)$ shown by the following root locus plot. Where $\mathbf{x}$ denotes the open-loop poles, $\square$ denotes the closed loop poles...
It is necessary to extract the harmonic signal from the audio spectrum. That is, from the spectrum of 20 ... 20,000 Hz it is necessary to select only a signal with a frequency of 1,000 Hz, and suppress the rest. You need to do this on a microcontroller. As I understand it, you need to take the Fourier transform from th...
I was reading some articles regarding object detection and target detection and have a hard time understanding the difference between object detection and target detection. i want to know whether they are different from each other? and if so, how?
The signal values should not get affected by the correction. Most methods I found were related to baseline drift or exponential baseline shift/decay. I am unable to find a method suitable for my use case. In the image it is visible that after sudden dc offset the baseline got shifted. After correction it should stay sa...
I have looked everywhere on the internet for this and, surprisingly, haven't found much useful information. Given 3 or more points closest to a peak (local maximum) what are some of the most accurate techniques I can use to obtain the value of the peak. In fact, I would like the x axis coordinate of that peak to determ...
I want to build a question on state space using a given, nilpotent matrix, $A$. $$q[n+1]=Aq[n]+Bx[n]$$ $$y[n]=Cq[n]+Dx[n]$$ Usually, I am using the canonical form so there is no problem extracting $A,B,C,D$ from the difference equation of the system. Given a nilpotent $A$, How do I choose reasonable $B,C,D$? can I simp...
Edit: Please treat code here as python-esque pseudo-code; it would syntactically fall closest to MATLAB or Python+numpy+scipy users. If I have a signal in frames, and I want to put it back together - I just add each frame back into into a growing vector at a distance of hop from the end. More specifically, I use hop * ...
Practical infinite impulse response (IIR) filters are usually based upon analogue equivalents (Butterworth, Chebyshev, etc.) using a transformation known as the bilinear transform which maps the $s$-plane poles and zeros of the analogue filter into the $z$-plane. However, it is quite possible to design an IIR filter wi...
I am trying to rationalize a figure given in the Numerical Recipes in C in the section of Fourier based convolution and deconvolution. The authors show the example of a continuous convolution with a zero centered response function r(t). Convoluting the continuous signal blurs out the edges and there is no shift. What i...
As i read, IQ sample doesn't need nyquist criteria. What is the mathematical representation of this result? Why IQ sample doesn't need nyquist frequency? I know that can be set to nyquist frequency but i want to know why not equal nyquist frequency at least. Thanks for answers..
I'm in a debate with a peer who says that filtering accelerometer signals at the chip-level has nothing to do with mitigating the problem of drift Often, additional software-level filtering is employed to smooth noise, depending on the application. But My question pertains to any filtering or processing that is happeni...
I'm trying to complete one task: Download some FM modulated signals from page http://www.w1hkj.com/modes/index.htm. Calculate their spectrograms, i.e. short-time Fourier transform. Observe different FM patterns. Do some literature investigations. Try to recover bits that are coded by different frequency values (states)...
Please help solve the problem in the picture. I am confused due to the piecewise nature of the density functions. If it was a simple curved PDF, I would simply integrate over full range and use the single CDF expressions. But, for this piecewise case, in each section I will have different expressions. P.S.--This is NOT...
I was reading someone's thesis and now i am more confused about CDMA system. From what i understood is CDMA is multiplexing which allows multiple signals to transmit over single channel. so general structure of CDMA communication system should be like shown below: Binary Data --> Multiply PN Code --> XOR(spreading) -->...
I have two questions and I am very confused about the concepts Can a Markov process of order one also be a a Martingale? Is any Markov process of order one also a Martingale? For 1. I would say yes, since a Markov of order one is also an AR(1) it would be a martingale if c=0 and phi=1. However, I am very confused abo...
I'm trying to solve the following problem: In a binary PAM system, the input to the detector is $$y_m = a_m+n_m+i_m$$ where $a_m = \pm1$ is the desired signal, $n_m$ is a zero-mean Gaussian random variable with variance $\sigma_n^2$ and $i_m$ represents the ISI due to channel distortion. The ISI term is a random varia...
Im reading https://en.wikipedia.org/wiki/Goertzel_algorithm, when we want to discover the amplitude of a some frequency in a given signal what is the difference between applying Goertzel algorithm and doing cross-correlation in time between our signal and a complex exponential with the desired frequency. It seems like ...
I'm dealing with an echo signal from a hybrid. An echo path includes DAC, the hybrid, ADC and the line infrastructure. I can see, that after using a digital linear echo-canceller the residual echo signal is still significant and I suspect that echo-path has additional non-linear components. Now I want to estimate, how ...
I'm a software engineer that has been given the task of calculating the SNR of a communications signal that is represented by an array of complex numbers. I'm not quite sure how to proceed. Here's what I have as input data: An array complex numbers of length $N$. This is the representation of the signal for which I nee...
Usually I/Q sampling is performed on two signals with a 90° phase shift using separate ADCs. Suppose I have only a single (fast) ADC available to perform I/Q sampling, which approaches do exist? Is this an entirely stupid idea? A bit of background: I've been toying with the idea of building an amateur radio HF receiver...
I used to burn and run the GNU Radio livecd - it was a very nice package that gave me a working gnuradio environment - with drivers and tools - without doing a lot of sysadmin or package management, etc. Now, however, the GNU Radio liveCD is no longer supported nor recommended and, while still available from some place...
I intend to pursue a PhD program in digital signal processing (DSP). However, it seems nowadays that research has saturated in DSP and it's all about machine learning and deep learning. Are there are any areas in pure DSP that can still be explored for a PhD? If so, what are some research groups that focus on these are...
Given a signal $$ x(t)=-2\operatorname{rect}\left(\frac t4\right) $$ What is the energy of signal $-x(t + 1)$? What are the steps needed to find the energy?
I'm designing a quite unusual (in terms of signal analysis) EEG experiment, which forces me to design my own filter. I have never done this before, so kindly please check my work and suggest corrections. The analysis consists of cutting a narrow frequency band (2Hz) from 6-second EEG recordings(4*) (sampling frequency ...
I would like to use time averaging technique for denoising vibration signal, using the below function, how do we choose the appropriate parameters D and N for optimal denoising ! % sigav.m - signal averaging % % y = sigav(D, N, x) % % D = length of each period % N = number of periods % x = row vector of length at lea...
I was reading a text book on the frequency domains in signal processing and my understanding is that the Fourier Transform considers signals that are a-periodic in time while the Fourier Series considers periodic signals in time (such as a sum of sinusoids). But the book clearly mentions that the FS can be seen as a sp...
I have the following formula: $$\frac{S}{N}=\frac{E_b \cdot R_b}{N_0 \cdot B }$$ Where $S/N$ is of course SNR in dB, $E_b$ is energy per information bit, $ R_b$ is information bit rate in [bit/s], $N_0$ is noise spectral density and $B$ is bandwitch in [Hz]. So let's say the $S/N$ ratio = $70\ \rm dB$ $R_b = 250\ \rm ...
I'm learning about signal processing for music, and in my reading I keep finding the term "features". I find that they never really give a concrete example of what they mean by "features". They'll say stuff like features related to timbre, but they won't really go into further depth than that. I also took an image proc...
The fundamental period (N) of the sum of two DT signals could be the LCM of the fundamental periods. However, this is not always the case. I would like to know wether, during engineering design or engineering labor, it is important to know to find it (when it is not just the LCM)? Can one always find N just by plotting...
According to my very rudimentary understanding of the ITU-R BS.1770 standard, I thought that the LUFS (LKFS) value for any audio signals should not ever go positive. However, there is a 5-second segment from an audio file I have whose integrated loudness level is +1.28 when measured using ffmpeg, and +1.44 when measure...
For the system described by the differential equation below find its inverse zero-state unit step response $$\dfrac{d^2y(t)}{dt^2}-2\dfrac{dy(t)}{dt}-8y(t)=\dfrac{d^2x(t)}{dt^2}-2\dfrac{dx(t)}{dt}-3x(t)$$ so that the cascade system of its inverse system and this system is the identity system. I am not sure how to tackl...
I am trying to compare several PSD methods to determine the most suitable method for my application. Does anyone know a good approach to start with? I am relatively new to this field of topic. I could possibly compare the results of the psd methods, the computational complexity and the resolution of the results.
I want to find out what is the real transmit power of my USRP 2922, unfortunately the only results I get when looking at the spectrum analyzer is the spectral power density. These are the results of the my measurements (in LabView - transmitter parameters are: 1Mhz IQ Sampling rate, carrier: 2.4375GHz, 0 Tx gain, QPSK ...
Does baseband signal has negative frequency? In wiki baseband signal means that can include frequencies that are very near zero. I wonder whether baseband signal has negative frequency. Thank your answers..
Let's assume the transfer function of a continuous-domain filter consists of two poles and one zero: $H(s) = \frac{k_c (s-\omega_{z_1})}{(s-\omega_{p_1})(s-\omega_{p_2})}$. Let's consider we do the bi-linear transformation and we get the numerator and denominator coefficients in $z$-domain: (Numerator coeffs): $\,\,\,\...
I read that a infinite extension continuous time signal with decreasing amplitude will always be an energy signal. Though if you take the integral of, for example, f(t)=1/(t+1) we can see that is diverges to infinity. Doesn't the saying that if a signal has finite area then it is an energy signal? But that doesn't go t...
I have a system given by $$y[n] - \frac{1}{4} y[n-1] - \frac{1}{8} y[n-2] =3x[n] $$ I'm asked to determine the impulse response of both an anti-causal and a causal Linear Shift Invariant System characterized by this difference equation. The impulse response to the causal system is $$2\left(\frac{1}{2}\right)^{n}u[n]+\l...
I have a question related to complex number representation of sinusoids from a book by Steven W. Smith "Digital Signal Processing". The book is made freely available by the author on dspguide.com. The part I have question about is available here, pp.559-563. Excerpt from the book (p. 560): A sinusoid is represented b...
I'm a computer vision and deep learning specialist. I've just started a project which will involve having to detect certain events in a stream of kinematic sensor data. By searching through the literature, I've found a lot of highly specific papers, but no general reviews. If I search up on computer vision, I'm likely ...
I am trying to write a code for a neural network to do the digital filtering on some signals. Is there any neural network model for digital filtering?
I created a signal with two sinusoids and added increasing amounts of random noise to it. The results of running the FFT and MUSIC on this signal are shown in the image below. Ignoring the fact that the scaling is wrong on the x-axes of the FFT plots, in what way are the results for the MUSIC algorithm better than the ...
I know that in general it transforms the signal from the time to the frequency field but these specific cases seem pretty demanding. Do I calculate each part separately and then just leave them with convolution between them? Or do I have to calculate any integrals? \begin{align} &\frac{1}{t^2}\cdot\cos(2πt)\cdot\cos(2π...
I am trying to demonstrate Conventional and DSB-SC modulation of a signal $ \sin(2\pi1000t) $ using MatLab. My carrier signal is $ \sin(2\pi f_ct)$ where $f_c = 100\text{ MHz}$. Now according to theory, after modulation, the modulated signal should have a spectrum same as that of message signal shifted to the frequency...
I have a system given by $$y[n] - \frac{1}{4} y[n-1] - \frac{1}{8} y[n-2] =3x[n] $$ I want to solve for $y[n]$ for $x[n]=(\frac{1}{2})^nu[n]$. The complementary solution evaluates to $[k_1(\frac{1}{2})^n+k_2 (\frac{-1}{4})^n]u[n]$. But when I evaluate the particular solution consider $y_p[n]=k(\frac{1}{2})^n u[n]$ I ge...
TLDR: How do I mix network streams when streams might be unreliable? I am working on a project which will allow musicians to practice/perform together over the internet with low latency. (Think JackTrip but more user friendly). I am receiving raw PCM audio data via UDP over the network. As these come in, I identify who...
I have a discrete signal $x(n)$ having $N$ samples with DFT $X(n)$. Here $N$ is large say $N=600$. Let the samples of $x(n)$ be, $x(n) = \big[x(0), x(1), x(2), ..., x(N-1)\big]$. But if suppose instead of sampling at the zeroth instant, we began at $k^{th}$ instant, then the new DFT using phase shifting property will b...
Suppose X is random variable that is spatial position in finite range, which its Cumulative Distribution Function (CDF) could be calculated easily, then if I have two random variable X and Y spatial position, can I make multivariate CDF by assuming those pair as one dimensional vector in the pair possible finite range?...
Suppose I have some continuous time system and associated transfer function: $$ y(n)=x(n)+x(n-1)$$ $$ H(j \omega) = 1+e^{j \omega (-T_s)} $$ Now suppose I create a discrete-time approximation of this system like this: The digital system contained within the converter blocks has the transfer function: $$ H(z) = 1 + z^{...
Problem: I need to measure a experimental data set $y(x)$. However, the experiment is extremely time-consuming and I don't have the luxury to have linearly spaced sampling point $x$. I need the density of sample points to be proportional to the first order derivative of the data $y^{'}(x)$. Progress: first measur...
The relationship between the Z-transform and DTFT can be expressed like: $$ H(e^{j \omega}) = H(z)|_{z = e^{j \omega}}$$ Graphically, evaluating the Z-transform on the unit circle is shown as sweeping $\omega$ as $e^{j \omega}$ is plotted, represented as a phasor rotating around the unit circle. My question is, isn't t...
I have been told (Wikipedia agrees) that the Wiener filter is optimal when signal and (additive) noise are WSS. Optimal in the sense that it minimizes the mean-square error. The Cramér–Rao bound is the lower bound on the variance of an unbiased estimator of a deterministic parameter. Does that mean that the Wiener filt...
I'm trying to derive an expression for the magnitude spectrum of the following sharpening filter. $$ g(m,n) = \delta(m,n)+\lambda (\delta(m,n) - h(m,n)) $$ where $\lambda$ is some positive constant and $h(m,n)$ is a low pass filter. $$h(m,n) = \begin{cases} \frac{1}{25}, & \text{for $|m| \leq 2, |n| \leq 2$} \\ 0, & \...
This question was originally posed to Math SE. It was suggested that DSP SE would be more suitable. Background & Motivation: I have three lists of timestamps (UNIX timestamps, plus a subsecond part (e.g. 1451606400.9475839201)). They are not necessarily of the same size, however they are ordered. Each such list corre...
Lets assume I have an IIR filter with : bz = [1.0195 0 0]; az = [1 0.0166 0.0020]; fvtool(bz,az) The filter is stable as i can see. If you check the phase delay its negative, so is the group delay. Phase response is positive. What do you make of this. ? Is my filter suitable still for RTL implementation. I have r...
In this description of transfer functions on the z-plane (image linked), I'm confused by equation 1.49, which says that $H(f)=v_{out}(f)$ when $v_{in}(f)= 1 * e^{j 2 \pi (f/f_s)}$. (For another matter I'm confused that they're kind of conflating the frequency response and the Z-transform, but since the point of this se...
I am working on time-series signals for which I need to fit a model (like MVAR) that could describe the process satisfactorily. However, my signal has a unit root and is highly non-stationary because of which it doesn't meet the required stationarity criteria for MVAR. With highly non-stationary, I mean it is of differ...
I'm trying to reproduce the behavior of lfilter and lfilter_zi (from scipy) in R (using signal package if possible). This is the example provided by scipy.signal.lfilter (I just removed a random component to be able to compare it with R) from scipy import signal import matplotlib.pyplot as plt import numpy as np t = ...
Question in short: How can I normalize audio from a block-based phase-vocoder system without knowing the global minimum and maximum during runtime? Longer version: Hey! I am very new to DSP and need some help with figuring out an issue that I have (or understanding the math behind it). I am using the RubberBand audio t...
My question is related to the quantization error and the functionality of SAR-ADCs. In general, the quantization error of an ADC is defined as +-0.5LSB. If this concept is correct a voltage that equals 1.75LSB, would produce 2LSB at the output of the ADC and a voltage that equals 1.25LSB would produce 1LSB at the outpu...
I understand that we do not use rectangular window as a window in filter design because of the ringing/gibbs artifacts due to the sidelobes of the resulting sinc function in the time domain. Consequently, most DSP books mention hanning, hamming windows because they reduce the ringing artifacts. But how about using a si...
According to the documentation of scipy.signal.fftconvolve This is generally much faster than convolve for large arrays (n > ~500), but can be slower when only a few output values are needed, and can only output float arrays (int or object array inputs will be cast to float). Why does fft-based convolution is efficie...
guess I'm stuck with this filtering problem and I'm thinking it has something to do with my raw data but I'm not so sure. So the problem is the following, please refer to the figures below, basically, all I'm trying to do is implement a bandpass Butterworth filter to filter the raw data trace (green). The raw data cons...
I have recorded real complex baseband signal. I want to recover data from the same. The complex baseband signal is basically a composite CDMA signal. How can i recover that information ? Original Tx Composite signal Real Rx Baseband signal I know fundamentally I just have to multiply the composite CDMA signal with th...
I have two timeseries signals. They look like this: Each signal started out from the same array, but each received different preprocessing treatments. Ultimately, each signal represents the breathing rate of a subject. Each peak constitutes the peak of an inhale, so the number of peaks/time yields the respiratory rate...
Assume I have such modulated data which is, for example, $x=0.7+0.7i$. That modulated data is encapsulated in a vector as below: OR where $c$ is any constant number, let’s say, for example: $c=0.7$ . My question is how can I detect if the received vector is $y_1$ or $y_2$ ? I mean is there a mathematical expressio...
I am new to image processing, so I beg your pardon if this is a trivial question. I am trying to use an RGB-D camera to detect 3D bounding boxes of books on a shelf. Here are some examples of possible scenarios: books on a shelf 1 or books on a shelf 2. I would like to infer the dimensions (length, width and height) an...
Disclaimer: I’m computer scientist, no math expert I’m computing a frequency spectrum by applying an FFT on 10000 real numbers acquired at 10kHz. The FFT produce 10000 complex numbers. The frequency spectrum is obtained by computing the magnitude of the complex numbers and yields a symmetric array. I’m programming in G...
I'm trying to understand how Kinect 360 depth sensor works. At the moment, I know that this sensor is composed by an infrared pattern generator and a infrared camera. IR camera gets the pattern generated from the IR emitter, and using math it calculates a depth value for each pixel. The process of emitting a light in a...
I'd like to write a DSP algorithm to do additive synthesis using arbitrary sine waves with inverse rectangular FFTs. This requires two things: The ability to generate phase/amplitude lists that cause the IFFT to create sine waves that are not integer multiples of 1/(IFFT length) Example: How do I generate 1000 Hz wi...
When receiving a higher frequency signal, say 2 GHz, the freq as shown in frequency sink is often off by some amount (1-2 MHz) on the ettus B200. So I can't just assume the location of the signal is at the halfway point in the FFT bin. Right now I'm using a hacky method using argmax and probe blocks to find the correct...
I have a filter where the input is: $$ x(t) = s(t) + w(t) $$ which is signal plus white Gaussian noise and the output is $y(t)$. If the impulse response of the filter is $h(t)$, then: $$y(t) = s(t)*h(t) + w(t)*h(t)$$ I have given the following equation to calculate the SNR: $$SNR = \frac{\int_{-\infty}^\infty|s(t)*h(t)...
The most common type of discrete cosine transform (DCT-II) is defined as \begin{align} X_k&=\sum_{n=0}^{N-1}x_n\cdot \cos\left(\frac{\pi}{N}\left(n+\frac{1}{2}\right)\cdot k\right)&\text{where }& k=0,1,...,N-1 \end{align} (c. f. https://en.wikipedia.org/wiki/Discrete_cosine_transform) My problem is that I just don't ge...