instruction
stringlengths
31
27k
Suppose I have a vector $X = (x_1, x_2 , . . . ,x_n)$, $x_i$ is the maximum of $X$ and $x_k$ is the minimum. Is it possible to use k-means algorithm to cluster the values in vector $X$ into two cluster. First, the values which are near to maximum value and the other cluster includes the values which are near to minimum...
In the following figure we see an encoder and a decoder of a Delta Modulation System, which is a simple DPCM System with a 1-bit quantizer: We assume that signal $x(n)$ is known, that $\hat{x}(-1)=0$ and that there is not noise in the telecommunication channel. I want to define the predicted signal $\tilde{x}(n)$, the...
How are two signals multiplied? And how is it different from convolving two signals?? I have read the above question on dsp stack exchange and i also tried it in my matlab , code is as follow: clc clear all close all x=[2,4,1] p=[5,1,8] y1=x.*p % result of multiplicaton y2=conv(x,p) % result of convolution But Matla...
I have this block-diagram of Karplus-Strong basic algorithm. Where $$H_{d}(z) = \frac{1+z^{-1}}{2}$$ The problem occurs when I try to get the difference equation. As I can see from the diagram, that would be $$y(n) = x(n-N)+\frac{y(n)+y(n-1)}{2}$$ but I've found online this one(which I know how to implement in code, u...
I've been reading about Gabor filters, and there is a concept of scale. While I understand that Gabor features help in analyzing both the frequency and orientations of an image, what is the idea of scale? It appears that the original image is resized and then the filter is applied, for each scale. Some elaboration on ...
I am implementing MUSIC algorithm in Verilog, and I need to implement the blocks in following order $$\text{Input signal}{\longrightarrow}\text{Co-variance/Correlation matrix}{\longrightarrow}\text{EVD}{\longrightarrow}\text{Peak search}$$ But I am confused because some papers refer the second block as correlation and ...
I need to normalize some audio feature measurements I've done with the software Wolfram Mathematica. Coming from a non signal processing background, I have some difficulties understanding what several audio features are actually measuring and thus the range of values in which each measurement is expressed. I can't see...
The most upvoted answer to this question suggests to use a "conventional" filter in cascade with a matched filter to first remove out of band noise (with conventional filter) and then optimize signal to noise energy (with matched filter). Given a sampled signal where it is known that all relevant signal information is ...
Trying to decompose and reconstruct a signal using a to some extent self-made implementation of DWT for some reason fails. The result looks highpass filtered and/or shifted. I wanted to write the code in Python not using the PyWavelets package (except for getting the wavelet object). import numpy as np from scipy impor...
i had some question.i have do some some filtering FFT using a matlab program.but,i need to compared the original signal,noise signal,and filtering signal based on SNR.but i dont understand how to calculate the snr ratio.pls help me or give a suggestion method how to compare and analysis the signal.tq
Suppose I want to perform Spectral shaping on a signal, i.e, modify the gains in a band of frequencies. Would there be any difference if I do that using the following two methods? - Use a band pass filter to apply the gain in the band. Calculate the bin numbers corresponding to the band, and apply the gain in those b...
I am trying to solve a difference equation with initial conditions using Matlab's filter function: $$y[n]=\frac12y[n-1]+x[n],\qquad y[-1]=1\tag{1}$$ For $x[n]=6u[n]$, calculation of $y[n]$ by hand gives $$y[n]=\left[12-(6-y[-1]/2)\left(\frac12\right)^n\right]u[n]\tag{2}$$ However, the solution produced by filter is dif...
An FFT-based coarse frequency acquisition block is being tested in GNU Radio. The algorithm used can be found on the GOES satellite user manual and is summarized in the figure below. The algorithm works by: Carrier detection by absolute-law, square-law or fourth-power law. Square law detector involves squaring the I...
I want to segment the following signal (units are x: [px], y: [a.u.]) and need a good way to do so. I want to achieve the following: I am only interested in the two wide "plateaus" with maximum value (e.g. (1) from ~400px to ~800px and (2) from ~1300px to ~1800px). Ideally would like the solution to be parameterless. ...
Is it possible to represent an aperiodic signal using an array of N samples? I am confused about this because you obviously have to window a function in the time domain to sample it. Now what happens with aperiodic signals?
In signal processing, there is a time-frequency duality. Band-limited signals have infinite time duration and time-limited signals have infinite bandwidth. Where can I find a proof of this and is there some intuitive explanation for this? I am not sure if it has to do something with fouriers uncertainty principle?
I have a time series data. I have applied Empirical Mode Decomposition and obtained several IMFs. Now I need to apply a Hilbert Transform to the IMFs to get the instantaneous frequencies. I have found two papers explaining how to do that: this one, that says this: What Dr. Huang proposed for more accurately calculate t...
I have a four-channel audio signal from a microphone tetrahedral array. I wish to upsample it from 48 kHz to 240 kHz. Is there a preferred interpolation method for audio? Does cubic interpolation (or any other) have any advantages over linear for the specific case of audio? Assuming I am using cubic interpolation, do I...
What is the difference between frame error rate (FER) and symbol error rate (SER)? I know the difference between frame error rate (FER) and bit error rate (BER) from the website below https://www.quora.com/What-is-the-difference-between-frame-error-rate-FER-and-bit-error-rate-BER-in-LDPC-codes In this website,it said ...
Is the sinc function both absolutely summable (L1 norm for Continuous time signals and l1 norm for Discrete time signals) and square summable (L2 norm for Continuous time signals and l2 norm for Discrete time signals) ? Can anyone show the integration and summation calculations that calculates above norms ?
I am studying time domain analysis from book signals and systems labotary with matlab by alex palamides when i was studying convolution command topic on page 187, author discussed use of time step with convolution command as shown in attached photo Although comments and description written there but i couldn't u...
Multiplication in the time domain corresponds to convolution in the frequency domain: $$ f(t) \cdot x(t) \iff F(j \omega) * X( j \omega) \tag*{No scaling factor} $$ I know the fourier transform of the dirac comb is: $$ \mathcal{F} \big \{ \text{III}_{T_{s}} (t) \big \} = \omega_{s} \cdot \text{III}_{T_{s} } (j \om...
I wrote a script that detects objects, crops the part of the image where an object is located and tries to increase the quality of cropped image. The object detection runs tensorflow. To increase image quality I use the Google RAISR AI. It tries to increase the image's resolution by assuming "in-between-pixels" through...
I am trying to analytically design a bandstop Butterworth filter. I am trying to use: $$|H(s)|^2 = \frac{1}{1+\big(\frac{s}{j\omega_1}\big)^{2N}}+\frac{1}{1+\big(\frac{s}{j\omega_2}\big)^{-2N}}$$ to derive a transfer function. I would like to know if I'm correct and how to proceed from here.
I am new to computer vision and Fourier transform concept. I have examined some codes. In those codes, an image is performed Fast Fourier transform by using the function np.fft.fft2(). As a result of invoking this function, we get a two-dimensional array filled with complex values. What do these complex values refer t...
When I use scipy.signal.spectrogram to calculate the spectrogram, with FFT size 2048, hop length 512, it return a time array which start with 1024 and increase 512 each time. Why not it begins with 2048, I have set the FFT size 2048?
I'm looking for documentation on the wireless command link of the DJI OcuSync. I found this website (in Chinese). It seems like an OFDM link that uses Alamouti codes? I'm specifically interested in the receiver signal processing involved in synchronization of this link. Can anyone point me to useful papers or block dia...
This section is a bit of an intro. If you want to skip directly to where the problem is explicitly outlined, skip to the bottom of this post. Please note that I'm not hip with mathematical lingo, so the problem outline may contain terms and phrases I've coined to make sense of the problem to myself. Definitions are wi...
can we say there is no sound produced when the amplitude is 0? if yes what can we say when the amplitude is negative?
In many articles I see that the frequency resolution of the Discrete Fourier Transform (DFT) equals Fs/N where Fs is the sampling rate and N is the total number of samples. Fs/N is equivalent to 1/T where T is the total time the signal was sampled. So the longer the time of sampling took place the better the resolutio...
A real valued causal sequence $x1[n]$ exists with length of the sequence being $N$. Valid indices of x conform to $0 \le n \le N-1 $ The DFT of x[n] is: $$ X1[k] = \sum_{n=0}^{N-1} x1[n].e^{-j.2.\pi.k.n/N} $$ The normalized frequency spectrum exists from 0 to $2\pi$. This frequency spectrum contains discrete frequen...
I'm reading the various FFT algorithms and the input consists usually of real and imaginary parts. The real data can be for example an audio input and the imaginary part should be the same sized array filled with zeros. But the algorithm, for example the bit reverse part works also on the imaginary part, essentially mo...
I hope you can help me with this question. I am trying to calculate the fundamental frequency (to know the beats per minute) of a cardiac pulse signal using partial autocorrelation. I use a 12-bit ADC and taking 4096 samples at Fs=512 Hz. Heres what I'm trying: First I do an offset of -2048 to align the signal to 0 (si...
I have two images of a panoramic view but there is a small gap (<24 pixels) in the horizontal dimension between them. I would like to do interpolation/inpainting to fill the gap, but the exact size of the gap is unknown. Is there a way to estimate the best value for the gap? My first thought is to detect lines/curves i...
A resonant bandpass like this: is resonating at a frequency of 125 Hz. You are controlling the decay time by modulating $Q$ accordingly. The BP is being excited by a MIDI triggered impulse. At its resonant frequency it will decay at a natural rate of $ y= c^{-x}$, i.e. it will give a nice exponential decay. Is there a...
I am working in MATLAB with a frequency domain signal that is a sum of complex exponentials, e.g. $X(\omega) = \sum_i e^{-j\omega t_i} $ where $t_i > 0$ $ \forall $ $ i $ I expect the output to be a sum of delta functions, e.g. $x(t) = F^{-1}[X(\omega)] \approx \sum_i \delta(t_i)$ I have noticed that when the time b...
Let's assume we have an ideal discrete time Hilbert Trasnformation system (90-degree phase shifter) with a frequency response over one period: $$H(e^{jw}) = \left\{ \begin{array}{ll} -j & \mbox{if}\;\;\;\;\;\; 0 < w < \pi \\ \;\;j & \mbox{if}\;\; -\pi < w < 0 \end{array} \right.$$ I want to define an ideal frequ...
If i am not mistaken a rectangular window of length 10 gives us an array of 10x1: 1 1 1 1 1 1 1 1 1 1 And if we apply this to a signal we are left with exactly what we started with as: x = x*1 So how does a rectangular window improve or do anything at all to our signal? What is the point of the function?
I have a signal with frequency of 1000 Hz, and it consist of velocities of an hot-wire. The measurements are taken behind a cylinder as air is blown on the cylinder. When i process the signal of each of the cases (different start velocity) I get an extreme value at the start, just a single point. What is the best way t...
I don't understand why if I have a larger bandwidth I can transmit data faster. Is this linked with this property of fourier transform? thanks.
I'm starting to learn about OFDM QAM demapping, and a lot of documentation points to using "soft-output" algorithms that calculate Log-Likelihood Ratios (LLRs). Why is this method advantageous? My naive approach would be to just place a grid over the IQ map, and find which grid-square my symbol lands in.
I've been tasked with predicting the performance of our DSP code, for the obvious reasons (reduce time to market, add certainty in choosing chips, etc.) Consider a system composed of many subsystems with timing results $P_{i}$ (in seconds) (filters, gains, dynamics processing etc.) with a clockrate $C$ (seconds/sample)...
I can see, from my apartment, a cell tower. From what I have learned, in a time division duplex system the uplink and downlink communication are kept separate in time. Uplink from some time, then downlink, then uplink, and so on. I have also learned that during uplink all of the mobiles transmit simultaneously to the ...
My recorded signal x = s + v, where s = A*sin(ωt) and v = noise. SNR < 1 or ~ 1. So the sine wave is buried under a lot of noise. I need to compare the relative amplitudes of s for each recording window, so essentially track the ability of the system to receive the stimulus. The good news is that I know what I'm looki...
Why is binary polar signalling not feasible for a data rate of 2.0Mbps within a bandwidth not exceeding 1MHz? Is it due to the fact that binary signalling can only transfer 1 bit of data per symbol thus, a 1MHz bandwidth would not be large enough for the given data rate? Then a 4-PAM signal would carry 2 bits of infor...
As far as I know, the RGB to YCbCr conversion is just a linear transformation, yet the Y channel successfully captures the intensity value of each pixel. How? In other words, where do the following magic numbers come from? $$ \begin{align} E'_Y &= 0.299E'_R + 0.587E'_G + 0.114E'_B \\ E'_R - E'_Y &= 0.701E'_R - 0.587E'_...
I’m a student studying on vibration analysis & testing. I’ve performed low level sine sweep test of a simple rectangular PCB with clamped boundary conditions on two ends of it. That test was performed with an amplitude of 0.5 g (g=9.8m/s^2) and a frequency range was from 20 to 500Hz). From the accelerometer attached at...
I'm aware that the inverse $z$-transform can be evaluated using contour integration which leads to the use of Residue Theory as a corollary and I do know of the two definitions. My question is how does one lead to the other being used? It's been many years since I studied the two. Thanks.
I saw a code computing the error probability of QPSK, and I found that in this code the bit error rate is computed as symbol error rate divided by $2$. I think that $2$ is because the QPSK symbol consists of two bits. But why can the bit error rate be equal to the symbol error rate divided by the number of bits per sym...
I combined a chirp with a CDMA and I would like to know how to find the data rate. To begin, I spread the datas with the chirp and after I spread the previous signal with the PN code. My bandwidth is $B$, the PN length is $L$ and the chirp time is $T_u$. For me, the data rate (BPSK modulation) is $D=\frac {1}{(L/B)T_u}...
I'm struggling to understand how you would form an expression for the PSD of a 4-PAM signal which is using rectangular pulse shaping. I understand for binary the likelihood of +/1 is equal so the auto-correlation is trivial. What would the expression look like for 4-PAM? Thanks
I want to study Detailed explanation of hybrid systems?Which incorporate both continuous and discrete time signals & systems? for example In which a continuous-time input signal is transformed into a discrete-time output signal and vice versa. An analog to digital (A=D) converter is an example of a hybrid system. Where...
As part of an audio peaking filter calculation, I need to implement hyperbolic sine ("sinh") function in a fixed-point arithmetic (fixed-point DSP processor). What is the proper way to do this?
Folks, I'm reading this paper: User Adaptive QRS Detection Based on One Target Clustering and Correlation Coefficient, and have a question about notation. In describing peak-detection, they use the following notation: I understand this to mean something like for j=0 to 2: S(i-j) should be greater than S(i-j-1), and S(...
I tried to find the answer by my own but unfortunately I couldn't. Let's say I have the discret values of a signal which is 10s long. What is the FFT which is performed on a sliding window with time? What is the difference to the FFT, where I get the frequency spectrum of the signal?
I am trying to extract R peak from raw ECG data and some samples are seemed to be interfered by EMG. I used the lib provided by biosppy with python, biosppy.signal.ecg, it seems that the lib does, Default filter is firwin with filtfilt, mode is bandpass with 3-45Hz, the filter order is 0.3 * sample_rate, in my case, s...
This is probably a bad question but I'll ask anyway because I'm often confused by it. Many textbooks explain how the movement of $z$ around the unit circle can be broken up into a sine wave along the horizontal axis axis and a cosine wave on the vertical axis. Both of these waves are termed sinusoidal. So, if both of t...
I know that if a system is causal then the system function H(z) must have : a) a ROC that spans from the exterior of the most distant pole and b) the number of zeros must not be greater than the number of poles I have found this exercise: and the solution: Why the number of poles and zeros must be equal?
I would appreciate if someone could walk me through this derivation. I have a transfer function in the frequency domain, which has two poles $$\tilde{H}(\omega) = \Big(\frac{1}{1 + i \omega \tau_1}\Big)\Big(\frac{1}{1 + i \omega \tau_2}\Big)$$ For a single pole, the inverse Fourier transform is: $$\mathcal{F}^{-1}\Big\...
An OQPSK detector is being tested in GNU Radio. The architecture was obtained from Michael Rice's Digital Communications - A discrete-time approach. The flowgraph is shown below. The modulator architecture is basically QPSK delayed by half the sample rate, as shown below. In the flowgraph, the block oqpskIQMap maps th...
I want to compute the fundamental period of the following discrete time signal: $ x[n]= \exp^{(j\frac{2\pi}{3})n} + \exp^{(j\frac{3\pi}{4})n}$ I know I can do this by taking the fundamental periods of the first term $\exp^{(j\frac{2\pi}{3})n}$, $N_1=3$ and of the second term $\exp^{(j\frac{3\pi}{4})n}$ $N_2=8$ and taki...
I am studying about Fourier series from book"Signals and Systems Laboratory with MATLAB" I came across topic "Orthogonality of Complex Exponential Signals" I am confused in case when m=k, will the two signals still orthogonal in this case ?(highlighted yellow)
I have designed an FIR filter to have linear phase response using odd-symmetry design. The coefficients of this filter are {2,1,3,1,0,-1,-3,-1,-2}. I am now being asked to prove it has linear phase response. I don't think saying odd symmetry design is deemed a sufficient answer.
I've looked at this question, and I understand that SoX works way FFT of the noise, then subtracting that from the FFT audio, and then resynthesizing using FFT, but I don't quite understand how this differs from Audacity. I understand what FFT is, but I don't understand the rest of the explanation, and how it is differ...
Let's assume I send a root raised cosine pulse of 1ns at t=0 through a wireless channel. The power measured @ Receiver from t=0 is shown in image. Now from this image, I know that there are multipath components(due to spreading of signal power across time). I want to know that up to which time do I have to measure the...
We know that a convolution in the time domain equals a multiplication in the frequency domain. As per the article below, https://www.dspguide.com/ch9/3.htm In order to multiply one frequency signal by another, (in polar form) the magnitude components are multiplied by one another and the phase components are added...
I am currently looking at the STFT for Librosa. I was wondering how to understand the output of the STFT function, specifically what kind of frequencies the different values represent. Say I have a n_fft of 256, that means that the shape output of the STFT will be 129 (1+n_fft/2). I therefore understand that for each f...
Let's say I have a given discrete frequency response function H(w) and corresponding n frequencies as MATLAB arrays, ranging from 0 to 512 Hz. If I do an n-point FFT on a discrete time domain signal x(k), how do I filter this frequency domain signal with given FRF? Is it just element-wise multiplication of the FFT arr...
I'm converting a signal to a spectrogram, manipulating that (nonlinear stuff), and then want to use the modified audio signal. I can make it so the segments are not overlapping, but am unsure how to deal with the complex part of the signal. The manipulation I'm doing is increasing the value of the smaller values (but n...
I have implemented a QPSK Costa's loop in GNU Radio and run some BER benchmarking. All is going well. Out of curiosity, I'm trying to implement the Maximum Likelihood phase recovery shown below. For the Costa's loop, a loop bandwidth, which specifies gain constants for the loop filter (F(z)) and the integrator, of a...
I want to test the performance of AM, FM and DAB radio in RTL-SDR. I want to measure sensitivity, adjacent channel selectivity, cross-modulation/blocking, and third-order intermodulation to be some of the metrics. From the ETSI document for broadcast sound receivers, it is found that to conduct these performance tests,...
I have this two wavs. Same audible audio differente data. The audios are phone operator messages, so they are always the same. Wav:http://instaud.io/3Ezu Wav:http://instaud.io/3Ezw Using this formula I found here i get how similar they are: https://stackoverflow.com/questions/5847570/use-convolution-to-find-a-referen...
I have a system that delays the input with k samples and concatenates the new input with delayed one so that y = [x(n) x(n-k)] so if the input comes with n samples the output should be k+n samples. How to express that in a clear mathematical expression.
I'm new to Signal Analysis. I have a manually generated Signal from a Gyroscope, which looks like in the picture below and I need to extract the X-Values for each period. Is there some technique to automatically find the X-Axis Values, where the period of the Signal repeats? If not, how would one proceed to somehow fi...
My problem is pretty simple, I've designed a magnitude response and I would like to find the corresponding minimum phase filter. I'm using the code below and unless there is a bug my eyes don't want to see, I'm pretty confident on the methodology. nbTaps = 100; fs = 96000; desiredMagn_dB = [0 0 -100 -100]; f = [0 2400...
I have some stumbling block in my thesis writing. Do we use the same filter pair while implementing DWT filter bank with downsampling of the filter output, or filters do change also from level to level? Though on the Wiki page and in the book "Biosignal and Medical Image Processing, 3rd edition" by J. L. Semmlow and B....
I understand gray coding contributes to BER of QPSK, yet really don't understand why it brings improvement to SER. According to the relationship of SER and BER, it should be improved. Actually, when mapping the symbol to constellation points, the minimum distance between two different points remains the same, and that ...
I'm aware that the matched $z$ transform method maps between the continuous $s$ plane and the discrete/digital $z$ plane but my question is - when would this be necessary? Why would we need to convert between the two? Thanks
I have two images: $$ I_1 = w_{11}A + w_{12}B, \\ I_2 = w_{21}A + w_{22} \bar{B}. $$ $A$ and $B$ are unknown. $\bar{B}$ is ${B}$ rotated by 180 degree. For both images, $A$ has higher signal-to-noise ratio. What would be an effective way to extract $A$ out of these two images?
I am working on wireless sensors project and I am trying to simulate a transmission between two nodes. So let's say I have two nodes which transmit the message to each other, i.e. node 1 transmits to node 2 and then node 2 transmits to node 1. Let's say the message being transmitted is exactly the same and the differ...
I have seen some literature where the covariance is updated first, like $(P_k)^{-1} = (P_k^-)^{-1} + H^T R^{-1} H$, where $P^-$ is the a priori estimate of the state covariance $P$. Then, the updated covariance is used to calculate the Kalman gain $K$. And I have seen other literature where the Kalman gain is first cal...
Let's say I have an I/Q modulation, ie. QPSK. I can simulate an the effects of an AWGN channel by adding to my QPSK symbols the realizations of a complex normal. $\mathcal{CN}(0,\frac{1}{\mathrm{SNR}}) = \mathcal{N}(0,\frac{1}{2 \mathrm{SNR}}) + j \quad \mathcal{N}(0,\frac{1}{2 \mathrm{SNR}})$ with $\mathrm{SNR} = 10^\...
We are working on LTE Uplink CFO Correction for 3 MHz band. The time domain CFO correction is easy, which depends on the processing of 3840 samples step by step multiply by $\exp(-j 2\pi f_\text{offset}t)$. . What will be the equivalent frequency domain correction?
I have a task at hand where I need to detect angle of an image like the following sample (part of microchip photograph). The image does contain orthogonal features, but they could have different size, with different resolution/sharpness. Image will be slightly imperfect due to some optical distortion and aberrations. S...
I am doing an IFFT of frequency response data achieved with Simulation tools. When I plot my impulse response it looks wrong as the response does not tend to zero as it should. Instead there seems to be a rise in pressure towards the end of the signal. My script looks like this: close all; clear all; A = load('Pvalues...
I would like to produce a frequency spectrum plot like this: (from All About Circuits) I know that one can take the modulation frequency and multiply it by a given order and scale by the modulation depth to get a similar graph with infinitely sharp peaks, but I am interested in the fact that this spectrum shows some s...
Roughly speaking, the methods of power-spectra estimation can be divided in two categories : parametric and non-parametric. From what I understood, parametric methods assumes that the signal can be more or less modeled (with an AR model, or a behavior + noise model etc..) and try to use this to perform the estimation. ...
I am performing language classification from audio signals using mel-spectrograms as my inputs for a ResNet. It works well as long as all of my audio data from different languages is from the same dataset (therefore in the same format). When I train on language A from dataset 1, and validate on language A from dataset ...
I am working on sound processing android application project in which I have to input sound and remove noise as much as possible at run-time, somewhat like streaming. I am recording video at one place and play at a different place with very low latency. I tried using Chebyshev filter but found that it didn't work if I ...
I am trying to implement edge preserving diffusion. Recall the general diffusion equation to be: $$\DeclareMathOperator{\Div}{div}\delta_t u = \Div(g \nabla u)$$ Where $g$ is the speed of the diffusion process and $u$ is the image. Now if we want an edge preserving diffusion, we can use a non linear diffusion speed as ...
I'm a bit of a noob here, looking for a simple formula or just a table which can tell me the absolute minimum phase shift angle possible for different variations of QAM. Particularly QAM 16, 64, 256 and 1024. If the answer is zero (is it?), then what is the minimum phase shift possible in each case other than 0? Additi...
I am new to signal processing and just trying to understand what Baud rate really means. As I understand it, the baud rate speed is really the time that the processor takes when it is ON and when it is OFF. I attached an image as an example. For a slower baud rate, a 1 is represented by ON and voltage will stay ON a...
I am writing an example for how to perform sample rate conversion using windowed sinc and polyphase filters. Here is the C++ code as a github gist. So far, this works, and I think I have understood it correctly. But, at line 184, you can see something curious. If the downsampling factor is higher than the upsampling fa...
I have tried to read different articles but still confused in difference between continuous time Fourier transform and discrete time Fourier transform?
I'm trying to virtualize a camera from a panorama. That is, suppose I have a really big picture, for example: a soccer field. Then I want to simulate a camera that focuses on certain regions of the game. My initial idea was to use the essential matrix to carry out this task. Ideally, it would be simply to calculate a h...
If you have a uniform 3x3 box filter T which is: 1 1 1 1 1 1 1 1 1 And an 3x3 laplacian filter W which is: 1 -2 1 -2 4 -2 1 -2 1 Can these 2 filters be combined into one 5x5 filter, the order being first T and then W ? (The combination should be possible) And what is the math behind this combination. I can make a 5x5...
I am experimenting with the OpenCV-library in python. Let's say I read in an image such as: import cv2 import matplotlib.pyplot as plt import numpy as np img = cv2.imread('imgs/watermark_no_copy.jpg') This watermark_no_copy image should be part of some python-library. What I want to do now is to extract just the par...
If I have a stationary signal $x(t)$ with zero mean and with an auto correlation $r_{xx}(\tau)$, then what is the auto correlation of $y(t)=x(t)+b$ ? My calculations so far: $$\begin{align} r_{yy}(\tau) &= E\{ [x(t+\tau) + b] [x(t) + b] \} \\ &= E\{ x(t+\tau)x(t) + b x(t+\tau) + b x(t) + b^2 \} \\ &=r_{xx}(\tau) + b^2 ...
Can we use Fourier Transform for periodic signals or only we can use fourier series with periodic signals? I am asking this question because I read on page 301 of alex palamides as shown highlighted in attached photo
I am trying to create a small simulation where I would need to transmit a wireless signal from one wireless node to another and then transmit one more message back to node 1. Considering this is LR-WPAN device, the IEEE standard is 802.15.4 and signal supposed to be O-QPSK modulated. I use the in-built function which i...