instruction
stringlengths
31
27k
In image compression applications, I know that for an $8$-bit $0$ to $255$ level grayscale image the PSNR (peak signal to noise ratio) can be defined as: $$ \text{PSNR} = 10 \log_{10} \frac{\sum_{m,n} 255^2}{\sum_{m, n}|s(m,n)-\hat{s}(m,n)|^2} $$ where $s$ is the original 2D image and $\hat{s}$ is the reconstructed ima...
I need to detect the exact position of some kitchen tools using machine vision. I've the possibility to label the tools with a pattern, to make the detection (more specifically the image segmentation) easier. What is the easiest pattern to detect using machine vision? The pattern should be: Easy detect in presence of ...
I am currently trying to implement the MUSIC algorithm for a real dataset which captures a sound signal in a room using a cubic 8 sensor array setup. Every example I've found for the MUSIC algorithm talks about the steering matrix and calculates it using a set of DOAs which are, well, the actual DOAs that the algorithm...
This question came up in the context of the ssqueezepy library. As a basic experiment I did compute the synchrosqueezed wavelet transform of three basic signals: A sine of 440 Hz. A sine of 880 Hz. A signal that mixes (1) and (2). The result looks like this: Full reproduction code: here Basically the transform manag...
I am currently learning about the Fourier transform of digital images, but I am wondering about one aspect. In most visualisations of fourier transforms of images, a horizontal and a vertical line in the middle seem to be rather dense compared to the rest of the image. Below is an image of two pattern which, from my un...
I'm new in EEG signal classification. Studying the literature on this topic, I wonder why the EEG signals are divided in epochs, so, instead of classifying the whole signal all at once, we usually classify "windows" of signal, splitting the original one. I searched in the literature for a possible explanation, but I fi...
I know this is not a technical question, but wanted to get some opinion on how to get some hands-on experience on embedded DSP / real-time signal processing I am comfortable with DSP and wireless communications simulations in MATLAB /python and wanted to get into embedded DSP development and I'm not able to get any str...
I have a 22 kHz mono audio recording, which is mainly speech, a reading. I would like to upsample somehow to 44 kHz, to improve the audible quality. I have read about there are AI methods for upsampling pictures, even videos to a higher resolution. Maybe there is some similar methods for audio too. The recording comes ...
Hi I've been given a signal made of a series of cosines. I have taken the DFT of the signal using a rectangular window (blue), hamming window (red) and a Blackman window (black). I have identified two of the cosine components of the signal. I was wondering how can I use the dB magnitude to find the actual magnitude of...
I am doing an automatic music recognition project with a deep learning model. For my data preprocessing, I am trying to calculate the Constant Q Transform for Polyphonic 88-key piano audio using Python's Librosa library. However, I do not understand what I should set fmin, n_bins, bins_per_octave to in Librosa's CQT me...
I have a random image with 11x11 pixels. In the center of the image is a square of 5x5 pixels. The gray level of the background is 0 and the gray level of the square is 50. How can I compute the result of the magnitude of edges given by the compass operator for this image taking into account that the image is not noisy...
I am working on blind identification of the physical layer parameters of a particular protocol. Everything was going well until I got to the MIMO part. The system contains two transmitter antennas and two receiver antennas. I found that the WiMAX standard was very similar to the protocol I was considering, so I began t...
Let us say say we have a noised constant signal and want to evaluate the standard deviation (std) of the noise. We calculate the std of the said noised signal and call it $\sigma_1$. Now we process the signal, by interpolating it and stretching it on a larger area and obtain a signal with more samples, which contains t...
I am looking for methods/algorithms for signal spectrum shaping. Let's say we have a white Gaussian noise and want to have a desired power-spectral density. The first solution that comes to mind is filtering. I was wondering if there are any other techinques. I appreciate any hints.
I am dealing with signals that in both extreme cases can have: a) Non-overlapping monochromatic pulsation-like events at different points within a time series. b) Overlapping pulsations at multiple frequencies for the entirety of the signal Code to create these dummy signals is as follows: import numpy as np from scipy...
[An update is added at the end of the post after receiving first response] I have an algorithm which is very sensitive to phase shifts. It works with signal sampled at 40MHz (it's a neural network so actually the sampling rate is not very flexible) I have a data sampled at 21.818e6 MHz and I resample it to ~40 MHz by: ...
I have occasionally come upon the term "shrinkage", mostly in the context of denoising methods. My rough understanding is that it refers to the part where the real distribution might not be exactly like the theoretical one that's being modeled while still being relatively similar (e.g. mostly Gaussian with some outlier...
I want to ask why everywhere is used to do edge detection in spatial domain and not in frequency domain with FFT of image and apply HP filter. Thank you.
I am writing a Direction of Arrival (DOA) estimator using the MUSIC algorithm in python and am having trouble getting the correct spectrogram output. Specifically, my resulting graph comes out aliased as such: On the left is the SYNTHESIZED signal, using the same source azimuth and elevation as the real dataset. On the...
Consider a circular antenna array (UCA) with $N$ antenna elements as part of the CW bistatic radar system. For each element we receive a signal of length $L$: $x_n[k]$, $k=1...L$, $n = 1...N$. Оne of the antenna elements is directed towards the transmitter. Thus, we can find cross ambiguity functions (CAF) as cross-cor...
Consider the following system: $$y(t-1)=\int_{-\infty}^\infty x()u(-t) d $$ where $u(t)$ is the unit step function, which is zero for $t<0$ and equals $1$ for $t>0$. $(1)$ Is the system causal? Why or why not? I think if $u(t)=0$ for all $t<0$. This means that $u(τ−t)=0$ for all $τ<t$ or, equivalently, for all $t>τ$ a...
I implemented a sigal processing structure using very basic operation like multiply and add, I wonder is it possible to find a built-in function in matlab to treat this as a black box and obtain its frequency response. I imagine the process being: Feeding in windowed sinusoid with magnitude 1 at different frequency. G...
The system I want to build takes an analog video from two receivers (that are receiving from the same transmitter) and then combines the signals using equal gain combining (or maximal gain combining if a simple circuit exists to variably attenuator each signal). My question is, how is this method practically implemente...
I want to use the output values of the top_block as a way of directing my flowdiagram. So I want the flowdiagram to take one path if the output of my processing block is 0 and take a different path if it is non-zero. The if self.blocks_multiply_xx_0.out_sig != 0: statement is the condition I am having trouble with. I h...
I'm new in the ICA processing and I'm trying to understand the non-gaussian requirement. I read that the problem is that, if the composed data is $\mathbf{x}=\mathbf{As}$ with $\mathbf{A}$ (unknown) mixing matrix and $\mathbf{s}$ (unknown) original signals, then in ICA framework the components of $\mathbf{s}$ can not b...
Given a continuous LTI system with transfer function $$H(s)= -\frac{2s}{(s+6)(s+2)}$$ Plot the location of the pole(s) and zero(s) Find all possible regions of convergence From the problem above find the impulse response Here's my attempt The poles are $s_1=-6$ and $s_2=-2$ and the zero is $s_3=0$ The all possible ...
I'm working on simulating an uplink scenario in satellite communication. The goal is to send a preamble + data to the satellite from ground station. Data symbols have a bandwidth of $15\ \rm kHz$ and the preamble has a bandwidth of $180\ \rm kHz$. I'm simulating the transmitter, channel and receiver in MATLAB. I've a q...
Perhaps it is a basic question, but can anyone explain the difference between the spectra (or power spectral density) of white Gaussian noise and a Dirac delta? They are both constant over the whole frequency range, however there are is a clearly striking difference between these signals. Why do they have the same s...
I need to implement a State Variable Filter, like the one I've programmed in C++ (see code below) inside Matlab. I'm only having the recurrence relations for y and s at the moment. This is the State Variable Filter, taken from the book listed below as a source. 1 The recurrence equations are: yHP = (1. / (1. + 2. * mR...
Hi guys i'm studying signals and systems, and my professor ask us if this signal is linear or not $$y(t) = \big[x(t − 1)x(t + 1)\big]^{\frac 12}$$ the fact that is in the form of $x\cdot x$ told me that that's not linear but the square root confuses me can you explain to me if this is linear or not?
This is a cross posting from the crossvalidated stack exchange as I thought this may be a better forum to ask. I have a dataset consisting of respiratory time series signals of different lengths obtained from different groups of patients. I want to either classify or cluster the patients using these timeseries by using...
Consider the following first order linear system described by: $\tau \frac{d}{dt}y(t)=-y(t) + x(t)$. I have seen a discrete time approximation to this system using a "First Order Hold" approximation of the form: $y[k+1] = e^{-T/\tau} y[k] + [-e^{-T/\tau} + \tau/T(1-e^{-T/\tau})]x[k] + [1 - \tau/T(1-e^{-T/\tau})]x[k+1]$...
I have two signals on Matlab, one being input and the other output. I want to know if taking the cross correlation of these signals would give me the impulse response?And if so, will taking the Fourier transform of that resulting signal give me the frequency response?
Given a random signal, is there a method of finding if it was modified or if it contains noise if you don't know the original signal? E.g.: given a random image, can I find out if it was modified if I don't know the original?
According to the following reference: A Really Friendly Guide to Wavelets, © C. Valens, 1999 Equation 3, the wavelets are generated from the mother wavelet by scaling and translation. S is the scaling factor. The equation is divided by the square root of S for energy normalization across the different bands. I can not...
In a vibration measurement of a rotating blade, I have the following information. The vibration signal is measured using a ICP accelerometer which has the following specification Measurement range: 50g Sensitivity: 100 mV/g Thus max output voltage: ±5V Broadband resolution: 100*1e-6g The variance of the acquired sign...
I know this is a strange question as its hard to do in digital domain. I know it is a straight forward task if the signal is defined within N number of samples where I can go to Fourier transform multiplied by complex sinusoidal with inverse period of that fractional delay and then come back to time domain through IFFT...
I am in the process of implementing a Linkwitz-Riley filter of 16th order. (LR-16, 96dB/oct) I am using 2nd order SVF sections with three modal outputs on each section. (LP, BP, HP) I am looking to obtain a 16-pole LP signal and a corresponding 8-pole AP signal. The complementary 16-pole HP signal will be calculated by...
how do I find the group delay of multirate system.(sample rate converter) , IIR non-linear phase filter Say decimation by 2 (with lpf) = tf1(num,den) then again decimation by 2 (with lpf) = tf2(num,den) In total decimation by 4. i can do the inidividual stages gd1 = grpdelay(tf1,fvec,Fs) gd2 = grpdelay(tf2,fvec,Fs/2) b...
I'm working on a DVB-S2 Symbol Timing + Carrier Synchronizer with a focus on 16-APSK | 32-APSK modulation Scheme. I understand that the first section could be achieved using a Polyphase Clock Sync approach (i.e. as implemented in GNURadio), the second functions is usually done using a Costas loops (i.e. in the simple c...
In my system, I need to measure the amplitudes and phases of four lasers, each of a different, known wavelength, chopped at a 50% duty cycle via TTL at frequencies spaced evenly (or not) around some fundamental frequency f0. The lasers are attenuated by some analyte medium, and the resulting laser power (which is measu...
EDIT, 12/12/20: Images below are of the radial sinusoid pattern. Left side is the "unrotated" version. Right side is what the a photograph of the pattern would look like if the disc was rotated into the depth dimension, 45 degrees about the x/horizontal axis, and 20 degrees about the y/vertical axis. Note that the diam...
I have here a squared sinc function, which is the Fourier Transform of some triangular pulse: $$\mathrm H(f)= 2\mathrm A\mathrm T_\mathrm o \frac{\sin^2(2\pi f \mathrm T_\mathrm o)}{(2\pi f\mathrm T_\mathrm o)^2}$$ As an excercise, I would like to go back to the original time domain triangular pulse, using the inverse ...
There are multiple speakers. Each speaker generates multiple MFCC. If I'm getting two different MFCC, can we know if those MFCC came from 2 different speakers or same speaker ? How can we compare them and check this ?
I am trying to apply a filter to reduce noise in angular measurements. Since the data comes with noise, the filter needs to be able to handle measurements that are not smoothly progressing; for example, the filter should be able to work with a series like below: 2, 358, 3, 5, 10, 18 ... 304, 315, 330, 348, 9, 15 As yo...
I'll appreciate it if any of you guys could help me with this question: Suppose that x(t) is a real signal, prove that the magnitude of its Fourier transform has even symmetry and its phase has odd symmetry. Thanks.
I am trying to understand the statement in a relatively old publication from 1970s, when Fourier transforms found applications in chemical analysis. The author quotes the derivative theorem citing Bracewell of 1965 (I could not locate this exact statement in later edition of Bracewell). Edits: As discussed in the comme...
I want to ask for a good textbook or online material which explains in detail: -the time and frequency domain mathematics behind upsampling and downsampling. -easy to follow Note: Oppenheim's discrete-time signal processing book is hard to follow.
I am reading the paper "Algebraic Signal Processing Theory: Foundation and 1-D Time". In page one, the first paragraph of second column, I did not get why shift invariance forces the algebra $A$ to be commutative? Is it taking about a particular signal model $(A,M,\Phi)$ or it is considered a general case?
We already have DTFT so why do we need DFT? Please don't write DTFT is used for discrete, aperiodic signal which transfers in the frequency domain to periodic and continuous, but in DFT is discrete periodic transfer in discrete periodic, these things I already know.
I am working on a project that takes some features of audio signals and classify them with a neural network. However, the audio signals are added with their own echo with the environment. What would be some of the processing techniques that can be applied on the features, including chroma stft and Mfcc.
In order to detect a frequency component of 1 Hz with a DFT - do I need a signal window (signal in time domain) of at least 1 second length (in order to have at least 1 cycle of the desired minimal frequency I want to detect)? Or is it possible to evaluate the spectrum of low frequencies with short signal windows (in s...
We have a FPGA system which takes input from an ADC and calculates a FFT. The system identifies the location of our frequencies of interest and sends the coefficients from those bins to my software. In addition to the coefficients I am sent the time series data While the hardware guys were working on the hardware I d...
Actually my question is how to get the weighted average of two or three IIR filters given their transfer functions, which is nearly equal to this question. How to calculate the total transfer function of the summation of two IIR filters? For example, I have two filters as following $$H_1(z) = \frac{b_0+b_1z^{-1}+b_2z^{...
I am trying to implement real FFT in iOS, for that i am using Accelerate Framework. Here is my Code for Swift. class FFT { private var fftSetup: FFTSetup? private var log2n: Float? private var length: Int? func initialize(count: Int){ length = count log2n = log2(Float(length!)) self.fftSetup = vDSP_cr...
In IEEE 802.11 Wlan, at the receiver side, we first use packets detection algorithm to detect the start of the packets, and then uses fine symbol timing estimation algorithm to find the start of the data symbol. However, if we can detect the start of the packets, we should be able to find the start of the data symbol s...
I'm currently working on an article for ECG classification which it says that it has used elliptic bandpass filter with 0.5Hz and 50Hz critical frequencies to eliminate base-line and interference etc. First problem is that I think it should be stopband instead of bandpass, am I wrong? Second problem is when I try to do...
I'm looking for a way (preferably already implemented in eg. python) of estimating a phase for a specified freq band. When I'm performing FFT on the signal, I can determine components frequencies as well as phases of interesting components. If I understand this well, a single complex number in the FFT result table is, ...
At high SNR i am able to detect the burst by taking the magnitude of the data and setting the threshold. for low SNR it it difficult to set the threshold?
I am filtering a signal, and want to check if I am not over filtering it. I am doing a low pass filter, for a signal of input frequency of 512Hz, first with 250Hz pass band, then )I was intending to reduce from 250 Hz to lower frequencies. I wanted to use cross correlation , but I am not sure if it is a good technique....
I have a signal for which I need to calculate the magnitude and phase at 200 Hz frequency only. I would like to use Fourier transform for it. I am very new to signal processing. And this is my first time using a Fourier transform. I found that I can use the scipy.fftpack.fft to calculate the FFT of the signal. Then use...
The process of my DSP class used the Oppenheimer DSP book as text. Although I can easily understand the math in the book, I found it lack examples and applications, hence I still cannot build a picture how people actually use those under different circumstances. Can someone recommend me a DSP book that contains more pr...
Assume we have a (discretized) sufficiently smooth curve $\alpha : [0, 1] \to \operatorname{Diff}(\mathbb{R}^2)$. Further assume that this curve is generated via a large deformation diffeomorphic metric mapping (LDDMM) given the endpoint diffeomorphisms $\alpha(0)$ and $\alpha(1)$. Namely, this is a two-dimensional ima...
I was wondering if there is something like a Hilbert Transform but that can implement an arbitrary phase shift to every frequency component. I mean, I know that the magnitude response of a "Hilbert filter" is 1 for all frequencies and the phase response is $-\pi/2$ for all positive frequencies, but I would like to obta...
Suppose I have real time series A with n samples and time-spacing dt and I want to analyze its frequency content. Af = fft(A) If dt=1 Nyquist frequency is 0.5. According to both Numpy and Matlab manuals, the frequency vector is defined as f = [0, 1, ..., n/2-1, -n/2, ..., -1] / (dt*n) if n is even f = [0, 1, ...
I am using QPSK modulation for a BER of $10^{-6}$ at $\text{SNR}=E_b/N_0=10 \ \rm dB$. If my data rate is $5 \ \rm kbps$ then $$S/N_0 = 10\log_{10}(5000)+10 = 47\ \rm dB$$ And if my RF section has a filter of bandwidth $100\ \rm kHz$ and noise filter of $2\ \rm dB$ then noise floor becomes $$-172+10\log_{10}(100000)+...
If you take the $H(s) = \mathcal{L}[h(t)]$ the poles are on the imaginary axis so the system should be marginally stable, but is it?
I am dealing with time histories that are narrow band with slowly varying amplitude and phase. I wish to extract the amplitude and phase but there is noise on the time history. An example of the type of time history I am dealing with is as follows: This is a decaying oscillation but does not have an exponential decay....
I've been assigned to solve a problem for 32QAM signals. The thing is, there are little to none sources in my native language to get any decent information on the topic. The problem is (in its original form): For 32QAM to determine which signal was transmitted using the minimum Euclidean distance between the symbols c...
I've got a stream of digital IQ samples let's say at $F_s = 1 MSPS$ that consist of a narrowband signal, in awgn. Let's say the signal BW is ~ 100Hz. The narrowband signal's center (or base) frequency is variable in the range from -10 kHz to +10 kHz due to the doppler effect. For simplicity, it's fine to assume this is...
I am doing my final project at university: pitch estimation from song recording using convolutional neural network (CNN). I want to retrieve pitches existed in a song recording. For CNN input, I am using a spectrogram. I am using MIR-QBSH dataset with pitch vectors as data label. Before processing the audio to CNN (eac...
I know that multiple a lowpass filter signal by $(-1)^n$ can transform it to a highpass filter. $$ s_{hp}[n]=(-1)^n s_{lp}[n] $$ But exactly what happened to the unit sample response and difference equation? Assume that the original lowpass filter signal has a difference equation. Can someone explain to me?? Thanks!!!
Scenario: Given a UAV which emits a beacon and the beacon is received by a node on the ground. The node calculates the received signal strength. Considering the channel is Probabilistic LoS, the average path loss is given as: $$L_{a, k}^{av}(t) = \left[P^{LoS}\eta^{LoS} + P^{NLoS}\eta^{NLoS}\right]\left(\lambda_o d_{a,...
I am from an ML background and I am working on MP3 audio reconstruction and I have managed some amount of spectrogram reconstruction but I have noticed that the higher frequency end of the generated Power Spectral Density plot(Wave2) isn't matching with the original audio's plot (Wave1). There is a similar distributio...
Suppose the original code is a 2-bit binary coding with 3 possible alphabet. \begin{align} a&\rightarrow 00\\ b&\rightarrow 10\\ c&\rightarrow 11 \end{align} Is that $\operatorname{Hamming}(7,4)$ coding? Isn't 7-bit too long?
Is there a numerically robust method for calculating the poles and zeros of a discrete-time causal LTI SISO system given its response to a unit-step input? In the specific example I'm working on all poles and zeros are real, and I would like to calculate them using the exponents and coefficients of the exponentials in ...
Mallat gives analytic wavelet time & frequency widths/uncertainties as $$ \begin{align} \sigma_{ts}^2 &= \int_{-\infty}^{\infty} (t - u)^2 |\psi_{u, s}(t)|^2 dt = s^2 \sigma_t^2 \tag{4.51} \\ \sigma_{\omega s}^2 &= \frac{1}{2\pi}\int_{-\infty}^{\infty} \left(\omega - \frac{\eta}{s} \right)^2 |\hat\psi_...
I have experimental signals $y_i(t)$ for $i = 1,\ldots,n$ that correspond to different excitation inputs to a system $x_i(t)$ for $i = 1,\ldots,n$. The goal is to find the system characteristic function $h(t)$ such that: $$ y_i(t) = h(t) \star x_i(t)$$ for all $i$ and $\star$ denotes convolution. Is this possible? I k...
The MATLAB code below is for equalizer using lms algorithm adaptive filter and then plotting MSE (Mean Square Error) Vs Iteration numbers %% Channel Equalization using Least Mean Square (LMS) algorithm % Author: SHUJAAT KHAN clc;clear all;close all; %% Channel and noise level h = [0.9 0.3 0.5 -0.1]; % Channel SNRr = 1...
Background (from digital signal processing): The $\delta$ function is defined as below: $$\delta[n]=\begin{cases} 1 \quad \mbox{if} \hspace{.4em} n=0\\ 0 \quad \mbox{o.w.} \end{cases}$$ In an LTI (Linear Time-Invariant) system, we denote the response to the $\delta$ function by $h$. Question: Assume that $h$ is defin...
In Discrete-Time Signal Processing by Alan V. Oppenheim and Ronald W. Schafer (3rd Ed.), in Figure 4.47 the input of D/A converter is $\hat{y}[n]$ but later in Figure 4.64 the input of D/A converter is $\hat{x}[n]$. Is this a mistake? Normally, based on Figure 4.47 $\hat{y}[n]$ is the output of the discrete-time system...
I have a problem calculating the DTFT of this pair: Could anyone tell me why the DTFT for $a^{|n|} u[n]$ is different from $a^{n} u[n]$'s?
I want a very basic simulation of a linear axis that can be given a position demand, and it will move to that position at a constant speed. At this point, I do not care about acceleration, but if I can modify the TF to incorporate it that will be a bonus. I will program this simulation using scipy This is a discrete-t...
I have this recording from my DAW that showed a strange form of distortion: the signal clipped at many places, but instead of simply being clipped (loss of information), somehow the integer value of the signal overflowed and has been stored in the file. It resulted in worse-sounding distortion, but the information is s...
I am trying to generate a tonal sound which changes in frequency and amplitude over time. The goal is to emulate an engine order during driving. So I don't know the frequencies and the amplitudes upfront. They depend on the driving situation. So far I managed to get it to work. However in the generated sound sometimes ...
I have two roughly similar (not identical) audio files, both being recordings of the same audio source material, but made independently of each other. I need to calculate the time offset between each file, for instance one recording would be started at time A and the other at time B. By inspecting and processing the au...
I cant determine a type of the following code: G_1=1 // g_1=1 G_2=11 // g_2=x+1 Accorsing to description, it is convolutional code but I dont understand the type ( code rate)?
I am trying to calculate the signal to noise ratio of this signal. I'm aware that the SNR calculation should be $$SNR_{db} = 10\log_{10}\frac{P_s}{P_n}$$ For the noise signal $w[n]$ I'm using the formula $P_n = \frac{1}{N}\sum_{n=0}^N \big\lvert w[n]\big\rvert^2$ and the same for $P_s$. My problem is that there seems t...
I am running a SNR test for a real system as part of a final system test. There is real noise. The noise is calculated as the ratio between two measurements. I noticed however that my SNR value is actually quite noisy and all over the place. For example, I have a minimum target of $8000$ for my SNR, but after running t...
I've noticed that there are a LOT of websites which claim to have a standardized repository of images (for image processing algorithms). However, I don't know which ones are actually trusted by the research community, and which are not. I know some file formats hint of untrustworthiness (e.g. never use a JPEG since its...
I would be glad if someone could answer my question. I have a bit stream of data and I want to extract the low frequency component. When post processing the data I can calculate the average value over a certain number of samples with the MATLAB operation mean(data(1:N)) Then I tired to build the equivalent LPF of this ...
Consider the stochastic process $a(t) \in \mathbb{C}$. Its autocorrelation function is given as $$ \phi_{aa}(\tau)=\left(a(t)\star a(t)\right)(\tau)=\int_{-\infty}^{\infty}a^*(t)\cdot a(t+\tau) \mathrm{d}t $$ I now want to somehow express the autocorrelation function of $|a(t)|^2$ as a function of $\phi_{aa}(\tau)$. $$...
[from Discrete-time Signal Processing by Oppenheim and Schafer, 3rd ed., p.196] Two questions: In this context, the filter with system function represented by Eq. (103) is called an interpolated FIR filter. This is because the corresponding impulse response can be seen to be the convolution of $h_1[n]$ with the secon...
I currently have the power spectrum (in dB) of a signal through which I obtained the fundamental frequencies and amplitudes. My question is: how to generate a time domain signal using these amplitudes and frequencies (using C++ for example)?
Question: The following sentence is not clear to me (especially why down-shift occurs). Could someone explain it please? On the other hand, downsampling the output of the highpass filter down-shifts the high-frequency band and expands it to the full range $|\omega| < \pi$.
I found some multiple choices in a well known book . The problem is that I don't get the answers in some and I want to do so. Question 1: The signal x(t) with Fourier transform $X(j\omega) = u(\omega)- u(\omega -\omega_0 )$ can undergo impulse-train sampling without aliasing, provided that the sampling period $T <\frac...
In this question, is the answer not equal to infinity ? Answer is mentioned as 6. But my doubt is cant we think of it like a linear combination of many independent random variables each having infinite variance, so the resulting random variable also has infinite variance. This was a question asked in GATE exam conduc...
I have a set of data which consists of male and female voices. They are pronunciation of a same sentence. What's the appropriate method for getting an average spectrum for the male and female voices separately and comparing them? I can take fft of each voice but what's the next step to get an average spectrum? Also Wel...
[from Discrete-time Signal Processing by Oppenheim and Schafer, 3rd ed.] I was not able to prove this: If the analysis and synthesis filters are ideal so that they exactly split the band 0 ≤ |ω| ≤ π into two equal segments without overlapping, then it is straightforward to verify that Y(ejω) = X(ejω); i.e., the synth...
In processing analog signals using discrete-time systems, it is generally desirable to minimize the sampling rate. This is because the amount of arithmetic processing required to implement the system is proportional to the number of samples to be processed. If the input is not bandlimited or if the Nyquist frequency of...