instruction
stringlengths
31
27k
Typically digital signals are seen having only two values,but is it possible that a digital signal has three values(1,0 and -1)?as shown highlighted in attached snapshot,which has been extracted from book "Signals and Systems Laboratory with MATLAB"?
Images of graphs of dirac delta show an arrow head pointing upwards at t=0, what does that means? Is it referring that at t=0, amplitude is infinity?
I am trying to write a function which takes an input signal and delays it by a non-integer index. The function is based on the ideal bandlimited fractional delay filter technique, already available in Matlab, by calling the function designFracDelayFIR. I really do not understand why the output signal, instead of being ...
I have data from an eye tracker collected while subjects were doing a saccadic task (i.e. fast eyes movements). Specifically, I have the position (in degree) on the x and y axes, collected at 120Hz. My aim is to find the saccades relative to the fixations (i.e. point in time in which the eyes are relative fixed). This ...
I am hoping someone here can help. I have converted my signal via FFT to see the primary component/s. Like this: I now want to separate that component, and other components, as given in another graph below in (c) to (d). But I don’t know the code to do this? Does anyone know how they could be separated to plot separa...
These topics are full of words I don't fully understand. So it's very possible I missed the point somewhere but I saw a feature on a microcontroller and wondered if it was applicable. I have an ADC with several channels and they can be command to sample at a set phase offset from each other, say 90 degrees. Does samp...
I am writing a code to calculate the reverberation time of a room. I am new to the topic. I used sine sweep to excite the room and the response was recorded. Then I got the room impulse response by convolving the recorded signal with inverse sweep.Then I filtered the RIR in octave bands and did lundeby algorithm to fin...
Given is an analogue source $x$ equally distributed in the interval $[-1;+2]$. By means of a mapping, the signal $Y$ is calculated according to $Y = (X - 1)^3$ is generated. Sketch the $PDF$ of the signal $X$, specifying characteristic values. Determine the $PDF$ of the signal $Y$ and sketch it, specifying characteris...
I know that a continuous-time digital signal with sharp edges (e.g. jumping from one y-Value to another discontinuously at the same x-value) will have infinite bandwidth. But what about sampled signals, that have a limited sampling frequency? I read that aperiodic time limited signals will have an infinite bandwidth, b...
It is well known that ideal lowpass filter, i.e. the lowpass filter whose impulse response is $h(t) = \text{sinc}(t)$, is not BIBO-stable because $h(t)$ is not absolutely integrable. However, think about the ideal reconstruction process as a process that takes discrete signals to continuous time band-limited signals. I...
If you look for amplitude, frequency, phase modulation, you typically get some picture saying you have a wave and you modulate the corresponding parameter (amplitude, frequency, phase). On the other side, if you look at how digital communication is happening, people say that you have a series of delta impulses (or rect...
For an L tap channel, we have to add L-1 cyclic prefix(CP) in the starting of N symbols in OFDM. My doubt is that what happens if we change the number of cyclic prefixes, say I take the CP>>L-1 and in another case I take CP << L-1. Thank You!
I wonder how higher order QAM modulations (like 16-QAM) are demodulated in practice. Let us assume hard detection for simplicity. For 4-QAM, checking sign of real and imaginary parts is enough, but in my opinion this approach does not scale and using it for higher order modulations would require checking against multip...
I choose similaritymeasures.dtw to compare experiment signal exp_sig and reference signal ref_sig. Both signals are I,Q data collected from Gnuradio. exp_sig = np.reshape([[1+1*1j, 1+2*1j,2+1*1j, 3+2*1j,3+1*1j, 3+2*1j,4+1*1j, 3+2*1j,5+1*1j, 7+2*1j]],(-1,1)) ref_sig = np.reshape([[1+1*1j, 1+2*1j, 2+1*1j, 3+2*1j, 3+1*1j,...
I want to create a non-rectangular meshgrid in matlab. Basically I have a polygon shaped feasible set I need to make a grid of in order to interpolate 3D data points in this set. The function for interpolation is given and requires finite (x, y, z) inputs. Where x is nx1, y is 1xm and z is nxm. Right now I have the mes...
I am attaching an image with the output of ICLabel. So you can see that IC5 and IC6 are the same. What does this mean? Thank you in advance:)
The System Function of IIR Filters is defined as $$H(z)=\frac{Y(z)}{X(z)}$$ The Output Signal as $$y(n)=\frac{1}{a_0}\left(\sum^{P}_{i=0}b_ix[n-i]-\sum^{Q}_{j=1}a_jy[n-j]\right)$$ I do not understand how we get from Y(n) to Y(z) Most literature just states \begin{align} \sum b_iz^{-i}X(z)&=\sum{}a_jz^{-j}Y(z)\\ H(z)=\f...
I am trying to understand the estimation of the power spectral density of a continuous time stochastic process from it's samples. Consider a normal wide-sense stationary white noise process with average power $\sigma^2$. Its autocorrelation is a dirac-delta impulse of height $\sigma^2$. By the Wiener-Khinchin theorem, ...
I am very confused as I had a debate with my buddy regarding color (RGB) images. He insisted that color images are two-dimensional, but when I personally try myself to read a color image into MATLAB, I get a m x n x 3 size matrix and when I convert that image into gray-scale, I get m x n size matrix. My buddy argues th...
My professor threw in the random term and never explained what it means cus he's been going on strike for 3 weeks straight.
The power received by an isotrapic antenna is calculated by: $P_0=\frac{P_T}{4 \pi d^2}\cdot \frac{\lambda^2}{4 \pi} = \frac{P_T}{4 \pi d^2}\cdot A_e$ or, by Friis transmission formula: $\frac{P_r}{P_t} = \frac{A_r A_t}{d^2 \lambda^2}$ It is getting obvious, that with high frequencies my effective area becomes much sma...
This picture compares an uwb- and narrowband-signal: https://cdn.sewio.net/wp-content/uploads/2017/02/UWB-e1486395802254.jpg Like I understand UWB, the signal("pulse") is directly put into the antenna. Using traditional modulation like AM, the amplitude/frequency pr phase of a sinusoidal signal would be changed accordi...
I'm in a position where I need to practically apply a filter to digitally sampled input data in realtime (from an ADC or otherwise). In other words, a Discrete Convolution. However, after reviewing the literature, it struck me that this operation requires predicting the future sample points of the input function. The d...
I am quantizing a continuous time signal in three different cases(using different number of bits) But Why i am getting same quantized signal in xq2 and xq3,despite using different values of D(Quantization step), my code is below clc;clear all;close all; n=0:19; %defining range for discrete time fs=100;%defining samplin...
I am trying to read and play with an audio signal in MATLAB. I have coded below clear [y,fs]=audioread('guitartune.wav'); sound(y,fs) This audio clip'guitartune.wav' has approximately 15 sec duration when played noramlly with 'fs' As frequency and time are in reciprocal relation , so when i update my last line of code...
I was recently introduced to the concept of Kalman filtering in the context of projectile tracking. A classmate recommended this to me, and what intrigued me most was its ability to fuse different types of information from sensors. Are there types of measurements that are not compatible for sensor fusion? Can any measu...
I basically want to use a digital wavelet transform to get the high frequencies of an audio signal and get the time information or really anything that can make me understand where they happen so I can compare with the data I get by reading the audio so I can perform some operations on the samples that have a high freq...
I am trying to dissecate a large bandwidth into smaller ones and, for each of those smaller bands, see if it contains enough energy to consider that a message is sent in it. To do so, I am thinking of doing it by implementing the following schematic So far, I have been able to implement everythink, except for the comp...
Are the output functions of a continuous-time LTI system necessarily continuous (in the calculus sense) for any given input functions? I had this question when I saw this claim in my textbook: for the most part we will use the condition of initial rest for systems described by differential equations. In the example, s...
As we all know, Fourier transform of the sinc(t) is rect(f). Simple python script to discover signal after fft and ifft with random normal noise. import matplotlib.pyplot as plt import numpy as np np.random.seed(1234) peak=np.fft.fft(np.sinc(np.linspace(-4, 4, 200))) peak_ifft=np.fft.ifft(peak) n=200 noise=np.random.n...
Per this question,I understand different result when noise occurs in time domain and frequency domain. As to the system,has antenna+upconveter+USRPB210+laptop,observe frequency around 75M HZ,bindwidth 16M. How to judge the percentage of white noise and color noise when using typical SDR enviroment?
I was in a lab and recorded some data from 2 pressure sensors. One worked perfectly (red line), the other one would send random data occasionally (blue line.) All of my values are supposed to be between 20 and 50 in my csv file, but i have random spikes on the bad sensor to -200, +1000, etc. I can write a simple algori...
This term'Frame' is often used in image processing for frame rate, but is there any difference between an image and a frame?
I am converting some legacy matlab code to Python and I'm struggling to find the right function in python from the legacy code. The matlab filter is wheelFilt=designfilt('lowpassiir','FilterOrder',15,'PassbandFrequency',1000,'PassbandRipple',0.0001,'SampleRate',2000); Filtered(:,q)=filtfilt(wheelFilt,TrainPassData(:,q)...
I have lots of time series where I want to analyse some periodic signal that occurs beside the signal I wanted to measure (and I didn't expect). The idea is that there's always a peak at a certain frequency. The problem is they have different start and end times [start, end]. Start can be negative (0 has a special mean...
I am starting to write my master thesis, and it's in field of compressive sensing. I have some problems with math behind it. I don't understand the concept of matrix coherence. I know how it is calculated and definitions but what does it mean for my transform matrix? Can someone explain the coherence of matrix to me, i...
I'm digging into some (quite popular in my field) analytical practice that I find suspicious. The problem is to remove the trend from some very short (eg. 18-40 data points representing 200 - 800 ms) time series. The common approach is to either use a moving average or a (something around 11-) order FIR filter. I alrea...
Is digital necessarily discrete in both amplitude and time? Or rather it is necessarily discrete only in time (but not necessarily in amplitude)?
I would like to divide an image into "rectangular" components that are similar according to some visual criterion: For example I found these algorithms : https://scikit-image.org/docs/dev/auto_examples/segmentation/plot_segmentations.html which are able to divide an image into "superpixels", that may have an arbitrary ...
I am trying to implement smooth zoomable audio waveform but am puzzled with the correct approach to implement zoom. I searched internet but there is very little or no information. So here is what I have done: Read audio samples from file and compute waveform points with samplesPerPixel = 10, 20, 40, 80, ....,10240. St...
import scipy.signal as signal import numpy as np import matplotlib.pyplot as plt np.random.seed(1234) x = np.linspace(-4, 4, 200) y = np.sinc(x) n = 200 noise = np.random.normal(loc=0, scale=0.1, size=n) sig = y + noise peak = np.fft.fft(sig) freq, specarr = signal.periodogram(peak, fs=100, window='boxcar', nfft=100,de...
I am a beginner so please excuse some of my ignorance, I am still very much learning. My original signal comes from a DC sensor that was measuring the distance of a pulsating object. The sensor was on top of a vibrating machine. I am trying to find the frequency of the vibration of the machine and the pulsating object....
I am implementing an IIR filter in an embedded device based on ARM. It is implemented as a cascaded biquad structure (series of second order filters put back to back). The filter can be considered stable as all the second order sections in the cascaded structure have their poles and zeros inside the unit circle(ROC) in...
As part of my uni assignment I have to figure out what is the impact of sampling frequency on actual channel impulse response. One obvious thing is that the higher sampling frequency is, the more taps the response has. But there must have been something more here. When I increase the sampling frequency from 20MHz to 10...
Most studies on OFDM-based communication systems consider that multipath channels consists of a limited set of taps in the discrete-time domain. However, this only holds if the tap delay is a multiple of the sampling period Ts = 1/B. In case the tap delays are not integer multiples of Ts, they will leak to all neighbor...
In order to truncate my signal in the frequency domain, I am applying a low pass filter with the windowing method. As a test, I chose the Hamming window. What is the cause of the oscillation at the bottom of the filtered signal? Also, it seems that the filter reduces the amplitude of the signal slightly. How can I get ...
I have a problem to approximate a complex-valued function of a real argument. In other words, how to find a function’s analytic form in the complex domain if the sets of values of a function of z=x+yi type and arguments n are given. Thus, if the sequences of real arguments (n) and complex-valued functions (z=x+yi) are ...
I am trying to write a program to standardize an image which I need to better perform image classification. I found the definition of standardisation which is obtained simply by subtracting the mean pixel from every pixel, and then dividing by the standard deviation. What I don't understand if this has to be done (1) c...
Semi-blind non-orthogonal successive interference cancellation in the single antenna case with 4G/5G signals (applies generally though). This is very similar to NOMA in 5G, except that I have no timing knowledge of the other parties. I also do not know the specific sequences being used, as it could be 1/3 possible PSS ...
Given a spectrogram calculated using the following code: import matplotlib.pyplot as plt import numpy as np import scipy from scipy import signal, fft from scipy.io import wavfile from skimage import util import librosa import pylab # from scipy.fftpack import fft def stft(x, fs, framesz, hop): framesamp = int(fra...
I'm new to this field, my apologies if my question sounds too naive. From what I understood, a function can be decomposed using the scaling function at a given scale $\{\phi_{J, k}\}_{k \in \mathbb{Z}}$ and the wavelets at finer scales $\{\psi_{j,k}\}_{j \le J, k \in \mathbb{Z}}$. So given a discrete signal that repres...
I need help obtaining a simulated transfer function in a simulated room. I have created image sources for first and second order reflections, and am assuming a point source for my source. I have the pressure arriving at my receiver position for each frequency band from the direct source and image sources. I am a bit lo...
In my design and implementation of a SIR particle Filter, I don't have the state process equation of the actual system, which would have given a very good estimation of the real signal. I was wondering, if there are any mathematical methods out there to extrapolate the next state (i.e construction of process equation) ...
I know that when a signal has finite energy,it is energy signal and when its power is finite, it is power signal But what is exactly meaning of finite here? Zero also included? For example if a signal has zero energy, will its be considered energy signal? Similarly if its power is zero, will it be considered power sign...
Q15 standard is fixed point fraction from -1 to 1 represented by 15 bit, and uint16 is numbers from 0 to 2¹⁶. I have data range from 0 to 2¹², I can directly cast them to Q15 and all the data will preserve exactly. But I'm don't know will this cause saturation problem? Since multiplication of two fractional number will...
I'm dealing with a random process that's simply a square wave with pulse period T, where: Each pulse takes either $A$ or $-A$ depending on a coin toss. The wave is shifted by a random $t_d$ where $t_d\sim{U(0, T)}$ The first point can be also phrased as "during any time interval $(n-1)T<t-t_d<nT$ the signal's value ...
For calculating period of continuous time signal,we simply divide 2pi by omega and get period value But in case of discrete time signal, procedure is not straight forward like continuous time, although same formula (2pi divide by omega) is used but there are some other conditions, what are they? And if we get any fract...
In soapy power manual: Crop: -o PERCENT, --overlap PERCENT percent of overlap when frequency hopping (incompatible with -k) -k PERCENT, --crop PERCENT percent of crop when frequency hopping (incompatible with -o) I know the overlap,what means crop in FFT calculation?
I am applying RMT on grayscale images. Basically for any matrix, it consists of two parts: one is pure noise and other is information. Now, to distinguish noise from information, RMT comes handy. We calculate the eigenvalues of the covariance matrix of the original matrix and by scaling them (Unfolding), the eigenvalue...
I am working on performing the MUSIC Algorithm in LabView. The hardware testbed includes four phase-locked receiving channels and a coherent single-channel transmitter (first I will verify the MUSIC using SMA cables and 4-way splitter then I will verify it using 4 elements Uniform Linear Array). When I test the MUSIC, ...
I need to take a .wav audio file that's noisy and filter out some noise. I have to do it using Fourier Transform. After some days researching and experimenting, I finally made a working function, the problem is that it doesn't work as I intend it to. Here is the function I made: # Audio signal processing from scipy.io....
I am an Ear-Nose-Throat doctor (hearing doctor), looking for some help from someone who has built a mobile app with Frequency Filtering and Amplification. I am working on a social impact program for a non-profit (part of WHO initiative, for World Deafness Eradication). I am trying to build a simple audio frequency filt...
I need to compute cross correlation of two signals using frequency domain. Hence, I am using the below equation for calculation. max(IFFT(FFT(a)*conj(FFT(b)))) Using this equation, how to find the lag? (lag similar to matlab built-in function of xcorr) (I have observed that when cross correlated in frequency domain, ...
I'm attempting to make use of wavelet scattering to analyse my signal samples. The example IQ Wav file I am using is as follows: https://www.dropbox.com/s/dd6fr4va4alpazj/move_x_movedist_1_speed_25k_sample_6.wav?dl=0 Currently, following a guide from the Kymatio documentation, I have the following code: import scipy.io...
If the grid-lines in the image (attached: distort1.jpeg) are distorted and squares in image appears distorted a bit. What would be the best and easy approach to convert them to perfect squares (as shown in correct.jpeg) image.
Suppose I have a two-way speakers system which can be modeled as a two-way Linkwitz-Riley crossovers network with impulse responses $h_{lp}(n)$ and $h_{hp}(n)$. I would like to equalize the group delay of the impulse response of the complete system given by the sum of the impulse responses of the crossovers ($h_{sum}(n...
I have a sine wave of frequency 1kHz sampled at 16kHz. I need to find the envelope of this signal using hilbert transform in MATLAB.I have used the inbuilt function abs(hilbert(input_signal)) and got the result as expected. Now, when I change the input signal to an addition of two sine waves of frequency 1kHz and 2.7kH...
I have 3 closely related questions regarding 2d convolutions and how they are represented in matrix form. 1. Miming what happens in 1d, I assume the product of a doubly block circulant matrix $A$ by a (vectorized) image $x$ by can be understood as a circular convolution with a kernel $a$. That is $$ Ax= a \star x. $$ ...
If I'm understanding it correctly, an ATSC channel is a digital channel that uses 6 megahertz of bandwidth to send 19.38Mbps using 8VSB modulation. For analog broadcasts, that makes sense, but I'm struggling to understand why digital data needs such a wide bandwidth and have assumptions that are probably wrong. For ins...
I want to obtain the power spectral density (PSD) of an autoregressive sequence, AR(1). The analytical solution according to this reference (page 12) is For $X_t = \phi_1X_{t-1}+W_t, W_t \sim N(0,\sigma^2_w)$, $$f(w) = \frac{\sigma_w^2}{1-2\phi_1 \cos(2 \pi w)+\phi_1^2}$$ Let $\sigma_w = 1$, $\phi_1 = 0.4$, then the co...
What's the terminology for a two things that interact wirelessly but requires that both have power or electricity? For example, Bluetooth requires that both devices have power at all times to interact. Same thing with wifi devices. Conversely, what is it called when only one of the two devices requires power, while the...
Assume to have c[] representing N DFT coefficients. The complex-valued signal of N samples in the time domain is computed by idft(c, N). Is there a straightforward way of reconstructing the signal just in the first half of the time domain by manipulating c[], and executing only idft(., N/2) multiple times?
I am using multiple digital MEMS microphones in an array which are 8mm apart. Now I recorded a sine wave of 20kHz for calibration (at angle 0°) and want to measure the phase difference over time between all microphones. Sampling frequency is 48 kHz. My approach would be to perform a hilbert transformation (because the ...
The active portion of the superframe duration is given by: $\text{SD} = \text{aBaseSuperFrameDuration} \cdot 2^{\text{SO}}$. With $\text{aBaseSuperFrameDuration}={960}{\text{symbols}}$. The active portion of the superframe duration is divided into 16 equal slots. So we have $T_{\text{slot}} = \frac{\text{SD}}{16}$ symb...
Let's have the vector $y = h * x$ where $*$ is the convolution operation, $h$ is the channel with length $N$ and $x$ is a symmetry vector which means $x = [x_M, x_{M-1}, ....,x_0, 0 , x_0, x_1, .... x_{M-1}, x_M]$. If we explained that convolution operation as: $y = X h_z$, where $X$ is a $(2M+1) \times (2M+1)$ Toepli...
When antenna received signal,antenna generate voltage,then SDR convert voltage to I=amplitude*cos(t)and I=amplitude*sin(t). When antenna receive 10k and 100k signal individually,how does voltage changed accordingly?
I use AD9954 as cosine signal generator,then use ad835 to multiply this cosine signal with antenna signal. As ,the antenna signal frequency shifted after ad835,then processed by SDR device. When I read the SDR output IQ data,it's easy to know the frequency character.And,I plan to IQ time domain data/cosine() to restor...
I am trying to use an accelerometer in an IMU (ISM330DHCX) (integrating to get position). To do this I need to fix the calibration error. Ideally the integral of the accelerometer values while static would be 0. I am not getting this however, and get runaway error in the integral. My current method takes the average of...
I am given the following task, however, I am lost conceptually, and require some assistance on the procedure. Given raw noisy data where the signal is a single sinusoid and noise is a random content. The sampling rate is known. I am asked to plot the autocorrelation function and calculate the Singal-to-Noise-Ratio (in ...
I am trying to convert a signal into frequency domain using fft then construct a time domain signal (with any length) from the frequency response. With my matlab code, it works fine when there is no noise but there is a weird behaviour when noise is introduced in to the signal. So let's first look at the case when ther...
I am having trouble to understand how to combine Frequency Shift Keying (FSK) with Frequency Hopping Spread Spectrum (FHSS). As far as I understand, A IQ FSK-modulated signal $s(t)$ can be written as $$ s(t) = \Re \{ A\exp[j(2\pi f_c(t) t + \varphi)] \}, $$ where the instantaneous frequency $f_c(t)$ is given by $$ f_c(...
I am aiming to conduct a classification-based study using signals collected from various devices. I've researched other approaches which make use of STFT for producing a spectrogram for speech and EEG/ECG signals and classifying the grayscale images. While this is potentially a preferred approach, some speech-based cla...
I'm trying to use scipy.signal.cwt() to do a time-frequency decomposition of neural data. However, I don't completely understand the "widths" parameter. I already looked at this answer. On the one hand, I had a hard time understanding the question as it was written. On the other, the answers seem quite outdated (for in...
I'm trying to solve the following question about "Harris Corner Detection". Consider the following image: As the first step of the "Harris Corner Detection", we should compute the derivatives using the differentiation kernels shown above. No normalization (division by 2) is needed. What I did: $$ I_{x}=\frac{\partial ...
I want to simulate the limited angle Radon transform reconstruction problem by employing the Fourier-Slice Theorem which states that $$ \mathbf{F}\left(\mathbf{R} f\right) (\theta, \sigma) = \mathbf{F}(f)(\sigma\theta), $$ where $\mathbf{F}$ denotes the respective Fourier transforms and $\mathbf{R}$ denotes the Radon t...
I generated a bit stream in MATLAB, from the transmitter to be convoluted by the channel I use MATLAB function "randi" between 0 & 1, so it generates random vectors of 0s & 1s and connects them to produce triangles I want to make N (e.g N=4) samples per bit, so each bit is produced contains 4 samples for example 1 0 1 ...
Assume that the lines are parameterized with an angle $\theta$ of the line normal and a distance $\rho$ from the origin: For each of the lines in the image space below (left), draw the corresponding point in the Hough space (right). Use letters A, B, C and D to mark the points. You need to also write the point coordin...
It is widely accepted that zero padding cannot reconstruct more information that is originally present in the sample data, which I think is intuitive, because zero padding adds no more information. But in a case I found that it seems to be against the claim: It shows DFTs of a two-mode signal with different zero paddi...
There are a number of approaches to calibrate cameras. In this process you estimate the intrinsic parameters using a checkerboard of known size. I'm confused on how the focal lengths are found. The issue is even with a known size, the location of the board remains indeterminate. Thus unless I am missing something every...
I am studying GMSK modulation for an understanding its realisation in practice. I have the question posted in 2021: "Difference between MSK and GMSK?" And Mr Boschen explained how the modulator could be implemented. Since instantaneous frequency is the time derivative of phase, the frequency vs time for GMSK is a serie...
I want to understand how to interpret ADEV plots. I was of the understanding that if we see a peak at 1sec of TDEV plot there is a 1Hz noise in Time Interval Error(TIE) Capture. To understand the relationship between TIE and TDEV I considered TIE to be a sinusoidal wave of 1Hz sampled using a signal of 20Hz (much great...
I am using an IIR bandpass filter designed using the elliptic filter in matlab to filter out unwanted frequencies. The filter is fed with a test input that has a dc offset and sine wave of frequency within the passband. The output has some ripples or bumps at the peak that makes the waveform look slightly distorted. Ho...
I am writing some software to benchmark an audio noise filtering method using SNR as an evaluation metric. One software component generates noisey audio by taking a clean audio file and a noise source file and simply adding the components. The clean file is usually longer, so the noise source is looped and/or padded to...
I am filtering my input into four frequency bands using IIR filters. The output of each band has some disturbances or ripples in it. I am looking for a method to normalize the four bands so that all the noise is suppressed and basically remove the noise power levels from each band. How to identically normalise all the ...
I have designed four IIR bandpass filters in MATLAB. The filters have their poles and zeros inside the ROC in Z-domain.I have checked that the filter is stable using the isstable function in matlab.Also I have plotted the poles and zeros to verify myself that they are within the unit circle.But when I implement it in c...
I have the following transfer function: $$H(z) =\frac{\alpha z}{(z-(1-\alpha))}$$ I'd like to find zeros and poles of it by scipy.signal.tf2zpk: from scipy.signal import tf2zpk alpha=0.4 (zeros, poles, gain) = tf2zpk([0, alpha], [1, alpha-1]) it is clear that transfer function has zero at z=0, but why tf2zpk doesn't ...
I've inherited some FPGA code implementing an interpolation by 2 with a FIR low pass filter. The code came with a cocotb test bench that also models a filter (scipy.signal.lfilter) and then compares the VHDL implementation against the model. The VHDL and the model agree. I've used some captured ADC data of a baseband 2...
Given the mathematical expression for the discrete Gabor time-frequency atom $$g_{s,u,\omega,\theta}(n) = \frac{K_{s,u,\omega,\theta}}{\sqrt{s}} e^{-\pi(n-u)^2/s^2} \cos[2\pi\omega(n-u)+\theta]$$ where the variables are described in the original paper here (page 6 of the PDF), how do I solve for the normalization const...
I am trying to resample a signal in Python, only by giving the new and the old step. My function works fine until here. But now I want to start the resampled signal at a specific point other than the initial one, so it will match the points of another signal I have for multiplication. import matplotlib.pyplot as plt im...
I'm given the autocorrelation of a WSS random process and the question asks to find the sampling rate that yields uncorrelated samples. As far as I understand where looking for the $\tau$'s where $R_x(\tau)=0$ but these never occur. The solution claims that $n/f_o$ is such sample rate. I can see that this will make th...