instruction
stringlengths
31
27k
I'm having a lot of trouble wrapping my head around what the convolution of two identical rectangular pulses that go from amplitude +A to -A with period T looks like. Please see my drawing below. I know that when a pulse has amplitude 0 to A, the resulting convolution of two identical pulses is a triangular pulse from...
Let $x[n]$ be a periodic sequence with period $N$ and Fourier series representation $$x[n] = \sum _{k=<N>}a_ke^{jk\frac{2\pi}{N}n}$$ Determine the Fourier series coefficients for $$y[n] = \begin{cases} x[n], & \text{if $n$ is even} \\[2ex] 0, & \text{if $n$ is odd} \end{cases}$$ My try $N$ even We have $x[0], 0 , x...
I'm trying to find the inverse Fourier transform of two impulse functions, which correspond to the Fourier transform of the function $h(t)=A\sin(2πf_0t)$. The Fourier transform of the above sine function is as follows: $$H(f)=j \frac{A}{2} \delta\left(f+f_0\right)-j \frac{A}{2} \delta\left(f-f_0\right)$$ When I try to ...
So after I learned this two topic: quantization and sampling, I'm learning the way to look at both of them and try to optimize the split of a given amount of bit B to N and k, where N is the amount of samples and k is the size of the finite set of numbers can represent the values (quantization). There is one calculatio...
I want to normalize my data prior to a deep neural network model (DNN). It was recommended to me to use real mean square (RMS) normalization for audio, though I am not sure this is the best for a DNN. I am using MFCC features to represent the data. Is RMS a good method? If so, how do I choose a good RMS value to normal...
I'm trying to solve a problem on convolution from Alan V.Oppenheim: Find the convolution output $y[n]$ for the following signals: $$x[n]= u[n]\quad\text{and}\quad h[n]=a^{-n}u[-n-1], \ a>1 $$ I started the evaluation: $$y[n]=\sum_{k=-\infty}^{+\infty} u[k]a^{-n+k}u[-n+k-1]$$ considering that $u[k]=1$ for $k\ge0$ and $u...
My question is how to determine the parameters of a signal from a spectrogram statistically. The most important parameters that I am looking for are the lower and higher frequencies of the signal. I have hundreds of these audio clips and I would like to perform statistics on them to determine the bandwidth of the sig...
To use DFT/FFT (or maximum likelihood) method to estimate the frequency offset introduced by the channel, we need to remove the modulation on the received data samples in the front. If the unknown data samples belong to a QPSK constellation, how should this modulation removal be done?
I am trying to encode a bitstream as offset in a complex exponential, but when I do, the sinusoids get chopped off. Do I need to apply a lowpass to the bitstream or is there a more elegant way? bits_t bit; double t, cycle; double pi = 4 * atan(1.0); doubl x, y; double complex z; short ch[2]; int f = CARRIERFREQ; int fs...
I'm trying to solve a problem on convolution from Alan V.Oppenheim: Find the convolution output $y[n]$ for the following signals: $$x[n]= u[n]\quad\text{and}\quad h[n]=a^{n}u[-n-1], \ a>1 $$ I started the evaluation: $$y[n]=\sum_{k=-\infty}^{+\infty} u[k]a^{n-k}u[-n+k-1]$$ considering that $u[k]=1$ for $k\ge0$ and $u[-...
Is the multi-bit gold code resulted from a xor of two different multi-bit m-sequences will still maintain its statistical property (bounded correlation, distribution of 1 and 0) ?
I am in trouble with Viterbi decoder for a while. I have some questions. I need to decode messages from a continuous stream which is encoded. I'm reading from book : digital communications bernard sklar second edition and the Viterbi decoder including what's called stage "ADD-COMPARE-SELECT " and I didn't understand we...
What is $N$,N-point Discrete fourier transform? Is it different from 2D Fourier transform? and how to compute $N$, N-point Discrete Fourier Transform of a given laplacian filter kernel? say for a given filter {{0, 2, 0}, {1, -2, 1}, {0, 2, 0}}, where $N = 103$ and frequency and spatial indices ranges from -100 to 100, ...
I have a signal acquired at 40 MHz sampling rate, from an ultrasound transducer with center frequency of 5 MHz. The frequency spectrum is shown in attached images (whole spectrum and zoomed). There is ~400 KHz noise present in the whole spectrum (see red boxes). How can I filter this noise? It looks like a abs(sinc) mu...
Let $x(t)= 1$ for all values of $t$. The even and odd components of $x(t)$ are ____ , _____ respectively.
I am dealing with a problem with Wiener filter. Assume the original function is $s(t)$ with observation $x(t) = s(t) + n(t)$. And $s(t)$ and $n(t)$ are WSS (wide sense stationary) and they are independent. Now I want to find the filter to estimate $h(t) = \frac{d s(t)}{dt}$. The wiener filter involves finding the corre...
We send the data in bytes to the RS Encoder block. The RS Encoder block encodes the data with the Reed Solomon (225,223) code. It waits for 223 bytes and after this encode them to make a codeword of 255 bytes. What happens if I can send only 219 bytes instead of 223 bytes? Does the length of the virtual fill increase o...
I know that complex exponential functions are eigensignals to LTI systems. Do these include real exponential functions? E.g. $2^t, e^t, ...$ Thanks for the help!
Where does $1$ come from, like from $-N$ to $N$ is $2N$ so why is $2N+1$?
Reading about complex signals, I learn a phasor is composed of real and imaginary components as $e^{2\pi j \cdot \omega}$ and $e^{2\pi ⁻j \cdot \omega}$. Why is this? How can a signal be imaginary?
I am learning about the properties of the Fourier Series (FS), which is defined by: $$x(t) = \sum_{k=-\infty}^{\infty}c_{x}[k]e^{j2\pi kt/T}\tag{1}$$ where $$c_{x}[k] = \frac{1}{T}\int_{T}x(t)e^{-j2\pi kt/T}\,dt.\tag{2}$$ One of the properties of FS is the time integration property, which is that: $$\int_{-\infty}^{t}x...
Consider the next sum \begin{equation} \sum_{k = 0}^{N - 1}e^{-j\frac{2\pi}{N}k} \end{equation} Its geometric meaning is the sum of uniformly distributed vectors on the unit circle. Thus, we can say that the sum is zero. If we try to be more precise, then for the case of even N, we can single out pairs of opposite vect...
I need to simulate some channel effect to a buffer of MPSK signal. How to add a frequency offset to a buffer of baseband MPSK signal?
I am trying to understand the first order Taylor series expansion when deriving the math behind mean shift tracking. Given the Battacharya coefficient between the target descriptor and candidate descriptor $\rho[\textbf{p}(y),\textbf{q}]$, how does $$\rho[\textbf{p}(y),\textbf{q}] \approx \frac{1}{2}\sum_m\sqrt{p_m(y_0...
I have this question : I should now calculate power of y[n], where the formula well in the power's formula N which constant goes to infinity how could this be ? i see in the question that N=7 which is constant,then should N or KN go to infinity ?
I want to apply the FastICA algorithm on a certain dataset. I believe the sources the Fast ICA can recover are able to explain other data as well (in similar way to factor analysis). However, I also believe the mean of the data contain valuable information. I was wondering if, after the prewhitening which removes the m...
How do I choose $\mu$ - a value of a step size for adaptation in a decision feedback equalizer (DFE) with adaptive reference control (ARC)? For a regular adaptive FIR filter an adaptation step depends on a variance of input, but DFE gets symbol values as input. Another problem is that DFE employs a sign-error LMS adapt...
it's my first time processing spectra from a black body radiation experiment, I'm using Python and having some troubles... I have this spectra with 2 peaks and uneven background noise which I want to normalize, I tried using specutils 1.1 "continuum-fitting" (documentation here: https://specutils.readthedocs.io/en/stab...
I had CDMA composite signal with 3 users. I assume that the signals are linearly sum together so for my maximum and minimum amplitude of composite signal are +3 and -3 respectively. Reference: import pylab as plt import numpy as np from numpy import fft def cconv(x, y): """Calculate the circular convolution of 1-...
How can the linear convolution be defined rigorously for two discrete signals $x = [x(0), …, x(N_x-1)]$ and $h = [h(0), …, h(N_h-1)]$ of different finite lengths $N_x$ and $N_h$ respectively? Let's assume for simplicity that $N_x = 3$ and $N_h = 2$, i.e. $x = [x(0), x(1), x(2)]$ and $h = [h(0), h(1)]$. Does the sum go ...
I'm trying to wrap my head around how to generate sine-waves out of a DAC near the Nyquist frequency (or determining how close I can get for reliable results). So if I want to generate a 499 Hz sine wave using a 1 kSPS DAC, I will calculate each sample: $$y(t) = \sin(2 \pi 499 \ t) $$ Converting this to discrete time: ...
I have to compute the cross-correlation between two transient signals, which could be decomposed into a trend (with non-zero mean value) + noise. In particular I am interested in the max of the cross-correlation. It seems that in MATLAB the cross-correlation is more accurate if it is calculated using the function xcov...
I am not familiar with raw IQ wave files. For tetra-1 signal, the bit rate is $36$ k bps (or $18$ k as the symbol rate). If the Fs saved in the .wav file is $48000$ Hz, what should be the SPS (sample per symbol)? Remember that if SPS is 4 for QPSK, then both I&Q components need to be upsampled by $4$. In this case, sho...
I'm working on using an FFT for frequency correction of a generic modulation signal. My algorithm basically attempts to balance the energy in the positive and negative frequencies of the FFT to be equal. One thing I'm wondering is if I have an inherent bias. Noting the following ordering returned by the bins of the FFT...
I have a high pass IIR filter with numerator b = [0.997688673703782,-1.995377347407564,0.997688673703782]; and denominator a = [1,-1.995372005171182,0.995382689643947]; the frequency response seems ok with fvtool(b, a). However, the response changes a lot after the coefficients are converted to fixed point numbers by...
I want to create some custom filters in Matlab filterDesigner tool and then apply those filters to a large set of audio files. I want to use python to do the application of the filters to the audios. I created a Butterworth filter in Matlab and exported it as an ASCII file. In there I get two datas. SOS Matrix and Scal...
I created a equiripple FIR filter in Matlab using filterDesigner and exported it to an ASCII file. The file contains the numerator values as a list of 51 numbers tagged under Numerator: (this is all the data the file has) Now I read this 51 values into a python array named num and try to recreate the filter in python u...
I'm reading a paper -- Common Randomness in Information Theory and Cryptograph-secret. And I do have trouble in understanding formula (2.6): $$ \frac {1}{n} H(K)> H-\epsilon \tag{2.6}\label{2.6}, $$ with $\epsilon>0$ some arbitrary number larger than the probability that two $K$ and $L$ aren't the same and $H$ being c...
I want to get frequencies from amplitudes and I'm following Chap 5.1.1 from Speech Signal Processing by Praat As the in pictures, I will multiply the signal $s(t)$ with the Hanning window $w(t)$, find its normalized autocorrelation $r_a(\tau)$, and divide by $r_w(\tau)$, which is the normalized autocorrelation of $w(t...
There is a nice paper on explaining DFT from the 1960s in IEEE A guided tour of the fast Fourier transform. The author uses the following definitions of DFT DFT $$ X(j)=\sum_{k=0}^{N-1} x(k) \exp \left(-i 2 \pi\left(\frac{j}{N}\right) k\right) $$ Inverse $$ x(k)=\frac{1}{N} \sum_{j=0}^{N-1} X(j) \exp \left(i 2 \pi\left...
I was reading a research paper on companding schemes for non uniform quantisation. In paper one of the motivations for non-uniform quantisation is that distortion at larger amplitude values is less audible than distortion in lower amplitude values but I can find why this happens?
If Laplace transform is expressed as : $$\int_{-\infty}^{+\infty} h(t)e^{-st}dt $$ with : $$s = \sigma + j\omega$$ and $h(t)$ an impulse response expressed as : $$h(t) = Ae^{-\sigma_0t}\cos(\omega_0t+\phi) = e^{-\sigma_0t}\cos(\omega_0t)$$ ($A=1$ and $\phi = 0$ for simplification, $h(t)=0$ if $t<0$) Then, each vertical...
I have a numpy binary masked image that looks like the following: I want to automatically crop this image like the following: Can I achieve this using some sort of image processing rather than building a bounding box regressor? The method should also work if the image is horizontally flipped. I am currently using th ...
In the definitions of the DFT DFT $$ X(j)=\sum_{k=0}^{N-1} x(k) \exp \left(-i 2 \pi\left(\frac{j}{N}\right) k\right) $$ Let us say, if we have $10$ points, $N=10$, each sampled at $0.2$ seconds, why is the total time used for calculating the frequency resolution is equal to $$ \frac{1}{N\Delta t } $$ where $k$ will run...
I'm trying to understand concepts on Kalman Filters. Consider the overdetermined system $Ax=y$; $$\begin{bmatrix}1 \\ 1 \\ 1 \\1 \end{bmatrix} x = \begin{bmatrix} 3 \\ 5 \\ 4 \\ 8 \end{bmatrix}$$ Let $R$ be the errors in measurements $y$ and $P$ be the errors in the estimate of $\hat{x}$. Assume that the uncertainty in...
I understand that there are various techniques for spectral estimation of the signals. Methods such as parameteric(AR,ARMA etc.), non-parameteric( periodogram , welch etc..). But I fail to understand which one is used by spectrum analyzer. I am unable to relate the theoretical methods with spectrum analyzer. Can anyone...
I'm writing a tool that converts a dsdiff audio file (dsd64) into a flac audio file (DSM -> PCM). The project is both a programming exercise and a signal processing exercise; I'm learning a lot from it. Currently, I'm doing the following to compute a sample in the PCM stream Select a window of the DSM sequence that co...
***Still need help in 2021 - not fully clear still on Jan 20th *** I am confused about the relation between Sinc and Rectangle transform pair and how that relates the Bandwidth of Pulses, Bandwidth of Zero-ISI Filter and the Symbol Rate. Using : $T_s$ = Symbol Time Period $R_s$ = Symbol Rate $Sinc(t/T_s)$ Logic of Ba...
The "N" is DFT is understood to be the number of data points in a given sequence or in other words the length of the sequence. We recently have had discussions here Indexing in DFT (from an old paper) and someone's old question How do I measure the time duration of a finite-length discrete sequence?. One of the popular...
I need to find the average and the power of this signal: $$x(n)=\sum_{k=1}^{\infty}2^{-k}e^{j2{\pi}kn}$$ The problem is that the summation starts at 1 and not at 0, and a part of that how can I find the average of a signal expressed in this way?
Transfer function pole on the Imaginary axis indicates that the system is marginally stable which in time domain can be represented as a sinusoidal motion with constant amplitude and frequency of the Imaginary axis pole. In some applications, oscillations with small amplitude might be acceptable. Is amplitude of oscil...
How can I find the coefficient of the vector $\mathbf y$? And how can the inner product be done on these vectors? Let $\mathbf y = \begin{bmatrix}1\\2\\0\\1\end{bmatrix}$ What are the expansion coefficients of $\mathbf y$ in the basis $\left\{\mathbf v^{(0)}, \mathbf v^{(1)}, \mathbf v^{(2)}, \mathbf v^{(3)}\right\}$ ...
I'm new here. I want to try streaming audio using arduino. I have: arduino Radio module nrf24l01 Computer Matlab program, arduinoIDE I want to use a computer microphone, step by step ADC of the computer. But here's how to learn how to form sendings from this signal so that it can be sent through the arduino to the ra...
If we have a system with an impulse defined as: $$h(t)=u(t)-u(t-2)$$ Then the Laplace Transform of h(t) would be the transfer function: $$H(s)=\frac{1}{s}-\frac{e^{-2s}}{s}, \quad Re(s)>0$$ We also know that a stable system must have a RoC region that passes through the imaginary axis. In our case for $h(t)$, $\textrm{...
According to this question and answer the following system cannot be adequately captured by a z-transform transfer function. $$y[n] = y[n-1] + F_{\psi}(y[n-1)) + F_{\phi}(x[n-1])$$ where $F_{\alpha}(z)$ is a first order high pass filter of the form $$F_{\alpha}(z) = \frac{\alpha (1 -z^{-1})}{1-\alpha z^{-1}} $$ The ans...
Hello I need some help with this question. $$[] = _1[ − _1] + _2[− _2] + _1 [− _3]$$ Set $a_1, a_2$, and $b_1$ to any positive or negative real numbers of your choice. Set $k_1, k_2$, and $k_3$ to any positive integer numbers of your choice ($k_1$ can be zero). Present this equation with the numbers you have chosen. Pr...
I'm not sure how to approach this exercise. One idea is to derive it w.r.t z, show that there is a min-extremum at $z=f_k$ and then show that for each value from the right and the left of the loss function it is positive which will prove that it is convex. I never worked with Dirichlet functions, I'm not sure how s...
I am translating my FIR filter script from python to C++. My problem is that I am following a workflow which in theory should work but I get weird results. 1st. I create a signal from 1 and 50 Hz sine waves: The sampling frequency is 2KHz. import numpy as np import matplotlib.pylab as plt fs = 2000 t = 10 f1 = 1 #Hz f2...
I have a sparse dataset indexed by nanoseconds. Storing the dataset in a discrete fashion would take too much memory. I'd like to take a wavelet transform and I'd like it to be relatively fast. The dataset has about 100,000 dirac deltas in it. Is this possible? Thanks! James
Poles and the impulse response If our impulse response is in the form : $$h(t) = e^{-\sigma_0 t}\cos(\omega_0 t) \, u(t)$$ (where $u(t)$ is the unit step function) And its Laplace transform is : $$H(s) = \frac{N(s)}{D(s)} = \int_{0}^{+\infty} h(t)e^{-st}dt$$ $$s = \sigma + j\omega$$ Poles are values of $s$ so that $$D(...
I have a question. Why a chirp signal has the Fresnel ripples in slobes? I thought it has the equal amount of frequencies from lowerband to high band, so we should see the flat magnitude. Is that related to the chirp signal is the finite in time? I heard the complex chirp has the flat magnitude but what's the complex c...
Let $$\phi(t) = A\cos(\omega_c t + km(t)) \tag{1}$$ be an angle-modulated wave(FM or PM). What's the power of $\phi(t)$? Intuitively, it seems that the answer is $$P = \frac{A^2}{2} \tag{2}$$ since the amplitude $A$ remains constant but I couldn't prove that using the definition which gives $$\lim_{T \to +\infty} \frac...
In the book Modern Digital and Analog Communication Systems by B. P Lathi, there is a section for the estimation of WBFM bandwidth. First, the staircase approximation of $m(t)$ is constructed by the pulses of width $1/2B$. $$\hat{m}(t) = \sum_{k=-\infty}^{+\infty}m(t_k)\Pi(2B(t-t_k))$$ It's stated that FM signal corres...
I have an several images that look like the following: I would like to separate the skin from the trousers here without specifically training a segmentation model. Can anyone suggest any such algorithm that can potentially achieve this task? Also a dummy example that can demonstrate this would be great. Thank you
The given stochastic $y[n]$ is composed of two signals, $s[n]$ which is the desired signal, and $\epsilon[n]$ is the noise which is a zero-mean weak-sense stationary signal. The desired signal is a sinusoid function with unknown amplitude and the initial phase is also a stochastic variable distributed according to a re...
I want to design a second order digital all pass filter with the transfer function given by $$H(z)=\frac{a_2 +a_1 z^{-1}+z^{-2}}{1+a_1 z^{-1}+a_2 z^{-2}}$$ The input to this filter has frequencies ranging from $1$ to $8\ \rm kHz$. The sampling frequency is $20\ \rm kHz$. How to design the filter coefficients $a_1, a_2...
I have a multivariate time series and I’m trying to figure out the cross spectral density of all pairs of variables efficiently. I’m unsure of how to implement Welch’s method in this context. Do I calculate the PSD of each series individually using Welch and then use those to compute the cross-spectral density or do I ...
The sampling rate says that one Hz can carry at least 2 samples, and the bit rate is obtained by multiplying the sampling rate by the number of bits per sample. Thus, many samples and many bits can be contained in one Hz. Shannon, on the other hand, says that the maximum bit rate that can be transmitted over a chann...
Context : A static camera captures video footage of a still indoor environment at given framerate (1080p@30fps or 720p@60fps) A low power line laser projects a line shaped beam in the camera field of view. The laser line reflects on the objects of the scene, with different lighting settings The laser line is set horiz...
I am trying to figure out a direction for my research. I need to find random repetitive patterns between two signals and on each individual signal. I have read about FFT and time series-motif discovery(matrix profiles). Is there a concrete way (maybe using machine learning or some regret reward methods) to find "Unknow...
So this is a relatively complex question I’m sure, as I have no idea what I’m getting myself into here. The gist of the project I would like to undertake is that I want to turn an old AIO PC (computer built into a monitor) into a multi-fx processor. I plan on loading Windows Server onto the machine to reduce the number...
Using Scipy signal in Python I want to obtain a transfer function for an input which passes first from sys1 and then sys2. So explicitly $$\text{input}{\longrightarrow}\boxed{\tt sys1}{\longrightarrow}\boxed{\tt sys2}{\longrightarrow}\text{output}$$ sys1 = signal.lti([a], [b, c]) sys1 = signal.lti([x], [y, z]) How ca...
I'm stuck in this question for more than 4 hours. (h is the sampling period) I simplified the block diagram but it just seems impossible to get the FOH transfer function from the reduced block diagram... Am I missing something? My try:
I am pretty much a begginer in matters of Image signal and to be honest, not that much versed into mathematics. I hope my question will not sound too naive. (sorry in advance) (Also if it has been answered already, please redirect me to the correct thread) Well my question is relating to JPEG quality in general. rephra...
I am wondering how and if it is possible to define a Fourier transform or Wavelet transform on DNA sequences which are basically arrays with the values $\{T,C,G,A\}$ in them. I have found a paper which uses a "Voss 4D binary indicator representation": Yin, C., Chen, Y. and Yau, S.S.T., 2014. A measure of DNA sequence ...
I'm trying to reproduce and extend figure 9 results in Nonlinear dynamical system identification from uncertain and indirect measurements"HU Voss, J Timmer, J Kurths - International Journal of Bifurcation and Chaos, Vol. 14, No. 6 (2004) 1905-1933. In this work, Voss et.al explains how to use unscented Kalaman filter f...
in the description of Reed-Solomon Decoder v9.0 p 20 ERR_CNT Element The ERR_CNT element gives the number of errors, erasures, and punctures that were corrected. The width of the element depends on the input parameters n and k. The width is equal to the number of binary bits required to represent (n-k). If n-k = 16, f...
Given $X(v)$ the Discrete Fourier transform of a discrete periodic signal $x(n)$, it's possible to arrive to the $c_k$ of the Fourier series $$x(n)=\sum_{k=0}^{n-1} c_k \exp(2\pi i k t) $$ directly?
I observe a noisy complex-valued signal that has passed through some linear time-invariant filter: $$y(t) = (h * x)(t) + n(t)$$ where $h(t)$ is a causal and finite impulse response, and $n(t)$ is additive Gaussian white noise, $n \sim \mathcal{CN}(0, \sigma^2)$. I also have a noisy approximation of the filter: $\hat{h}...
I generated a Hanning window having an even symmetry: where for even-sampled case we either take "left" and "right" to include or exclude the center sample. I was surprised to find its DFT has non-zero imaginary coefficients, i.e. non-zero phase, in both cases. I've also tried an odd symmetry case and ended up with no...
I have a collection of IIR filters (exponential decay at various decay rates). I'd like to compute all of them on a discrete time series efficiently. Is there a way to do this that is faster than $$O(\mbox{num_filters} \times \mbox{num_points})$$?
I am working on designing an FPGA-based PLL through an NI myRI0-1900 FPGA and LabVIEW software. I have been able to create a functioning PLL with a PI loop filter, and but I found functioning P and I coefficients through trial and error for a 1kHz signal, However, when I try to have my program compute the P and I coeff...
I've already asked 2 questions on this but there is one discrepancy I cannot reconcile and is the crux of the problem: \begin{align} \newcommand{\prefix}{\frac1N\sum\limits_{n=0}^{N-1}} R_l &= \prefix r[n]e^{-j2\pi \frac lN n}\\ &= \prefix\sum\limits_{i=0}^{N-1}X_i\, e^{j2\pi \frac iN n} \, e^{-j2\pi \frac lN n...
I am keen to know that If I have two signals say : Farend_signal (y[n]) and Nearend_signal (x[n]) and x[n] also contains an echo of y[n] with some delay. Is there any technique to align these two signals temporally is Spectrogram? For example, any correlation technique to find the temporal displacement between signals ...
I've stacked on solving this problem and can't find an answer in the web, so I decided to ask a question here. There are the problem: Preselector of boadcast receiver contains of one oscillation circuit, that has a bandwidth 8 kHz at LW range. Quality factor at SW range is 120. How will the selectivity of the receiver...
It is easy to define an (ideal) LTI system that would have an infinite number of poles - for instance, if the transfer function is $$ H(z)=\frac{1}{\cos(z)-1} $$ However, this would only define a countably infinite set of poles. I am curious: are there systems with uncountably infinite sets of poles? I would guess that...
I'm entering the world of signal processing, and as one of my first projects I've decided to plot a spectrogram and FFT Plot. The samples comes from an Atheros AR9271. More details can be found here: The AR9280 and later NICs have the ability to report FFT data from the baseband Currently, I have a small script, simila...
I'm currently implementing a discrete wavelet transform (DWT) as a cascaded QMF filter bank (pictured below). I've put together a convolution function that attempts to filter an input signal in a non-causal fashion. Essentially, the convolution mask is center around the output which means the output is a function of pr...
I am working on a project with QPSK modulation format and a RRC filtering at the transmitter (TX) side. The channel introduces a constant dropper shift ($f_d$) to the received signal. To make the channel ISI free, the same RRC filter is used on the receiver (RX) side. To remove this $f_d$, a practical ML frequency offs...
Downsampling reduces dimensionality of the features while losing some information. It saves computation. Upsampling brings back the resolution to the resolution of previous layer. My question is which is better or when to use which one?
What is the difference between implementation a Reed-Solomon code/encoder/decoder accorsing CCSDS standard and DVB? I am not sure that the differences are the lenght of a codewords and rate.
Say I have two minimum-phase filters: $$\frac{A(z)}{B(z)} \: \text{ and } \: \frac{C(z)}{D(z)}$$ That is, the roots of $A(z)$, $B(z)$, $C(z)$ and $D(z)$ are all in the stable region. If add them together: $$\frac{A(z)}{B(z)} + \frac{C(z)}{D(z)} = \frac{A(z)D(z) + C(z)B(z)}{B(z) D(z)}$$ The result is causal, and stable ...
I am basically new to the $z$-transform and there are some points regarding its square magnitude that I do not understand. Basically I do not understand how in slide 4 of PDF, they arrive at the following expression of $|H(z)|^2$: $$P(z)=|H(z)|^2=H(z)\ast H^*(1/z^*)$$ If we start with $$p(n)=h(n)\ast h(-n)$$ but direct...
I'm sure there's a simple explanation but I can't discover it. Consider two frequencies, a and b. a is higher than b. I can create a wave with both frequencies. But when I create a wave with frequency decreasing from a to b, the frequency decreases to even slower than frequency b. Consider the following MATLAB code. ti...
I am not exactly sure what nonnegative zero-phase response means. If a filter is zero-phase (i.e. symmetric and non-causal), then what does nonnegative imply? And what are the conditions to satisfy it? Context: This is an error I get in Matlab when trying to design min-phase filters: Error using firminphase>checknonneg...
In this paper that I'm reading, I see this equation: $$S_0 \star (S_0 * N) = N,$$ where $\star$ denotes cross-correlation, $*$ denotes convolution and $S_0 \star S_0 = \delta$. Is it true in general that $f \star (g*h) = (f \star g)*h$ and if not, why is it true here?
If I wanted to match the color of a shadow region to the color it is supposed to be in the lit region, would this, purely color information, be preserved in the hue of the HSV space of the image?
For example, given these 4 curves and I would like to compute a loss/difference between BER of BPSK and BER 8PSk in dB. How to do that? let say for BER 10^-2
I wanted to do formant analysis using MATLAB and did everything according to the following tutorial: https://de.mathworks.com/help/signal/ug/formant-estimation-with-lpc-coefficients.html I have speech signals with a sampling frequency of 44.1kHz, therefore I changed the order of the LPC estimation to 46. But I have the...
In a SIMO system with a DBPSK modulation, the reception is given by $$\sum_{p=1}^{N}y_p [n]=z[n]$$ with $y_p[n]=r_p^{\ast}[n-1]r_p[n],\ r_p[n]=x[n]h_p[n]+w_p[n]$, where $N$ is the number of antennas, $h_p$ the channel impulse response for the $p^e$ antenna and $w_p[n]$ the noise for the $p^e$ antenna. After we have the...