instruction
stringlengths
31
27k
I watched the video for PID control system where it mentioned the Laplace domain function and low pass filter to be $\frac{N}{N+S}$. I used asymptotic analysis to see that it made sense. However, I'm interested in how it was originally derived. How did Laplace domain function lead to the low pass filter?
I'm doing a research about personality identification based on their signature using CNN method, however the learning feature for the personality traits have a different input size. I understand that in CNN we have to make the same size for the input, but can I make the input size in different size? I am using Recognit...
I need some help on solving this issue. Any tips are appreciated. The goal of the project is to try to track a Bounding Box object, chosen arbitrarily in an image, throughout many frames of a recorded video. I extract from the chosen bounding box cv2.goodFeaturesToTrack and use a sparse optical tracker cv2.OpticalFlowP...
I'm developing a mobile application that controls Bluetooth sound-speaker functions, which includes an equalizer to modify the output audio frequencies. The audio processing module on the speaker only has an Audio Codec processor (but no Digital Signal Processor, DSP). Is it possible to still implement a program that m...
I am studying the zero forcing as a simple linear receiver for MIMO detection. according to these notes. The zero forcing can be understood as the following two ways. For a single stream $\mathbf{q}$, we can project the received $\mathbf{y}$ onto a subspace orthogonal to channel matrix $\mathbf{H}$ without $\mathbf{h}...
I am a newbie in signal and system, and feeling confused about the memoryless property, it says at the definition, if a system gives output only depends on present input, then its memoryless. So if at $t=3$, $x(1)$ is needed, whether this count as a memoryless system? Or it only consider the time shift like $y(t) = x(t...
sadly I'm not too well aquinted with discretazation methods. At the moment I struggle to reproduce a bilinear transform with frequency prewarping. I have the following transfer function in the s-domain: $$\begin{align} \\ G(s)=\frac{-ms^2}{s^2+2abs+b^2} \\ \end{align}$$ There m,a,b are just some constants. Now I would...
I appreciate any help: I wanna convert IQ data to its RF data, representing an image. The centre frequency and sampling rate are available. What I do is: First I do up-sampling in MATLAB by applying interpolation along the depth. So, the new data has a new sampling frequency higher than the first one. My questions ar...
Assume I have signal $y[n]$ which is a result of convolution between channel $h[n]$ and signal $x[n]$. which means: $$y[n] = h[n] \ast x[n]$$ where $\ast$ is the convolution operation The signal $y[n]$ could be complex since we can consider the channel $h[n]$ to be complex too. In normal case, $h[n]$ should be known...
I'm studying Short-time Fourier Transform and I learned that if you apply a windowing other than rectangular, you need to overlap the frames---for example, 50% overlap for Hamming family---to reconstruct the signal properly (like add them up to 1). However, I only need to apply this window function during the Analysis ...
I have recently stumbled across a paper about learning arbitrary dynamical systems in a spiking neural network. The paper assumes an underlying dynamical system of the form $\dot{x}=f(x)+c(t)$ where $c$ is just a random input and $f$ can be a non-linear function. The paper also states that the dynamical system must be...
Im new to communications so this may be a stupid question, but I am somewhat confused. I am trying to train an automatic modulation classification (AMC) algorithm on IQ data from the RadioML dataset. The data comes in IQ format (eg [1024, 2] matrix). I am reading papers now which use feature based methods and talk ab...
I would post this to stack overflow but it seems to me more like a signals and systems problem, which EE's thrive on. I need a realtime system implemented in software that can generate a sinusoid that matches the input signal's frequency but with a phase lag of 90 degrees. The input signal will be a pure tone but can d...
How is multi-path delay dealt with in MIMO systems? Most of the theory I have read on MIMO doesn't address multipath delay and assumes the multipath interference is limited to secondary antenna transmitting or receiving(so the MIMO channel is a matrix). Is multipath delay equalization addressed after the multipath matr...
I am always confused about the processing gain in the receiver. Assume my receiver had the following: $$\boxed{\text{LNA}}{\longrightarrow}\boxed{\text{Mixer}}{\longrightarrow}\boxed{\text{Filter}}{\longrightarrow}\boxed{\text{ADC}}$$ Does the filter in the analog section has any role to play with the processing gain?...
I have been trying to wrap my head around CIC filters. Say that I want to do filtered decimation by a factor D. Option#1: boxcar filter. Each output sample is formed by taking the sum of D input samples, and multiplying/shifting to get a proper average. D-1 adds per output sample. Option#2: 1-stage CIC filter with an a...
I was trying to solve a Fourier transform of a function using the properties of Fourier transforms. The function is given as: $\frac{At}{2}$ for $-2<t<2$ and $0$ for all other $t$. Doing the integral from the definition of of a Fourier transform gives the result: -$Ai\left(\frac{\sin(2\omega)-2\omega\cos(2\omega)}{\om...
What is difference between convolution and correlation?In simple words or in a nut shell? As far as i am able to study is that Convolution is a mathematical operation used to express the relation between input and output of an LTI system. It relates input, output and impulse response of an LTI system while Correlation ...
In an attempt to get myself up to speed with PLLs I'm trying to implement Example 1 from this tutorial, in Python: https://wirelesspi.com/phase-locked-loop-pll-in-a-software-defined-radio-sdr/ (search for "Example 1") I have output that is close to what the article shows, except that my cos_out[n] seems to be "leaning...
I have met this question, but cannot prove it using DTFT definition. Given: $g$ is a discrete sequence filter and: $$ g \in l^2(Z)$$ $$\langle g_n, g_{n-2k} \rangle = \delta_{k}$$ Prove: $$|G(e^{j \omega})|^2 + |G(e^{j(\omega + \pi)})|^2 = 2$$ Could you guys give me some direction on this one? Thank a lot
For observation $y$, channel coefficient $h$ and gaussian noise $w \sim \mathcal{CN}(0,\sigma^2)$, $$y = hx + w \tag{1}$$ Note that for OFDM system, (1) is assumed channel input-ouput equation on each subcarrier after DFT. Without loss of generality, let assume $x$ is BPSK or QPSK modulated. My question is about the us...
import numpy as np import matplotlib.pyplot as plt j = 1j pi = np.pi interval = 0.5 fs = 1024 Ts = 1/fs N = np.uint(interval*fs) t = np.linspace(0, interval - Ts, N) freq = 2*pi/N * np.arange(N) f0 = 16 # x(t) = sin(2pi * f0 * t) # a[n] = x(n*Ts) = sin(2pi * f0 * n * Ts) n = np.arange(N) a = np.sin(2*pi*f0*Ts*n) ...
I have a doubt about DFT matrix and channel impulse response. Let $h$ is a channel impulse response , $F$ is a DFT matrix. IF I take a product. I got: $$ F* h=\tilde{h}$$ $\tilde{h}$ is a frequency response of the channel, isn't? or channel impulse response in frequnce domain
I have been examining stripmap SAR algorithms, mainly Range Migration Algorithm. When I check the textbook examples so far I always saw the data trajectory is larger than scene that is observed. An example from Melvin, Scheer et. al page 309. As you can see, the platform trajectory roughly travels -20 to 20 and scene ...
I have an image of a spectrogram and I wish to detect the tracks/contours of prominent frequencies present in the spectrogram. In the end, I want to be able to get various prominent curves from the image. The second image represents the expected frequencies. I want to be able to detect those frequency profiles are pres...
I am trying to analyze a signal from monkey brain by applying FFT on the signal. By using numpy.fft.fft function to perform Fourier Transform on raw signal, I got the power of frequencies in the bellow figure. My question is why the power of negative frequencies are different from positive frequencies. Please help me t...
https://www.allaboutcircuits.com/technical-articles/design-of-fir-filters-using-frequency-sampling-method/ So there is two main equation: I wish to filter out frequency $\le 10000Hz$, for example. So my $H(w)$ needs to be a rectangle wave with length 2*1000. However, H(w) needs to be periodic with period $2\pi$, becau...
Is there any relation between impulse response and Region of convergence?Means position/location of ROC depends upon impulse response or not?? Please kindly guide about cases for both continuous and discrete time?
I have read some literatures about the different topologies of beamforming and it came to my mind a question : where is applied the phase shift for each channel depending on the type of topology/technology used? For analog beamforming, it is obvious as there is only one signal, the modulated carrier signal which is spl...
I am studying control systems, and I am studying the lead and lag compensator. I have seen than if I use a lead compensator for the closed loop transfer function, $T(s)=\frac{s+2}{(s+1)(s+8)},$ with the designed lead compensator, $lead(s) = \frac{3s+1}{0.1s+1}$ and I use it as a pre-compensator, so that the lead compen...
Given a set of N sine waves, each with their own amplitude and frequency, is there a straightforward way to select their phases such that the sum over all sines maintains a constant amplitude, given that the frequencies are spaced equally apart by df? If all phases are 0, then at t=0 all the sines will constructively ...
I am hoping that somebody might have a good idea for detecting low-frequency pulses in some rather noisy data (I'm working on improving the snr). I have repurposed a "Raspberry Shake 1D" to record the vibrations made by an adult filaria just below the skin and using a lowpass filter I was able to collect the following ...
I have a multi-channel sound file from a microphone array. I want to get the polar plot in Matlab in order to get the directivity patter of the sound source. How do I do this? I did the FFT on the whole recording and I plotted the magnitude in dB but I'm afraid I'm not doing the correct thing. Can someone tell me how...
I have a set of binary 2D images with objects in white and their boundaries in black (attached example). I also have a list of centroids (x,y coordinate pairs) identifying all objects. For each object, I am trying to identify all the x,y coordinates of that object's boundary (black pixels). Anyone have an idea on pro...
I am doing research in audio signal processing for DOA estimation. I came across the term Time-Frequency bin. I have gone through several articles but none of them specify a TF bin rather it specifies only a frequency bin. The actual problem statement is "the coherence test is applied to the estimated co-variance matri...
I am currently trying to implement a Costas Loop in order to demodulate a BPSK signal. Here is the reference block diagram I have been using to design the loop:Costas Loop Block Diagram I originally tried to make this all in VHDL code, but because I ended up using almost entirely IP cores, I decided to make it in Vivad...
My receiver contains: AGC,timing recovery,carrier recovey blocks. I am using gardner timing recovery with loop filter and farrow parabolic filter. The input to the farrow filter is the fractional delay. I am assuming the fractional delay should be constant after preamble time may be only small variations. The fractiona...
I created two signals in the time domain: signal A which is a square wave, and signal B which is a right-angled triangle wave, as shown in the picture below. I took the FFT of these signals, multiplied channel 1 FFT with the conjugate of channel 2 FFT. Then I inverse-FFT'd to observe it back in the time domain, and I...
I have a question on rrc filter. Hope somebody can answer it. Tx path: My symbol rate is 1 mbps. I am using rrc 8x which becomes 8mpbs. For four symbols the order of the filter becomes 32. Next upsample by 10 becomes 80 mbps then followed by a low pass filter. Rx path: Easy thing is lowpass filter. Followed by downsamp...
I appreciate any help: I wanna convert IQ data to its RF data, representing an image. The center frequency and sampling rate are available. What I do is: First I do up-sampling in MATLAB by applying interpolation along depth. So, the new data has a new sampling frequency higher than the first one. My questions are: 1) ...
I have read in some dsp texts that when ROC includes unit circle,system is stable But i am bit confused in difference between stability and marginal stability depending Upon ROC Especially i am confused by part c of below dsp.se question Z transform stability Where in part C, ROC is 1/3 < |z| < 1 and analysis answer ...
I've read that in FM, all rational ratios of the carrier frequency to the modulator frequency produce harmonic spectrum in the FM signal. Link to what I read. I don't understand why this is. If for example carrier frequency is 10Hz and modulator frequency is 5Hz, then the spectrum will include the frequencies 15Hz, 25H...
Consider we have a IIR filter or order 2 and it has gain of say 46.02 dB for frequency $f_0$. Now if we apply a time domain signal of frequency $f_0$ to the filter for a long time, can we expect to get 200 times higher amplitude in the output of the filter comapre to the input of the filter? The 46.02 db and 200 comes ...
I have the following Python code import matplotlib.pyplot as plt import numpy as np def make_random_gradient(image_shape): x, y = np.meshgrid(np.linspace(0, 1, image_shape[1]), np.linspace(0, 1, image_shape[0])) grad = x * np.random.uniform(-1, 1) + y * np.random.uniform(-1, 1) r...
Oppenheim et al. state in Signals and Systems that there exist periodic signals which cannot be represented with Fourier series. What signals are these? Although Euler and Lagrange would have been happy with the results of Examples 3.3 and 3.4, they would have objected to Example 3.5, since x(t) is discontinuous while...
I've been studying the basics of digital communications using the free book at desktopsdr.com. One of the examples is a 4-QAM demodulator which where symbol timing recovery is done with some Early-Late Gates after match-filtering with RCC. I thought that Early-Late Gates were only useful when all pulses had triangular...
What is difference between repeated poles and distinct poles? As far as i am able to understand is that repeated poles are those that have same value of both x and y coordinates while distinct poles are those that have either same value of x coordinate or y coordinate but neither both
Two different thought process that produce two different alias band calculations .... What concepts are these? If I have two 1 GHz ADC's and they sample with 90 degree offset (A comment said this is Over Sampling) Each ADC has an Fs/2 of 0.5 GHz The combined system sample streams have an Fs/2 of 1 GHz because the seco...
Currently I am trying to understand an unknown mechatronic system. I used white noise as an input signal and measured the output of the system. Then I estimated a second order SISO transfer function (Output/Input) in the frequency domain using Matlab. sys=Out/In h = idfrd(sys, freq*2*pi, Ts); np = 2; nz = 2; Gs = tfest...
I was trying to solve a problem where the basis matrix contains the components of $\sin(nx)$, $\cos(nx)$, $\sinh(nx)$ and $\cosh(nx)$. Say the $n$ varies from 1 to 100. While solving the lasso linear regression, I should get the sparse coefficients on say $n=10$ for each of the components. To be clear say the data obta...
I am trying to frequency modulate a cosine signal(for assignment). I have written the following code but not getting the required output. dt = 0.0002; t = 0:dt:0.05; fm = 50; fc = 1000; beta1 = 1; beta2 = 2; %making sine and m(t) m_t = 5.*cosd(2.*pi.*fm.*t); sin_fm = sind(2.*pi.*fm.*t); %integral of m_t. A_m adjusted ...
I am trying to demodulate individually two GMSK channels separated by 50kHz (one channel = 25kHz). I am working on a limited resources hardware so I decided to make some optimization on the signal processing chain. Here is the architecture: after sampling, my two channels are aliased at 4.6MHz and at 4.65MHz. The archi...
In Matlab there is a command iztrans for finding inverse Z-transform. But how can we find inverse Z-transform using impulse response? The Matlab command impz gives Impulse response of digital filter but how can I then proceed towards finding inverse Z-transform? Actually i want to determine inverse ztransform of H(z) ...
In the area of broadband spectrum sensing, there are multiple methods used to detect energy. Two common methods are: Energy detection in the time domain (matlab example) Spectrogram (often defined by a time and frequency resolution [Fs/NFFT], overlap percentage, and number of noncoherent averages [NAVG]) When doing e...
When we reconstruct the image from its magnitude only using Inverse Fast Fourier Transform, then why the resulting image looks nothing like but the original image? Can someone please explain me in detail, what is the role of magnitude and phase in FFT and IFFT?
I want to implement an MTF measurement. The goal is to measure a tilted slit, like this one: However the first half of the LSF is positive but on the second half (white-black edge) it obviously has negative values: Applying a FFT, I get a curve that almost always looks the same and does not really depend on sharpness...
Say I have two zero-mean vectors, with a size of N and the translation between them is k. Say the image signal std is $\sigma_s$ and the noise std is given by $\sigma_n$. What is the variance of the correlation value in case the correlation is estimated by Fourier transform, without zero-padding? Is there a way to find...
I came across a C code for the FIR filter on one of the websites. It is as follows void fir(short * y, const short *x, const short *h, int n_out, int n_coefs) { int n; for (n = 0; n < n_out; n++) { int k, sum = 0; for(k = 0; k < n_coefs; k++) { sum += h[k]...
I have a question whether circular convolution and periodically expanded linear convolution corresponds in following case or why it does not? Think about a signal $x[t]$ and a signal $y[t]$ both of length $N$. We expand the singal $x[t]$ periodically to a signal $x'[t]=[x[t],x[t]]$ with length $2N$. We zeropadd the sig...
I am designing (in matlab) a simple system with a DC signal at 0 Hz and some added noise. I am performing a differentiation of the signal (by simply subtracting the last values from each other), next i am applying rolling average algorithm, to filter the high frequencies, and then i simply integrate over a number of sa...
Bottom-line: how to create a 90 degrees out of phase signal from the real part of the fourier transform of a 1D signal (i.e., fft of a line of an image). ? *(I *(I think the Fourier shift thm can help but mot exactly sure how yet) In MRI the actual FID echo signal is acquired in quadrature (cf. http://mriquestions.com/...
I'm almost definitely misunderstanding this, but as far as I can tell we can equate the Fourier transform of the auto-correlation function $R_{xx}(\tau)$ with power spectral density (PSD) like so: $\hat{R}(\omega) = S_{xx}(\omega) = \lim_{T \to \infty} \textbf{E}[|\hat{x}(\omega)|^{2}]$ Whereas the Fourier transform of...
With respect to the below discussion, consider that we are talking about LTIC systems characterized by constant coefficient ODEs. Consider a cascaded system whose transfer function H(s) is given by $$H(s) = \frac {s+2}{(s+2)(s+3)(s+1)} =\frac 1 {(s+1)(s+3)}$$ "Recovering" the defining differential equation from this t...
I have a time series that consists of noise and a signal, shown here windowed and Wiener filtered: and the PSD of just the noise (used in filtering): I want to find the variance of the noise using the PSD in order to estimate the significance of a measurement. I'm not super well-versed in signal processing, so I apo...
I am reading A Mathematical Theory of Communication. The second requirement of an ergodic process confuses me (emphasis mine): All the examples of artificial languages given above are ergodic. This property is related to the structure of the corresponding graph. If the graph has the following two properties the co...
Is it possible to implement FIR filtering action without padding the input and coefficients? i.e. Let's say if the input and filter coefficients are of size 4, then the output will be 7 samples. So, while implementing, we generally add 3 more zeros to both input and filter coefficients making them equal to output size....
I'm quite new to this field and have a probably rather basic question: Is there an upper bound for the values in a log-magnitude spectrogram generated like this: log1p(abs(stft(signal) ** 2) Obviously, the lower bound is 0 but is there also an upper bound (based on window size/hop length of the STFT)?
I recently came across an article on the inventor of adaptative equalizer Robert Lucky, In this article : An Oral History by Robert Lucky (http://www.ieeeghn.org/wiki/index.php/Oral-History:Robert_Lucky). And I have a couple of questions : Quoting Lucky speaking about DFE :"It was the idea that you could use your own...
In direct sequence spread spectrum, which is the basis of CDMA systems, the baseband signal is multiplied with a pseudo noise (PN) sequence which has a high chip rate, thus the resulting modulated signal will have high rate and thus larger bandwidth. But the power of the original baseband signal and the power of spread...
Lets say I have some time series data which I generated like this: %matplotlib inline import numpy as np import matplotlib.pyplot as plt from numpy.random import uniform # Length of time series N=400 # Gaussian random numbers as an excitation signal ex = np.random.randn(N) # Second order AR Process with coefficients...
I'm currently reading articles about the different type of beamformers. This spatial filtering is gonna be used for acoustic purposes, to focus the beam on the person we need to hear talking in a crowded environment. I think that there is a misconception on some of the things I taught I understood. So, the way I saw it...
Why do we only use impulse response for convolution for getting output of LTI systems. why we don't use unit step or any other signal for this purpose?
I have 2 sensors, sensor A is sampling a signal at 1kHz, and sensor B is sampling the a signal at 100Hz. Every timestamp that sensor B takes a measurement at is contained in sensor A. That is, sensor B takes a measurement essentially every 10th measurement taken by sensor A. How should I downsample sensor A so that bo...
Consider a set of dense, but generally irregularly-spaced frequency response measurements of some real low-pass analog filter. Denote the maximum frequency for which a frequency response measurement is available as F_a_max. I would like to create a digital filter model for this analog filter. The sample rate of this ...
While searching for something FM, I came across this code. I am not able to understand a particular line of code. I have written a comment against that line of code. fs = 1000; fc = 200; t = (0:1/fs:0.2)'; x = sin(2*pi*30*t)+2*sin(2*pi*60*t); fDev = 50; int_x = cumsum(x)/fs; %%% This line of code xfm = cos(2*pi*fc*t)....
In case of RGB to grayscale conversion we take the average of R,G,B channels and convert them to Grayscale which has songle channel. How to convert back the Grayscale to RGB ??
To perform the filtering infrequency domain we perform multiplication of $(-1)^{x+y}$ why??
Smoothing algorithms implemented by me Exponential smoothing - https://www.openprocessing.org/sketch/771368 Moving Mean - https://www.openprocessing.org/sketch/540696 For example - a1+a2+a3+a4+... aN = A/N ..... is an average of all the a's which isn't same as ---> (((a/1+a2)/2 + a3)/3 +a4)/2 .... so on... can any...
I want to compare various signals with Matlab's CPSD to identify shared frequency components. (If there's a better method, I would like to know!) I have 3 signals, A, B, and C. B is pure noise while A and C share nearby frequencies. I noticed that CPSD's output is scaled by the power input of the signal - so for compar...
I have a semi random noise signal, it does have some periodicity however. I can estimate the power spectrum (of the blue signal, I thought that it would be more clear, because white noise is flat, but I digress) How could I generate a noise signal from a power spectrum? Brownian noise estimation is not the same as ...
For a set of $N$ orthogonal sequences $\textbf{A}^i = \{a_1^i,a_2^i,...,a_M^i\}, i =1 ..N$, the detection of these sequences can be done by calculating the inner product (dot product) of receive sequence $\textbf{Y}$ with all $N$ sequences $\textbf{A}^i$ to find the one maximizing the result: $$\hat{i}=\text{argmax}_{1...
I tried to plot phase demodulated signal and original message signal but there is a significant difference between magnitudes of the message and demodulated signal. I have attached the code and the graph. Please help in pointing out the error. Code clear all; close all; fm = 50; fc = 1000; fs = 4000; t = 0:1/fs:0.1; k...
I'm new to python and I'm using it to analyse accelerations from an accelerometer ie. vibration analysis. For that I need to plot 2 types of diagrams: 1) Frequency map; frequency and time on the axis with the amplitudes, 2) Order map; order and time (or RPM) on the axis with respective amplitudes. The data from the sen...
I'm currently working in a project as apart of a student team. Setup A platform is attached (placed over and screwed) two 1 Kg load cells in order to measure the weight of the system. A vibration motor is also a part of the above mentioned system. Problem The load cells, coupled with the entire setup causes noise while...
I have been reading about the difference between the use of iFFT and iDCT with OFDM. What I understood that iDCT can only be used with one phase modulated symbol which is PAM/BPSK modulation. It means for example 0 and 1 can be mapped into -1 and 1, respectively before using the iDCT. Can we map the 0 and 1 into -j a...
In my book solution is given like this. But i am solving like this , am i doing wrong??
I have a signal which is bandlimited and can be sampled at arbitrary continuous positions. The value at any position is given by an expensive computation. I need to do some further computation on various arbitrary small regions of this signal. My plan is to take advantage of the known bandlimiting to sample the signal ...
In image processing the differentiation and convolution are the terms that are used interchangeably. What is the difference between applying convolution and differentiation over the image? How we perform the differentiation over the image(Since in order to differentiate we need to represent it as equation that is diff...
Why am i getting different answers and which one is correct?? In this also
I am trying to learn about signal processing and fft's applications within it. My understanding is that a classical use case for fft is to remove "noise" (ex. high frequencies that are not supposed to be in the original). However, while on StackOverflow, I came across this post that seems to suggest that this is a bad ...
Let's say for a zebra image, and at certain pixel location, I would like to makes it "vibrate/warp" to and fro in horizontal direction at a certain frequencies in a sequence of images of time t, with subpixel shift. The circled area is the most significant area that I intended to simulate the vibration. Those images wi...
I'm a little confused about the sample rate: If I have an audio file that was recorded with a sample rate of 48kHz, this means that there are 48,000 values per second in this file, right? So when I read this file with a smaller sample rate of lets say 44.1 kHz I am summarizing every 44,100 values to one second so effec...
I have recently started reading about image processing, my knowledge in image processing is still very limited. What I understood that DCT can help in image compression using Huffman, JPEG or MJPEG encoding. My question, If we have an image as below: which means that we have only three possibilities, 1, -1 or 0 in eve...
I have a z transform $Y(z)=(z^2-z) /(z^2+1.3z+0.3)$ In this case i have two poles ,one at -0.3 and one at -1.0 I want to find inverse z transform of Y(z) Following is my matlab code: clc clear all close all syms z n num=[1 -1 0] den=[1 1.3 0.3] [r,p,k]=residuez(num,den) We know that ztransform of δ(n) is 1 and ztran...
I use the K-LC6 24 GHz microwave module in the linear frequency-modulated signal mode to determine the distance to moving objects. But if I put a barrier in front of this radar while it is moving, I can determine it, but as soon as the object becomes motionless, I no longer see it. Is it possible to somehow determine t...
Problem I want to mix two audio sources in real-time: game audio and microphone audio. The audio is provided at 44 100 Hz in the form of vectors of 1024 numbers between $-1$ and $1$ (PCM data). The simplest way to mix the audio is by adding together the game audio vector $\vec{g}$ and the microphone audio vector $\vec{...
This question is related to Does 46 dB gain of a filter for a frequency imply 200 times more amplitude? In the accepted answer it is mentioned that "For a sine wave input the amplitude of the steady state output is simply the amplitude of the input multiplied with the magnitude of the transfer function at that frequen...
I meet this problem but still do not know how to solve it. Could you guy give me some guides? Upsampling by 2 ($U_2$) followed by filtering by $g$, with operator $G$ And given: $<g_n,g_{n-2k}>_n = \delta_k$ (Filters with impulse responses orthogonal to their even shifts) Prove that: $$ I = U_2^*G^*GU_2 $$ Thank in adva...
Assume we have a matrix x of size (8,8), . As known, FFT(x) performs 1D-FFT transformation, column wise. However, FFT2(x), performs 2D-FFT transformation. In that case, what's the advantage of using 2D-FFT over 1D-FFT ?
In general, the output length of an FIR filter is given by (N+M-1) samples, where N stands for signal length and M stands for the number of filter coefficients. Can the same formulae be applied for IIR Filters? Let's say I have 4 input samples, 3 feed-forward coefficients, and 2 feedback coefficients. Then can I tell t...