instruction
stringlengths
31
27k
I am trying to measure the noise floor of my picoscope. I want to generate a PSD in volts per root hz that I can compare with specs from other equipment, e.g. a preamp. I gathered some data from my scope with the input shorted, and then created a PSD using scipy.signal.welch in python. However, I noticed that if I chan...
Which conditions must fulfill a time-limited signal (so of unlimited bandwidth) $f(t)$ to have a bounded maximum slew rate? I want to know about which conditions must fulfill a real-valued time-limited function (so compacted-supported and with unlimited bandwidth), at least in the case of one-variable $f(t)$, to have a...
I want to write a MATLAB code for generating a random message signal [n] where its autocorrelation function is: R[k] = sinc^2 [1/4 k] where k is an integer. (Hint: Generate a process where autocorrelation is Dirac (i.e.,PSD has equal power on all frequency components, (you can use randn(1,N) where N is a large number,e...
I have to research and compare IP cores for FPGA and ICs that use image compression algorithms. 1.) I couldn't find any IP Cores apart from a few IP Cores(JPEG IP Core KJN Series). At the same time, I did not come across any ICs. Can you give a few examples or where should I start researching them? 2.) What should the ...
I am stuck in a simple confusion, please help me with this basic understanding of the concept. I have an exponential decaying sine signal as a response to a sensor. This response lasts only for few microseconds. I sample this signal at 50 MSps (max supported). The sensor response is from 8-9 MHz. Then I collect 100 µs ...
I am reading the book Fundamentals of Music Processing by M.Muller and I am close to understanding the idea behind the decomposition of a signal into basic frequencies, and would appreciate some help bridging a big gap in my understanding. Fourier transformation of a continuous function $f(t)$ for some frequency $ω$ is...
I have a signal sampled with frequency 10 kHz. My spectrum is 1 kHz. As far as I went, according to the Nyquist theorem I can module the signal with max. 5 kHz (1/2 of sampling frequency). What's the minimum frequency I can use to modulate this signal? How does it look on the graph?
I have an application where I have a pulse shaped QAM signal, at 2 samples per symbol. I need to take the I/Q samples and perform quadrature upconversion so that they can be output on a DAC that's operating at a (real) sample rate of 8 times the baseband IQ rate. The IF frequency is at 1/4 of the DAC's sample rate. The...
The tracking performance of PLL-based is often expressed in terms of error variance. To take into account the effect of Loop bandwidth, another parameter, called loop SNR is used. Loop SNR for an analog implementation is expressed as shown below (Appendix C of Michael Rice's "Digital Communication: A discrete-time appr...
def fft_convolution(image, kernel): imageC = image.copy() kSize = (kernel.size // 2)+1 kernelShape = tuple(ti//2 for ti in kernel.shape) centery ,centerx = kernelShape imagePad = np.pad(image, kSize, mode = "edge") imageC = np.fft.fft2(imagePad) kernel= np.fft.fft2(kernel, imagePad.shape) ...
I have a basic understanding of Laplace and Fourier but having trouble making a connection. Every time I attempt to look at reasons these are connected I'm told about the s-plane and regions of convergence which confuse me quite a lot trying to wrap my head around. What I would like to know is whether my understanding ...
I'm still learning. I have checked many questions on here similar to mine, but have not found an answer. I'm analyzing the oscillation of a train catenary system. Due to bad sampling frequency and short time periods of interest, I don't have that many samples. Additionally, four recorded frequencies are apparently arou...
I want to estimate the error my frequency estimation has. I used FFT with a window on a series with 3954 samples, sampled at 40 Hz. I know I can calculate the frequency resolution after Rayleigh's theory as $f_S/N=0.0101 Hz$. However, I found nowhere that this is actually an error estimation of the frequency, and the w...
Radar IQ Transmitter Measurement Setup: Waveform Generator + IQ Transmitter + Attenuator + Real Downconversion mixer + Oscilloscope + Post-processing (Hilbert Transform) With the above arrangement Radar IQ Transmitter characterization is done, I need to remove the influence of Attenuator and Real Down-conversion mixer ...
i need the application of Fourier transform in finding frequency response in mathematical terms
I collected Iridium (satcom) I/Q samples (5120 x 100000 complex double) and I would like to plot the range-Doppler response map by using the matlab tool (https://www.mathworks.com/help/phased/ref/phased.rangedopplerscope-system-object.html) scope = phased.RangeDopplerScope( ... 'IQDataInput',true,'RangeMethod','Matched...
I am having two omnidirectional microphones connected in endfire configuration. I am playing a male speech from 0 degree (front direction) of the endfire microphone configuration and female speech from 180 degree(behind the endfire microphone configuration) and the data grabbed by both the microphones were recorded. ...
I am looking at some old exams. Particularly, one question where there is a Bode plot of a transfer function $G(s)$, and some questions about the Bode plot. So far so good. However, part b) of the question starts asking questions about when the transfer function has feedback. The solutions seem to indicate that the Bod...
I have a signal sampled at 100 Hz with the frequency spectrum seen below. What I would like to do is to filter out the region around 0.7 Hz (say 0.7 ± 0.3 Hz) (leftmost red circle) and get rid of both the other peak around 1.5 to 3 Hz (rightmost red circle) and ideally also frequencies <0.4 Hz. I've played around with...
Suppose an $N\times M$ image of an object is downsized to a $N'\times M'$ image using a standard algorithm such as bilinear. How does that downsized image compare in sharpness to an image of the same object that was acquired at $N'\times M'$? In other words, if the goal is to end up with an $N'\times M'$ image of the o...
What do the arrows depict in the optical-flow visualizations such as the one below? (image source: learnopencv) Is it correct to say that the pixel at the tip of an arrow was at the origin of the arrow in previous frame?
I am trying to simulate the blurring process (defocus) of a sinusoidal. For this I have build my own Gaussian filter and performed the convolution in Fourier domain. The result of the blurred signal is shown below. The effect in the left and right most part of the blurred image is I assume due to the filter size. If I...
I have implemented a discrete state observer for a given dynamic system in continuous time domain in following form $$\bar{\mathbf{x}}(k) = \mathbf{A}_d\cdot\hat{\mathbf{x}}(k-1) + \mathbf{B}_d\cdot \mathbf{u}(k-1)$$ $$\hat{\mathbf{x}}(k) = \bar{\mathbf{x}}(k) + \mathbf{L}_d\cdot\left[\mathbf{y}(k) - \mathbf{C}_d\cdot\...
I'm implementing a fixed-point direct form I biquad filter with Q1.15 precision. I use fraction saving to improve quantization error. However, my function gives me the different results compared by MATLAB's filter. I didn't find anything wrong, please help. My code is as follows void iir_biquad_df1_16( const short*...
How do I find a segment on the signal where the signal speed is 2 times the speed of the same segment on a reference signal? Which features describe this? On attached image can see "change of speed". Blue signal is reference, orange signal is measurement signal. Blue pen explain what I want find.
I have seen in a few papers, for instance in this one, the following method : Find an initial "frequency of interest" (FOI) Filter the input signal with a Notch filter around the FOI Subtract the result from the initial signal The result is the "interesting part" of the signal, with mainly frequencies around the FOI ...
I know that (auto)correlation indicates the "degree of predictability" of a variable with respect of another. However, this is a vague notion. I know that a blank process should have an autocorrelation similar to a delta, since information of one sample shouldn't say anything about another. I would like to have a more ...
I have read about interpolating 0s uniformly in a time domain sequence and its effect on the resulting spectrum. I am wondering what happens to the spectrum when you insert just one sample (say a 0 or any other value if that makes it easier to deal with), such that the samples after it in the original sequence get shif...
Suppose that I have the log Path Loss distance model described here https://en.wikipedia.org/wiki/Log-distance_path_loss_model $$PL(d,\gamma) = P_{t}-P_{r}=PL_{0}+10\gamma log_{10}\frac{d}{d_{0}}+X_{g}$$ Suppose that the receiver has some kind of directivity (i.e. it can be a Yagi Uda antenna), can I include or is ther...
I am reading the SURF paper (Speeded-Up Robust Features (SURF)) but can't understand two things. In 3.2 it says: Furthermore, the filter responses are normalised with respect to their size. This guarantees a constant Frobenius norm for any filter size, an important aspect for the scale space analysis as discussed in t...
I need to get the difference equation from this transfer function: $H(z) = g \frac{1+a_1}{1+a_1z^-1}$ My math skills are too many years old, but I remember I need to get the Y(output) on one side and X (input) on the other: $\frac{Y(z)}{X(z)} = g \frac{1+a_1}{1+a_1z^-1}$ But I don't remember where to go from here.
Given the following signal, I would like to keep only the deceleration phase in orange. I have no idea whether there exists techniques to do that or not. I imagine that I can smooth the signal, compute its derivative. But, I am not sure how to decide correctly when to cut the signal. In a perfect world, I would just c...
If we periodically sample a continuous band-limited signal at a sufficient sampling rate, we can estimate its spectrum by using Discrete Fourier transform (DFT). DFT of a finite discrete signal sample finds amplitudes of a predefined set of frequencies: each frequency is a multiple of the fundamental. But suppose the o...
I know this is probably a common question, but after some searching I think that my version of the question is slightly different -- apologies if this is a repeat. I have seen that it is inaccurate to say the Z transform of the M-fold decimation process is $$ Y(z) = X(z^{1/M}) $$ This incorrect version of decimation se...
I have split the database available into 70% training, 15% validation, and 15% test. I have trained the model and got the following results: training accuracy 100%, validation accuracy 97.61%, test accuracy 96.74% In another trial for training the model, I got the following results: Training accuracy 100%, validation a...
I have a sample program that uses the minimum cost function to align image B to image A. The method takes two arrays of points and does the summation of all the points in the images for both Matrix A and Matrix B and returns a transformation that should align image B to image A. My problem is that the matrix entries is...
I came across these measurements done using a stepped sine sweep covering only some frequencies (~800 frequency points). I would like to get an impulse response from these measurements to convolve them with another signal. I have the input signal x and the output y. To obtain the frequency response, I perform a deconvo...
While studying the phasor diagrams of Amplitude modulation and Frequency modulation, I am stuck at a problem involving the phasor diagram of an angle modulated signal whose equation is given by $$s(t) = A_c \cos(2\pi f_ct)-\alpha A \sin(2\pi (f_c+f_m)t)-\alpha A \sin(2\pi (f_c-f_m)t)$$ I have studied the procedure of h...
I got the frequency spectrum of a grayscale image using img_shft = fftshift(img_fft); final_spectrum = im2uint8(mat2gray(log(abs(img_shft)+1))); imagesc(final_spectrum); plot(final_spectrum); My output for imagesc is as below. What is represented by the axes? Are x-axis frequency and y-axis amplitude? This is my out...
I've recently came across two programs - Morphvox, VCSdiamond that are able to preform pitch shift, but also timbre shift. As far as I know the timbre is nothing but the amplitude of the harmonics in the signal. I'm looking for any algorithm or hopefully implementation in python that does exactly that. I've read a lot ...
I am currently working on a project of identifying the position and angle of the objects in an environment using sonar (audible) about 1 to 2 m away from a desktop speaker within an angular sector of 60 degrees using some very powerful PreSonus PM-2 microphones and a Behringer UMD404HD. This is in PyCharm with Python3....
Is there a family of windows which is "optimal" in terms of energy above/below a boundary, but with controllable ENBW/bandwidth? By optimal, I mean maximising energy concentration inside some bandwidth $B$ like: $$\frac{\int_{-B/2}^{B/2} \left|W[f]\right|^2 \, df }{ \int_{-\infty}^{\infty} \left|W[f]\right|^2 \, df}$$...
Could anyone please explain how to perform the derivation of the square-root MMSE equation using an extended channel matrix H (as it is said in the "A LOW COMPLEXITY SQUARE ROOT MMSE MIMO DECODER" article)? Thanks in advance.
I have written the following matlab code for producing a noisy image corrupted by Cauchy noise but when I compute the psnr value of the noisy image using psnr function in matlab, it returns a negative value while according to the paper that I have implemented its results, the psnr value for the cameraman test image of ...
How do you reconcile Scipy.signal's IIR design with CMSIS-DISP's API? Scipy.signal outputs in one of 3 forms: Numerator/denominator Pole Zero Second-Order-Sections. CMSIS requires an array of length a multiple of five. Each 5 values are coefficients b0, b1, b2, a1, and a2 for a filter state: "Coefficients b0, b1 and ...
I have been reading the guide from: JPEG Huffman Coding Tutorial I eventually reached the point where it states: Finally, we want to convert the DCT DC value to an RGB value. Assuming that the gain of the DCT transform is 4, we divide the values by 4 to get block1 = -128, block2 = +127. I have to admit, I do not un...
I have a multiple frequency estimation problem at hand according to the signal model $$ \boldsymbol{x} = \boldsymbol{A}(\boldsymbol{f}) \boldsymbol{s} + \boldsymbol{n} $$ where $\boldsymbol{x} \in \mathbb{C}^{N\times1}$ contains the observations, $\boldsymbol{A(f)} \in \mathbb{C}^{N\times p}$ represents $p$ complex ex...
I am trying to prove mathematically that the update step in a Kalman filter can not result in a increase in uncertainty. I found the following proof which is based on the inversion lemma and the concept of positive semidefiniteness, but I can't grasp why the matrix product in the end is positive semi-definite. Proof: T...
For communication signals, a Root Raised Cosine (RRC) filter is often used as the pulse shaping filter. What kind pulse shaping filters (prototypes or window functions or tapers) are used in radar waveform design to reduce range sidelobes?
I'm trying to compute the phase difference between two channels of a software-defined radio. I'm providing code for two different methods that I'm trying below. In both cases, I'm transmitting a pure tone from a radio placed a few meters away from both antennas. I expect that the phase difference should remain relative...
I start with a 2 Hz signal. The signal is sampled at a 4.167 Hz sample rate. See https://nyquist.foxping.com/ => "DFT Images 3 zeros.pdf" for images. The intent is to reconstruct the image on the top left side. I convert that sampled signal into frequencies via DFT: public Complex[] acplxConvertSignalToDft(double[] ...
I need to know of the applications that circular convolution is needed but FFT can not be used or FFT's convolution property fails.
I want to do speech enhancement with DNN on Matlab. I downloaded the TIMIT dataset from the internet as a .wav file. I also downloaded the noises from the Noisex-92 database as .m file. Now I need to add noise to clean speechs. But I don't know how to start the code. How do I add noise to clean speech? After this step ...
As part of a larger project, I've been attempting to implement a demodulator for RDS, a digital transmission standard in FM broadcasting, in software with C++. I've easily been able to get as far as obtaining the BPSK data stream, but I've been unable to figure out how to demodulate it into binary bits I can sync to. T...
Recently I used two measurement systems to record a quantity. I made sure both use the same sampling frequency. One system was recording continuously while the other one was operated to only record certain events. Now I am trying to use cross-correlation to synchronize the measurements between the two measurment system...
The situation I need to apply a high pass filter to an image. The approach I'm following uses Fourier transform to apply a circular filter which would eliminate low frequencies. Say I have a frequency threshold below which frequencies should be filtered out, i.e. cut-off frequency. The resulting spectogram shape of the...
In Wikipedia the definition of the Fourier transform is: "The Fourier transform of a function of time is a complex-valued function of frequency, whose magnitude (absolute value) represents the amount of that frequency present in the original function, and whose argument is the phase offset of the basic sinusoid in tha...
I read below that SNR and CNR are different and we have difference of post/pre modulation. In context of LTE which modulation do we refer to- Digital Data modulated using QAM/QPSK to IQ, or Baseband modulation to Passband/RF? https://www.rfwireless-world.com/Terminology/Carrier_to_Noise_Ratio_versus_Signal_to_Noise_Rat...
I have derived the circular convolution property for an affine Fractional Fourier Transform and I need to work on an application for my research. Any idea?
Having a "measured" vector $\mathbf{y}$ with its statistics (counts or variance per element), one can use weighted least squares approach to solve the linear system $$\mathbf{A}\mathbf{x} = \mathbf{y}$$ by minimizing $$(\mathbf{y} - \mathbf{A}\mathbf{x})^T{\rm diag}(\mathbf{c})(\mathbf{y} - \mathbf{A}\mathbf{x}),$$ whe...
I've been reading about this. To do this, you should use the ZMQ blocks instead of the UDP blocks because of data loss. Now when using ZMQ I have problems with the received signal, if I create a np array with values 1, 2, 3, etc.. The values that I see in the QT oscilloscope are in the range of 2e-42. I've been trying...
Let $h_1[n]$ and $h_2[n]$ be impulse responses of type I FIR linear-phase systems with lengths $M$ and $N$. What can be said about the phase response of the following filters? $h_3[n] = h_1[n] + h_2[n]$ $h_3[n] = h_1[n]h_2[n]$ $h_3[n] = h_1[n] \star h_2[n]$ My try: We can easily show that $$H_1(e^{j\omega}) = e^{-...
In Matlab, I simulated and graphed out the FFT of a signal composed of three pure sinusoids of distinct magnitudes and phases. Figuring out the scaling of the frequency axis is fairly straightforward - the number of bins in the frequency domain is equivalent to the sample size in the time domain. So bin #31 correspond...
I have the amplitude response of the LPF (here it is generated in Python): import numpy as np import matplotlib.pyplot as plt R = 1e3 C = 400e-9 omega = np.linspace(0,100e3, 100001) AFR = 2/(4+(R*omega*C)**2) plt.plot(omega, AFR) and the shape of desired signal I'd like to pass through it: amp = 1 t = np.arange(0...
Start with a 2 Hz signal. The signal is sampled at a 4.167 Hz sample rate. The intent is to reconstruct a sampled signal (top right side) to be identical to the original signal (top left side). Insert 200 zeros between the max frequency in the middle of the frequency spectrum (middle right side image). Then use Inver...
I've been working on my linear code assignment in my coding theory course and I have encountered a problem I would like to get help with. the question is described below. I will try to expalin what I have done so far. I know Ci has to be a linear code because the codewords in it are taken from C which is linear. I also...
For a rectangular window defined as, the frequency spectrum equation and magnitude (or pseudo-magnitude) plot are, However, when I apply Scilab's fft() function or the definition of DFT definition to w[n] I do not get anything like the image shown. Should not I be able to calculate the frequency spectrum of a rectang...
Following up from an answer by @Royi on adding weights to BPDN problem , I would like to use CVX to test this approach. How can we formulate in CVX the regularized LS L1 norm with weights given by a vector $c$, as follows: $$ \arg \min_{\boldsymbol{x}} \frac{1}{2} {\left\| A \boldsymbol{x} - \boldsymbol{y} \right\|}_...
So let me layout my question and the thought process on solving it. Say, we have some system, and we want to see how deterministic the system is. By that I mean, I mean if I put some signal (real valued) of a fix frequency 100 times, how constantantly I get the same output(I am interested in phase). Now lets say, I put...
I'm interested in composing filters for realtime audio processing on an microcontroller (MCU). Ideal frequency response is unity as a default, with deviations up and down at specific freq-domain pointers according scalers, and some type of smooth transition between these points. This is conceptually similar to an equal...
I want to make sure if I got this right, the following statement: if the operator enters a unity sloped linearly increasing input then the output must eventually track the input and be at most 0.1 cm away. does it imply that the operator signals a function $x(t)=at+b$ for $a=1$ as an input? Short summary: This is bas...
I'm trying to solve a problem about filter design. We want to design a equalizer filter which have the following frequency response : How can i get the difference equation from the impulse responce which is defined by: $$ \frac{2 f_1}{F_s} \left ( {\rm sinc}(2 \pi f_1 n T_s) (g_1-g_2) \right )+ \frac{2 f_2}{F_s} \left...
I have been trying to set up a GNU Radio flowgraph where I can implement a $2 \times 2$ MIMO system. don't know how to make spatial diversity using the blocks, also I am not sure which block components I need to use to make this happen. Is there any suggestion for this from you guys? It would be very much appreciated.
I try to implementation radix-2 DIT FFT algorithm in FPGA. However, I don't understand that how to set to bit growth for multiply and add process of twiddle factor and input data. For instance, my input data is 13 bit signed number with a fraction of 0 bit (sfix13_0) and my twiddle factor is 16 bit signed number fracti...
I'm currently learning about the Superheterodyne AM Receiver and I don't understand why does it use an envelope detector (as suggested here) rather than taking the signal back to its baseband frequency through a local oscillator. That seems more natural to me because it's already using one to take the signal to the int...
I read FDD has separate Rx and TX frequency to operate on, so it can work simultaneously and do Receive and Transmission. When I use Duplexer ( I read Duplexer needed if we want a single antenna to do both Rx and TX details here https://www.google.com/amp/www.techplayon.com/duplexer-used-advantages-disadvantages/amp/ ...
I am simulating OFDM by randomly selecting members of a constellation. That is, randomly selecting the I & Q from a 64QAM constellation. This gives me 64 possible phase & amplitude values. I am using a 64-point FFT and using FFTW for the numerical FFT/IFFT computations. My question is what to put in the zero-th element...
In the process of OFDM Signal generation. We take symbols (constellation symbols) and map it to a sub-carrier (real analog time domain) harmonics of 15khz, add different sub-carriers separated by 15khz gap (say SubCarrier are N), now we get our OFDM Signal and we can send it. To overcome this generation of Freq of mult...
Fast Bilateral Filter I came across the above code of the bilateral filter for grayscale images. I tried to implement it for color images by splitting the image ti BGR channels and applying it to each channel separately. But I didn't get the desired output. Could anybody help? import numpy as np from scipy import signa...
I have been reading quite a bit about FFTs and I understand quite well the following: radix 2 FFT, and its 'divide and conquer' advantage vs DFT, radix 4 FFT, and why it is better than radix 2 FFT (1 radix 4 needs an overall lower number of operations than 2 radix 2 FFTs), split radix 4/2 FFT: 'naively' it looks like ...
I am trying to reproduce mscohere function from Matlab. $$C_{xy}(f) = \frac{\left\lvert P_{xy}(f)\right\rvert^2}{P_{xx}(f)P_{yy}(f)}$$ This is inside Algorithm section in docs for mscohere: mscohere estimates the magnitude-squared coherence function using Welch’s overlapped averaged periodogram method. So I was think...
I was trying to apply FIR filter on the ECG signal: a bandstop for 45-55 Hz for noise removal and a highpass filter for moving baseline wander. But after that, the ECG signal show strange waveform at the beginning. Here is the processed signal in time domain: The related code is as follows. class FIRfilterDesign: def ...
I've been working with Allan variance for a while and I'm not really super excited about is purpose. I understand that noise time recordings, if they include flicker noise, diverge in time. In other words the standard deviation increases logarithmically, but why is this a problem? Modern computers can calculate the st ...
What do we expect by setting a too low measurement error in a Kalman Filter model, much lower than the noise existing in the measurements? And why? Let's say we simulate some measurements and we add some noise to them with variance $0.1$, but we set $Q$ to $0.001$. I have run some toy experiments with these values alre...
My goal is to warp a top-down fisheye view to end up with a flat square 'texture' that could be applied to a flat plane and would represent the 'real' floor eg a 1024x1024 texture would map to a 4 meter by 4 meter of floor in the room (ignore the other 'items'). Or even 2 meter by 2 meter around the center. In other wo...
I am trying to implement fast convolution between a signal and complex Morlet wavelets. To make the result equivalent to a linear convolution, I let the MATLAB fft function zero-pad both the signal and the wavelets up to a length of S + W - 1, where S is the length of the signal and W is the length of the wavelet (kern...
Normally, the SIMO system sum is applied on reception. For example for a Gaussian channel with $p \in [1,R]$ antennas we have: $$r_p(t)=s(t)+n_p(t)$$ with $n(t)$ the gaussian noise. $$s(t)=\sum_{k=1}^N a_kg(t-kT)$$ with $a_k$ the BPSK symbol, $N$ the symbol number and $g(t)$ the pulse shaping filter. After matched fil...
I am processing some audio files and I would like to find out the maximum frequency in the spectrum (fft) given a certain magnitude range (in may case: maximum magnitude to -60db). How can I achieve that? I know how to calculate the maximum frequency of an fft signal: peak_index = np.argmax(np.abs(fft)) peak_freq = fft...
Last time, I asked how to estimate the error of the frequency estimation (1) (I want to determine the error as in $f=0.92 \pm 0.013 \; Hz$). I'm analyzing a sample of a continuous signal that was sampled in discrete time. I was given equ. 1 as an answer to that question, and found a similar formula (but not the same) i...
I have the following homework question that confuses me: We have an audio emitter that can emit two signals: It either emits a sine wave at 23 kHz or it emits a sine wave at 25 kHz. The receiver has the following sampling frequencies available: 16 kHz, 32 kHz and 48 kHz. The question asks which is the best sampling fre...
I find quite a lot of information about radix-2, radix-4, split-radix, mixed-radix FFT. There are some mentions here and there that choosing a "base case" for the recursion that is larger than the length-2 FFT (in radix-2), or length-4, etc, can help performance quite a bit. But I have a hard time finding documentation...
So I was following the article Victor Podlozhnyuk (nVidia) - FFT Based 2D Convolution (Page 7). I have expanded the kernel to the correct way they have done it. However when it comes to the part on clamping to the edge its very confusing. I would love for someone to explain this as i require the image convolved as the ...
I'm constructing an ultrasonic communication system and I am struggling with the correct parameters for my receiver. In baseband, my channel input signal $x(t)$ has infinite bandwidth, since I use a rectangular pulse shape (which I have to because of technical constraints in the transmitter). However, since the spectru...
The time domain signal of Hilbert transform is: $$ h(t)=1/(\pi t) $$ Its frequency response is: $$ H(j\omega)=-j~\text{sign}(\omega) $$ So if I plot the phase according to the equation I obtain: import numpy as np from scipy.fft import fft, ifft, fftshift import matplotlib.pyplot as plt Tsym = 2 N = 128 dT = Tsym/N t...
I am trying to check whether the system given by the following input-output relation is LSI or not? $$y(t) = \cos(x(t)-x(0))$$ My work: The given relation: $$y(t) = \cos(x(t)-x(0))$$ If the input applied is $x(t-t_1)$ $$y'(t) = \cos(x(t-t_1)-x(0))$$ Substituting $t = t-t_1$ in the given relation: $$y(t-t_1) = \cos(x(t...
The signal received from an uplink communication is given by: $r(t)=\sum_{i=1}^{K}s_i(t) \ast h_i(t,\tau)+n(t)$ where $K$ is the number of users, $s_i(t)$ is the signal for the user $i$, $h_i(t,\tau)$ is the impulse response of the channel and $n(t)$ is the gaussian noise whose SNR for the simulation is: $SNR=20$ dB. T...
Whenever I zoom in on the spectrogram of a recording I made with my phone I see these strange dark dots, unfortunately I cannot try another phone. What is causing them? They seem randomly distributed and that makes me think about Poisson's noise or some other kind of physical phenomenon but I am waiting for somebody mo...
I don't know if this is the right place to ask this but lets go. I am a beginner in computer vision and I have a project of fruit recognition based on Kaggle's Fruit 360 dataset. I know that CNNs are the obvious choice but I wanted to try some classical approaches (and practice OpenCV in the process :) ). But I don't ...
When working with rolling shutter images, it is common that we want to know the timestamp of each row (for example for motion interpolation). Using $T$ as frame timestamp (mid-exposure, mid-row) $T_i$ as the timestamp of the mid-exposure of row $i$, $n_{rows}$ the total number of rows in the image, and $t_{line}$ the r...
I have a phase noise specification for a digital QPSK transmitter at 8GHz (symbol rate 50 Mbaud). From that specification I am able to compute the RMS jitter in radians (47 mrad or 934 fs using the tool at https://rf-tools.com/jitter/) Based on that, can we get to an equivalent EVM on the constellation? I would expect ...