instruction
stringlengths
31
27k
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...
I am programming the simplest way of implementing and IIR filter. However, I am struggling with the use of buffers. Do any of you have any simple implementation of an IIR filter implementing manually the convolution? I would like to have something simple, implemented on a function or something like that on C/C++. thank...
Hi :) I'm not sure this is the right place to ask this question, but I'll try anyway: Here are two well-known facts, and I don't understand how they work together: Males usually have deeper voices than females because they have longer vocal folds. Short and relaxed vocal folds produce a deep voice, long and tense voc...
I would like to compare 2 generic images, with same sizes and normalized values. Which metric would be better than the baseline Eucledian distance?
For example, in a PSK modulation. I saw that to plot the BER curves as a function of the noise, we never took into account the pulse shaping filter. More precisely, the signal is not filtered by the pulse shaping filter. In practice, it is necessary to filter the signal to have a limited bandwidth. Why then is the puls...
I am implementing EQ lines in my filter. I need to do biquad with slope 24 db/oct, 36/oct and bigger so I would like to cascade several biquads. I am stuck with calculating frequency response of two biquads - now I am able to calculate magnitude and phase and draw one curve (peak filter). Should I multiply this respons...
so i have this lab in coursera course, well i tried first at Linux terminal at the first command %matplotlib inline, it doesn't work : ( bash: fg :%matplotlib no such job ), even if I apply it like matplotlib inline or matplotlib also doesn't work, I know those lines like IN[19] show when you write ipython in the term...
I have two datasets $X_1$ and $X_2$ in a sparse wavelet basis, and I have two filters $f_1$ and $f_2$. I’d like to compute the inner product of the convolutions $$\langle X_1 \star f_1, X_2 \star f_2\rangle$$ in the sparse wavelet basis. How do I this? Thanks! James
I just want to check that my understanding about the following paragraph from Optical Filter Design and Analysis by Christi K. Madsen, Jian H. Zhao is correct: A filter’s magnitude response is equal to the modulus of its transfer function, $|H(z)|$, evaluated at $z = e^{j\omega}$. Based on the pole/zero representatio...
Suppose I have an IIR filter in the $z$-domain in the following form: $$ H\left(z\right)=\frac{1}{1-0.2z^{-1}-0.1z^{-2}} $$ How do I represent this in MATLAB? I am pretty sure if I just listed the coefficients as H = [1 -0.2 -0.1]; this would be considered wrong. Can somebody help me with this please?
Let's say we want to transmit a sequence of numbers Using PAM, this sequence is transmitted with the signal $s(t)$ The pulses in $s(t)$ are transmitted at a rate $R_p=\frac{1}{T_p}$. This is called the "pulse rate" or the "symbol rate". We want $T_p$ to be short, to transmit information faster. However, this increases ...
Firstly hello all, I need help about periodic signals. I have a question as below. $x(t)$ is a periodic signal and $0.1t^3[u(t) - u(t - 7)]$ describes its one period. What is the value of $x(t)$ at time $t = 317$? Hint: Determine one period of the signal and find its values. How can we solve this in MATLAB ? I tried ...
I have defined the following linear phase filter of order 4 (real and symmetric) in matlab: h_d = [0.8367 -1.537 1 -1.537 0.8367] I calculate the frequency response (for many points) and then I use firls function (which is supposed to give the least-squares solution) to find a linear phase FIR filter (5 taps) that matc...
Delta modulation encodes the difference between a sample and the previous sample in only one bit. Differential PCM encodes the difference between a sample and its predicted value. Is this difference encoded in one bit or more than one bit? If encoding is done in more than one bit, what is the advantage of differential ...
As per my current understanding we use IQ sampling as way to increase the useful bandwidth to Fs rather than $F_s/2$ when viewing the FFT because the IQ sampling removes the negative frequencies and the entire $0-F_s$ band contains useful frequencies and not images of first half spectrum. My questions are: Is there an...
I have many defined functions as below and trying to simplify it with MATLAB simplify() function $g(t) = 14.9je^{j31°} e^{j2t} - 14.9je^{-j31°} e^{-j2t}$ How can we simplify these kind of functions using MATLAB? Thank you.
I understand that approximate and detail coefficient represent the different signal bands. But what do the values mean and how are they used?
I was trying to analyse the lossy compression of MP3 audio files through their Spectrograms and the results were something like this (where the upper is 80Kbps and lower is 128Kbps). It is obvious that the compression works by deleting higher frequencies from the audio. This is visible from the Spectrogram itself so I...
I got ValueError: operands could not be broadcast together with shapes (194,259,3) (600,800,3) with the below code: import numpy import math import cv2 original = cv2.imread("original.png") contrast = cv2.imread("compressed.png",1) def psnr(img1, img2): mse = numpy.mean( (img1 - img2) ** 2 ) if mse == 0: ...
Could anybody explain what is meant by the following statement on page 50 of Oppenheim and Schafer's book Discrete-Time Signal Processing (third edition)? The eigenfunction property of complex exponentials depends on stability of the system, since at finite $n$, the transient response must have become zero, so that w...
Suppose I have a IIR filter represented by $$G_0\left(z\right)=\frac{1}{1-0.2z^{-1}-0.1z^{-2}}$$ I would like to use the LMS algorithm to model an FIR filter $G\left(z\right)$ of order $N = 15$ such that it would adaptively reach $ G_0\left(z\right)$ coefficients values So we know that $G_0$ can be represented by: num ...
This is the statement from the book: Eq. (129) only ensures that $y_t[n]$ will be bounded for all values of $n$. For example, this may include a case where $y_t[n]$ oscillates and hence never becomes small. Hence, it is not clear how one can conclude that the transient response must become increasingly smaller as $n\...
What would happen if I am using the maximum frequency as the sample rate for sampling a pure tone sine wave? For example, a $10\ \rm kHz$ sampling frequency for a $10\ \rm kHz$ monotone sine wave. What effect would aliasing produce at the output?
Been working on a FSK Modem in the last few weeks and have gotten it to work with 400bps, very reliable, atleast over a virtual audio cable, but it also works when playing a sound directly into a microphone. Now I've shifted my focus to other Modulation techniques that could be used, such as M-QAM (16, 64, 256) and was...
I have a pressure based Depth sensor. For reference, MS5837-02BA. All depth measurements I've been able to read are very accurate (±1cm) I tried experimenting to find out the speed of the body by differentiating the measured depth value. The measurements are taken at a 40ms time period. This is the time the sensor take...
Hi guys i have to find the fourier transform of the convolution: $$ sinc(t/2T)*\sum\limits_{n-\infty}^{+\infty} (-1)^{n}\delta(t - nT) $$ i was thinking of express the summatory as : $$\sum\limits_{n-\infty}^{+\infty} (-1)^{n}\delta(t - nT) = \mathrm{III}_{2T}(t) -\mathrm{III}_{T}(t-1)$$ so we have: $$ sinc(t/2T)*[\mat...
Shannon formula for channel capacity states that $$C=\log\left(1+\frac{S}{N}\right)$$ If this formula applied for baseband transmission only? Is it applied with passband transmission? Are there any changes in the formula with different types of modulation, for example, OFDM??
Let's say I have a causal 3-tap FIR filter: $$y[n] = ax[n] + bx[n-1] + cx[n-2]$$ Assuming I have access to all the data prior to filtering and generate a similar non-causal filter: $$y[n] = ax[n+1] + bx[n] + cx[n-1]$$ Would this new filter have the same frequency response but with different phase delay?
In the context of wideband receiver design, what are the advantages and disadvantages of Analog IQ sampling vs creating IQ digitally (with Hilbert transform)? Why do we use different ADCs to create independent IQ channels when we can use Hilbert Transform to create the Q channel and use only one ADC?
I would like to raise a mathematical question : Let's say we are been given : $$x(t) = \begin{cases} \cos(\pi t) & |t| \leq 0.5 \\ 0 & \textrm{otherwise} \end{cases}$$ If $x(t)$ goes through an LPF : $H(\omega) = \begin{cases} \pi - 0.5|\omega| & |\omega| \leq 1.5\pi\\ 0 & \textrm...
I have a basic question. The "well known" lowpass to bandpass transformation is $$ s \longmapsto \frac{\bar{s}^2 + \omega_1\omega_2}{\bar{s}(\omega_1 - \omega_2)}, $$ which gives a bandpass transfer function of $$ \frac{1}{s + 1} \longmapsto \frac{\bar{s}(\omega_1 - \omega_2)}{\bar{s}^2 + \bar{s}(\omega_1 - \omega_2) +...
Solve for minimum and maximum value of dct coefficient
In an example, an equation describing a causal LTI-system is $$ (D^2 + 5D + 6) y(t) = (D+1) x(t) $$ where $y(t) = y_{zs}(t) + y_{zi}(t)$ and the initial conditions are $y(0^-) = 2, \dot{y}(0^-) = 1$. $x(t) = e^{-4t}u(t)$ and we want to calculate $y(t)$. My teacher said in an example of a solution that because $x(t) = 0...
So the $H_1$ and $H_2$ frequency response estimators for SISO systems are defined according to: \begin{align} H_1 &= \frac{P_{yx}}{P_{xx}}\\ H_2 &= \frac{P_{yy}}{P_{xy}} \end{align} Where $\frac{A}{B}$ is an element-wise division of vectors $A$ and $B$. The $H_1$ estimator should be used when the noise is uncorrelated ...
White Gaussian noise has constant power spectral density $N_0/2$. I know that the area under the power spectral density curve between two points gives the power of the signal between these two points. If I want to know the power of a certain frequency in the signal (not in a range of frequencies), can we say that the ...
Find the minimum number of arithmetic operations required for 2D Filters I could not understand the question 6 of Quiz-1. What is the number of operations (Multiplications and additions) per sample in the case of separable filter kernels? How to calculate the number of arithmetic operations? Can anybody suggest how to...
I have a synthesized signal (the bottom of the following figure), which is the convolution of the input signal (at the top) and the objective function (in the middle). The intention is to retrieve the objective function from the convoluted signal, when the input signal is known. From practical point of view, it seems t...
How can we calculate the bandwidth of distinct signals like this? I guess the right answer is 90 - 10 = 80 Hz. But I have a hard time understanding why is this calculated in that way. I thought the bandwidth is calculated by the diversity of signals and since there aren't in-between frequencies like 11, 12... in the i...
In the article Analysis of the Performance of a Non-Coherent Large Scale SIMO System Based on M-DPSK Under Rician Fading Fig.1: I would like to know if we could invert the block of the sum with the symbol detection. That is to say, make a symbol detection on each antenna and after the sum where the bit $0$ is defined ...
I was told that in the FIR filter type I, the impulse response of a highpass filter $h_H[n] $can be obtained as follows, $$h_H[n] = \delta[n − m] − h_L[n]$$ where $h_L[n]$ is the impulse response of a lowpass filter, $\delta$ is a Dirac pulse (Dirac delta function), which delayed by an appropriate value of $m$. I've co...
I have tried everything. If you actually know how to solve this could you provide a hint? $$ e^{-2j\Omega}\frac{ \sin\left( \frac{7\Omega}{2}\right)}{ \sin\left( \frac{\Omega}{2} \right)}\star \frac{\sin\left( \frac{10 \Omega}{2} \right)}{\sin\left( \frac{\Omega}{2} \right) }$$ Ideally I would like to find the Fourier ...
I have the frequency response of two signals shown above. One is uncontaminated, and the other is the same signal contaminated by a multiplicative distortion with two poles and two zeros. I need to find/estimate the transfer function values of the contaminating filter in order to equalize the contamination. How do I a...
I am trying to design a type 3 FIR filter and generate its amplitude response from the function Hr_type3 (mentioned in Digital Signal Processing Using MATLAB by J. Proakis), but getting an Error : Unrecognized function or variable 'Hr_type3'. Can any one help me on this? I am trying to build a digital differentiator f...