instruction stringlengths 31 27k |
|---|
I am new in signal processing and trying to calculate formant frequency features for different .wav files.
For calcuating formant frequency, I need three parameters values :
Linear Prediction Coefficients ( LPC )
root
angle
I am trying to calculate Linear Prediction Coefficients ( LPC ) using librosa.core.lpc in py... |
I have computed a Spectrogram 2D array as :
How to develop a spectrogram (2D array) from audio signal?
Now, I want to find spectral peaks to find the respective temporal displacement. In python using STFT or spectrogram, I got the peaks as following :
How do I find these peaks programmatically? I tried a way of findin... |
I wrote Python scripts to create a spectrum analysis of audio files. The goal is to compare multiple spectrums to get the dB difference at certain frequencies.
When I started using the Sonic Visualizer tool for my first analyses, then switched to my automated solutions using Python with SciPy and NumPy, I noticed a lar... |
() = cos(200) + 2cos(320). (), is produced by sampling () at sampling frequency $f = 300 Hz$.
Is the signal sampled or aliased and why?
|
A Continuous Time signal is given by $() = \text{cos}(200) + 2\text{cos}(320)$. A sampled signal, $_()$, is produced by sampling $()$ at sampling frequency $f = 300 \text{ Hz}$. If we reconstructed $_()$ signal by filtering it using an ideal LPF with cutoff frequency $f_c = 250 \text{ Hz}$ and gain $T$. What would be $... |
I have a csv file of data sampled with Ts=1ns which looks like this:
This signal is a step response of some system which responds to a step of value 1.
I'm trying to get the impedance profile of the signal by using
$$
Z\left( f \right)=\frac{V\left( f \right)}{I\left( f \right)}=\mathcal{F}\left\{ \frac{1}{A}\frac{\pa... |
I'm trying to implement BLUE estimator in MATLAB for source localization and after my research I've come up with a theoretical example in Steven Kay's "Fundamentals of Statistical Signal Processing: Estimation Theory" book (Example 6.3).
In this solution, while estimating $\theta$, the Gauss-Markov theorem is used and ... |
We know that , generally greater the ppi, the greater the spatial resolution of an image and hence quality
But why do the size of icons keeps on decreasing as we change display settings of our monitor/display device to upward trend
Such as for example going from 720p to 1080p as was seen on windows xp computer in earl... |
What is the the difference between time complexity and sample complexity in the context of algorithm development?
I'm currently studying the sparse Fourier transform and this idea of sample complexity keeps coming up. The majority of sample complexity literature is in the context of machine learning which is not what I... |
I am looking to calculate the signal energy of real, sampled acoustic data. According to this source, the energy of a continuous signal is:
$$\tag{1}\hspace{1cm} E_x = \int_{-\infty}^{+\infty}|x(t)|^2dt $$
This is intuitive as we are often taught that the energy is given by the area under the curve, for a power curve. ... |
https://www.eee.hku.hk/~culei/publication/ISCAS-0590.pdf
This paper talks about a way to approximate FIR filters using IIR via a method known as Discrete-Time Vector Fitting. I am confused on how I would implement this into Matlab.
Can anyone help me?
|
Hey Stack Overflow community,
I've been given a series of datasets that resembles a square pulse, and ideally looks like the following:
This particular plot is composed of many sets of data.
I'm wondering if there is a way to reduce the noise found in the data, and retrieve just the area under the square pulse with th... |
I am new in DSP, trying to calculate fundamental frequency ( f(0) ) for each segmented frame of the audio file. The methods of F0 estimation can be divided into three categories:
based on temporal dynamics of the signal time-domain;
based on the frequency structure frequency-domain, and
hybrid methods.
Most of the... |
Nyquist channel capacity(Cn) used for theoretical noiseless channel $C_n=2B\log_2(M)$
Shannon channel capacity(Cs) for noisy channel $C_s=B\log_2(1+\text{SNR})$
So is there a relationship between Nyquist and Shannon channel capacity?
is Nyquist channel capacity($C_n$) the upper limit? so $C_s \le C_n$?
|
I am trying to to find a magnitude and phase response of a FIR filter as in problem 5.18 Digital Signal Processing 4th Edition by John Proakis. I got the frequency response as:
$$
H(\omega ) = 1 - e^{-j4\omega}
$$
I checked the manual solution and I got the same answer, but in that manual solution, the answer could be ... |
I have a matrix $X$ of size .i.e $(8,8)$ with $M$ columns and $N$ rows. Suppose I took it's $iFFT$ column wise resulting matrix $x$ of size $(8,8)$ too,
$x = F^HX_{(:,m)}, $ ...... (1),
where $F^H$ is Fourier matrix which is complex numbers and $m = 0,1,....M-1$ the selected column.
After organizing signal $x$... |
I want to smooth the phase of a measured (transfer) spectrum without destroying unit-complexity of the phase factor. Suppose
$$f:\mathbb{R}\to \mathbb{C}\qquad , \qquad f(\omega)=r(\omega)\cdot {\rm e}^{i\phi(\omega)}$$
is the spectrum, then it is well-known how to smooth the power spectrum (i.e. $f^*f=r^2$): just mult... |
I have the channel estimation and noise power estimation and I need a matlab implementation of time domain siso channel Equalization.
Theory:
Consider the FIR filter of length $N+1:$
$$
\hat{s}_{k}=\sum_{m=k-N}^{k} h_{k-m} y_{m}=\sum_{i=0}^{N} h_{i} y_{k-i}
$$
We need to find the coefficients $\left(h_{i}\right)$ tha... |
I have a lack of understanding of the following questions:
If I have a signal from a motor that is recorded with an accelerometer. And the rotating speed of the motor is 150Hz(rpm 9000 ), I can see in the frequency spectrum harmonics of the fundamental frequency(150hz). The harmonics are integer multiples of the fundam... |
I'm looking at the differential non-linearity specification for an Analog-Digital converter. The spec sheet claims that the DNL ranges from -1LSB to +1LSB, with a typical value of $\pm$0.6LSB. What exactly does that mean? Is this some value that's taken statistically? Does this mean the 3$\sigma$ value is 0.6LSB? I.E.,... |
Let $m$ be a composite, and $\mathbb{Z}_m$ is the residual ring of modular $m$. The $\mathbb{Z}_m$ is clearly a Non-UFD. What are the applications of the polynomial with coefficients defined on $\mathbb{Z}_m$ in digital signal processing?
Or, what are the applications of algebraic structures on $\mathbb{Z}_m$ to digit... |
I am trying to demodulate GFSK signal, and extract the packets using GNURadio.
TX information:
It is basically BLE transmission but customized. BW: 2MHz, data rate: 1MSymbols/sec, 1 bit per symbol. Each packet is 160 bits (which equals to 181us duration). And the packets are repeated every 100ms, hence approx. 10 pack... |
I am pretty new to the field of 3D reconstruction and overwhelmed by the large amounts of different methods. I am trying to find the correct method for my use case:
Setting: I have a stationary camera. In front of this camera, an object is moving from left to right in a straight line. The camera only sees a part of the... |
I'm trying to get Parseval theorem working on a one-sided FFT. So far I have this code (matlab):
%% ODD
a = [1 2 3 4 5];
A = fft(a);
A1 = abs(A);
A2 = abs([A(1) 2*A(2:3)]);
Ea=sum(a.^2)
EA1=sum(A1.^2)/5
EA2=sum(A2.^2)/5
%% EVEN
b = [1 2 3 4 5 6];
B = fft(b);
B1 = abs(B);
B2 = abs([B(1) 2*B(2:3) B(4)]);
Eb =sum(b... |
I am trying to perform real-time convolution on an audio stream using a fairly large FIR for convolutional reverb.
I found a great paper explaining how to do just that: Gardner, 1995. But, I'm new to this field and I'm still confused about some of the details and how to implement it.
Does anyone know of an open source... |
Originally this question was asked EE SE yesterday but then i saw a comment about DSP SE ,so i am posting my question again here ,in hope to get much better and relevant answers
Link of EE question is
https://electronics.stackexchange.com/questions/497036/signal-processing-vs-image-processing
My question was/is
Althoug... |
much has been said about convolution of continuous time signals. But what about frequency convolution?
For instance, consider the function:
$$f(t) = \text{sinc}(t)=\frac{\sin x}{x}$$
I take the Fourier of f(t):
$$\mathscr{F}\Big\{f(t)\Big\} = \mathscr{F} \Big\{ \text{sinc}(t) \Big\}$$
$$F(\Omega) = \text{rect}(\Omega)... |
If the process of finding Fourier coefficient is finding the projection of a signal on a member from an orthonormal basis, basis which is continuous in frequency. How can it be that Fourier coefficient is an integral and signal representation, which is the sum of these coefficients multiplied by the projections, is a s... |
For example, if an equalizer model experiences a delay due to its processing, the equalizer may misinterpret the boundaries between the equalized symbols it outputs and, therefore, return meaningless results.
How to align the output data by finding the right delay?
Here a example of a simple equalizer implemented in ... |
Here's my understanding:
$$y(t) = x(t)~ \cos(\Omega_0 t)$$
I take the Fourier transform of y(t) and I get this result:
$$Y(\Omega) = \frac{1}{2}X(\Omega - \Omega_0) + \frac{1}{2}X(\Omega + \Omega_0)$$
If the Highest frequency of $X(\Omega)$ is $\Omega_{N_X}$ ,shouldn't the highest frequency of $Y(\Omega)$ just be:
$$... |
I am reading a journal on optimal signal detection by mobile sensor. It is mentioned:
How should we plan to robots’ motion in order to maximize the detection probability? Assuming the source emits a known signal, the optimal detection algorithm is a matched filter (i.e., convolve the known waveform with the received s... |
I used matlab for my projects but wondering is there any framework similar but easier than matlab.
|
I have a simulation to make where I have an array of transmitters that transmit the same signal. At a random point, which I have to consider as a receiver I have to measure the phase shift of the signals and also measure the total signal strength. The requirement is that the transmitter emits the same signal but with d... |
I'm currently trying to understand this paper on a Sparse Fourier Transform.
On page four, there is a section on a sub-sampled FFT. The purpose of this section is to show that you can compute a sub-sampled FFT using less computations than the original FFT. So if I have a signal of size N, I could compute a subsampled ... |
I notice that almost all papers use the number of subcarriers of 64, 128,256.. so on, which is a number of $2^k$ and $k$ is an integer.
Why is the number of subcarriers always like that? Can we use any number or it must be only using one of those numbers?
|
I am using USRP to transmit and received MIMO frames similar to Wi-Fi standard that I created on my own. After receiving the signal, it is processed as described in the standard.
While I plot the QPSK constellation points after frequency and phase correction, I have a plot (shown above) which is noisy. Now I want to p... |
Hi ive got a uni assessment which requires me to find the Peak signal to noise range of my photos, I was wondering if there was an app or a simple way of measuring the noise of a singular picture, any help or input would be greatly appreciated as I am genuinely stumped.
|
I am implementing a research paper, in which i have to implement signal transmitted by RF source in matlab. The equation given in this paper is : $s(n)e^{j \cdot 2 \cdot \pi \cdot f \cdot n}$. Any help in this regard would be highly appreciated.
|
I am trying to implement a code in MATLAB to show harmonic content and order in Matlab. my fundamental is supposed to be at harmonic order 1, however the ouput plot I am getting is wrong and I am having difficulies proceeding.
I am a first time user of this forum and i have posted the same question in the matlab site
H... |
How to compensate for the frequency offset of a PAM, PSK, or QAM signal when we are using single carrier transmission, I am looking for algorithms, explanations to be able to carry out the implementation on matlab
|
In order to detect the presence of a signal impaired by noise, what is the best technique (best metrics) one can use ?
energy detection,
autocorrelation,
matched filter based sensing,
CRC
data aided or not ..
an explanation of the underlying algorithms would also be appreciated
|
We have developed an android app (Noise Tracker) for noise measurement using smartphones.
It displays noise levels in Leq sound pressure levels. I want to implement A & C weighting. As per my knowledge it is desired to convert the received signals from time domain to frequency domain and extract the noise levels for ea... |
I am designing a controller for a system using several methods, one of which is a discrete method. In the continuous time I am looking at a logarithmically spaced frequency grid in the range $$\omega \in [0.1,1]$$Now I want to design a controller in the discrete time, but I want to evaluate the h-infinity norm (which I... |
I have an equalized constellation for 16 QAM. The constellation is equalized by LMS algorithm.
I want to calculate the EVM for the equalized constellation. How can I calculate this so that the EVM lies within the threshold limit?
|
Suppose we have a total number N= 2048 points in a data and we wish to have zero centered Gaussian. There are two possibilities that we use the x-axis as
x1=[-1023:1:1024]; % x axis spans from -1023 to 1024 with 1 unit steps
x2=[-1024:1:1023]; % x axis spans from -1024 to 1023 with 1 unit steps
and if we make two zer... |
When we zoom an image, our sampling rate will be changed(increased) or sampling rate will not change because of zooming operation?
|
I've implemented audio time scaling using a phase vocoder approach because I wanted to answer this question here (and learn something in the process). Since that question has been closed, I may as well ask a new question about audio time scaling.
Here are some examples of what you might get if you use the approach I di... |
When simulating a PSK signal in MATLAB or Python, I often create an impulse train where each impulse is modulated with a symbol. This modulated impulse train then passes through a pulse shape filter to yield the PSK signal.
However I am wondering if this is indeed how PSK signals are generated in real radio electronic... |
I was trying to sample a 12.8 MHz sine wave (78.125 ns) signal at every 160us (micro seconds). Since 160us is multiple of base period 78.125ns(x2048) i expected to get a sample of fixed amplitude but instead what I am seeing is a another periodic sine wave. I don't understand why ?
I am doubting quantization error but... |
If I have:
$$ y = x_r+jx_i + n_r +j n_i$$
with $n_r$ and $n_i$ Gaussian with mean 0 and variance $\sigma^2$, what is the pdf of the envelope |y| and phase(y)? Is it still Rayleigh-distributed and uniform, respectively?
|
$$\delta(n) - \frac{1}{2} \mbox{sinc} \left(\frac{n}{2}\right) = (-1)^n \frac{1}{2} \mbox{sinc} \left( \frac{n}{2} \right)$$
The picture shows what I've tried
|
The above image on the right was obtained by following steps
Multiplying the image on the left by $(-1) ^ {(x+y)}$
Computing the DFT
Taking the complex conjugate of the transform
Computing the inverse DFT
Multiplying the image on the left by $(-1) ^{ (x+y)}$
What is the significance of each of the above 5 steps? Her... |
pretty much new here.
This question comes from an Online course quiz which i have already completed but cant seem to get a good sleep over, just because i cant figure it out.
Below is the question in the Image.
Given the range of the sample distribution and the error probability, from what I know,
$P_{err} = erfc(G... |
Consider two arrays X&Y. How can you assign as shown below,
X(1) = Y(end);
X(2) = Y(end-1);
...
Length of array changes with time.
|
EDITED 3-Jun-20
I have a lorentzian lineshape $$ f(z) = \frac{1+iz}{R(1+z^2)} \qquad (1)$$ where $$ z=\frac{-2\pi(f - F0)}{R} \qquad (2)$$ and $ R $ is the decay rate, $ f $ is the frequency, $ F0 $ is the peak frequency.
The time domain function should be $$ \exp(2\pi iF0t)\exp(-Rt)/Fs \qquad (3)$$
Where $ Fs $ is th... |
My program is as follows:
n = 0:1:127;
s1=exp(2*pi*1i*(0.05*n+0.1*n.^2/(2*128)+0.2*n.^3/(128*128*3)));
s2=exp(2*pi*1i*(0.1*n+0.1*n.^2/(2*128)+0.2*n.^3/(128*128*3)));
s3=exp(2*pi*1i*(0.4*n+0.1*n.^2/(2*128)-0.5*n.^3/(128*128*3)));
s4=exp(2*pi*1i*(0.45*n+0.1*n.^2/(2*128)-0.1*n.^3/(128*128*3)));
s = [(s1.') (s2.') (s3.') (... |
Let's say I have the following FIR filter $h[n]$, so the output $y[n]$ for an input $x[n]$ is
$$
y[n] = \sum_{k=0}^{m-1}x[n-k]h[k]
$$
The inverse of this filter is given by the IIR difference equation
$$
y[n] = \frac{1}{h[0]}\bigg(x[n] - \sum_{k=1}^{m-1}y[n-k]h[k]\bigg)
$$
Is there some constraint I can put on the filt... |
So I am solving receiver figure of merit. I have gain in dB and noise temperature in K.
I know
[G/T] = [G] - [T] dB/K
Here should I need to take T in dB or just as K?
|
In terms of analog signals, we can represent digital signal as :
$$
x[n] \triangleq x_{a}(nT) = \int_{-\infty}^{\infty}X_{a}(f) \, e^{j2\pi f nT} \ \mathrm{d}f
$$
While if we focused on the integral on the right side and according to the Digital Signal Processing by John Proakis, chapter 6.1, we can rewrite it into :
$... |
I am trying understand LTE channel estimation. I have multiple questions:
How much phase shift does a typical LTE channel have?
Can all that be corrected using pilots?
Where do we typically implement these algorithms? In a processor or FPGA? Because the OFDM system will be in an FPGA or similar platform.
|
I am having a hard time understanding how the frequency vector is being derived in this code. I would appreciate any guidance from anyone.
Frv = linspace(0, 1, fix(numel(FTSignal)/2)+1)*Fn;
|
In continuous time Periodic Fourier Series has smallest n as possible, since it is an integral and a length of the repeating time (period time) which is T0. In discrete time however we don’t have units of time at all. Explain in your own words the intuition of avoiding time units in Discrete Time Fourier Series of a s... |
I am getting confused from the implementation regarding matlab function filter([b0,b1,b2],[a1,a2],x) and other function similar as freqz. I do not understand which sign I must put in a coefficients, since there is two different way of writing the transfer function for the same second order filter as you see on the thes... |
I have a matrix of 10 column, each column has measurements at different times. I have a second matrix also of 10 columns, each consisting of measurements at different times.
I want to carry out cross correlations of every combination within this matrix. Example, xcorr row 1 matrix 1 with row 1 of matrix 2, then row 1 o... |
I'm trying to implement IDFT using multiple smaller forward DFTs but am confused as to how to do so.
So, I know that the N-point IDFT can be expressed in terms of the forward DFT by:
$$
IDFT = \frac{1}{N}[DFT(X_n^*)]^*
$$
Also, an N-point DFT can be implemented with two N/2-point DFTs by performing a DFT on the even-in... |
A definite integral is a convolution with idial all '1' filter(by the theory)
so i tried to test this issue with MATLAB.
i have taken a function called fun made an integral over it in 1e-6 - 20*e-6 interval the result is called simbolic_int_result which 37.7
then i have taken fun sampled it in 1e-6 - 20*e-6 interval a... |
So I was reading this textbook - Digital Signal Processing by Proakis and Manolakis. The authors define the cross-correlation operation for 2 energy signals $x(n)$ and $y(n)$ in section 2.6.1 as:
$$ r_{xy}(l)=\sum_{n=-\infty}^{\infty}x(n)y(n-l) $$
In section 2.6.3, they define the cross-correlation operation of two po... |
In training examples we always do a transformation on signals which have t-scale in labeled in radians.
I understand that Pi is just a number, but I still have some troubles to understanding how to relate real-life continuous signal with t-labeled in seconds.
In my head when we have real-life signal (Amplitude on time)... |
Below mentioned steps has been done but I don't know if I am doing the right way of Normalizing the 2 signals.
Ref_1 = load('Tx_16QAM_25_New.txt'); % transmitted data
Tx(:,1)=Ref_1(:,1)+1i*Ref_1(:,2);
Tx = Tx(:,1);
Tx1=rms(Tx)
normTx=Tx./Tx1
Eq=c'*X; % received symbol estimation
Eq1=rms(Eq)
NormEq=Eq./Eq1
Normalized ... |
Pardon my layperson understanding. My application is audio design.
What is the correct operation / algorithm to compose two impulse responses (IRa, IRb) into a third impulse response IRc such that it equals the response of running a signal through IRa then IRb?
Am I correct that since IRs represent the response to the ... |
In case of digital images, what is the relationship between sampling and number of pixels? For upsampling, the number of pixels increass, and for down sampling, the number of pixels decrease??
|
i have a basic function exp(-x.^2).*log(x).^2 which i integrate in a certain interval.
i want to multiply my basic function with a vectoric coefficient called coef_vec that varies with the interval.
so if the integral is at 5 my basic function whould be multiplied with coef_vec(5).
i know that its som how turning the i... |
In Gonzales' book Digital Image Processing in the section Local Histogram Processing, he writes, for a 2D image:
At each location, the histogram of the points in the neighborhood is
computed and either a histogram equalization or histogram
specification function is computed and either a histogram equalization
or... |
A recent project requires me to get into some basic DSP, in C.
I receive PCM samples of a BFSK signal (Bell 103). The sample rate is 8 kHz.
The mark and space frequencies are 1070 and 1270 Hz.
To determine the frequencies from the PCM samples, and thus the 1's and 0's, I wanted to use the Goertzel algorithm.
However, ... |
I am trying to compare power spectral density values (obtained from dsp.SpectrumAnalyzer) with PSD values obtained from hardware which has a VSA.
MATLAB's documentation says that " The power spectral density is the magnitude squared of the spectrum normalized to a bandwidth of 1 hertz." and expressed in dBm/Hz
whereas... |
I want to solve the following optimization problem, in which I have two cost functions $J_1 = \mathbf{w}^T R_1 \mathbf{w}$ and $J_2 = \mathbf{w}^T R_2 \mathbf{w}$, where $R_1$ and $R_2$ are covariance matrices (symmetric PSD).
The problem is to find $\mathbf{w}$ such that $J_1$ is minimized and $J_2$ s maximized constr... |
For example, we write $$\delta(at + b) = \frac{1}{|a|}\delta\left(t+\frac{b}{a}\right)$$
In a similar way, $$\delta(t^2 + t + 1)=\underline{\hspace{1cm}}$$
Thanks for the help.
Purna.
|
System Model
Consider the single-input single-output (SISO) communication system in the figure below:
where the information bit stream is encoded and mapped such that the output of the encoder is a sequence of encoded bits stream $\mathrm{c}=\left[\mathrm{c}_{1} \mathrm{c}_{2} \cdots \mathrm{c}_{\mathrm{N}}\right]$ w... |
I was reading MATLAB's documentation on dpskmod. They gave an example of an $\pi/8$-DQPSK. I felt that this is strange as I have seen $\pi/4$-DQSPK and $\pi/8$-D8PSK, but I have not seen $\pi/8$-DQPSK.
Attached is a screenshot of the documentation showing $\pi/8$-DQPSK with 16 clusters in the constellation:
My questi... |
I am back with a question related to my OFDM Transceiver System that I am designing where I use DUC and DDC. I could get rid of the high BER problem. I realized that the problem was due to the phase error occuring between the transmitter and the receiver side as I saw the constellation diagram at the receiver rotating ... |
I'm new to the topic so forgive the trivial question.
I am trying to understand data preprocessing for EEG signals. As I understand, after recording continuous EEG signals, they should be band-pass filtered and segmented into epochs (so the window of time that is relevant to the experiment). After that, these epochs sh... |
I have an SDR receiver I'm interested in making into a FMCW radar. The bandwidth is somewhat narrow as it only samples at 64 MSPS.
There is a problem in that without a bunch of embedded programming the RX and TX chains won't have their timing synchronized. Basically the up-conversion oscillator is synchronized but the ... |
As detailed in this post Can I set a constraint on the first tap of an FIR filter such that its inverse is stable? I show how Cauchy's Argument Principle can be used to easily confirm if an FIR filter is minimum phase, meaning all zeros are inside or on the unit circle, or the converse, maximum phase, simply by plottin... |
The attached article talks about hue,saturation and intensity images. Where is each of them in fig6.25 ? I know that fig(b) shows Hue image but where are other two(saturation and intensity images)
|
Consider following LTI system $$y[n] - 2y[n-1] = x[n]$$ where $x[n]$ is the input to the system and $y[n]$ is the output. Let $x[n] = \cos[n\frac{\pi}{3}] + 2\cos[n\frac{\pi}{2} + \frac{\pi}{4}]$, determine the Fourier series coefficients for $y[n]$.
My try: First of all we should determine impulse response $h[n]$. S... |
How to design a ideal lowpass filter by cutoff frequency of π/4 in the form of FIR filter by 64 samples using matlab?
|
I posted this originally in the electronics stack exchange, as it's for an electronic purpose (digitally controlled boost) but it was pointed out to me that this would be the more appropriate place - so here goes!
As mentioned, I recently started developing a digital regulator for a DCM boost and I've implemented the f... |
Causality of a LTI transfer function $G(\tau)$ in the continuous time domain, i.e. for
$$y(t)=\int G(\tau)x(t-\tau)d\tau$$
is characterized by
$$G(\tau < 0) = 0$$
By the way, in the frequency domain, causality is characterized by the Kramers-Kronig relations, which is why I am particularly interested in the Fourier tra... |
I want to implement this function $[n,m] = a^{n+m}u[n]$ using 41×41 array, where $u[n] =1$ since all the value will be positive, and $n,m$ from 0 to 40. But it gives a wrong value.
N=40
M=40
a=0.9
x =zeros(41,41)
for col = 1:41
for row = 1:41
for k=0:N
for i=0:M
x(row,col)=a.^(k+i)*1;
end
... |
I have the following image, and I do like to count the pixels inside the ring to get the area.
I did some morphological operations as a kind of post-processing to make the image as much as possible with clear smooth edges.
I tried to do that in different ways as you can see in the code down, but none of them was op... |
"The state-space filter representation is especially powerful for time-varying linear systems."
Why is this the case?
What is the explanation behind the claim?
|
I need filter designs that will reproduce or approximate each of the following:
1) ${\rm magnitude} = e^{-cf^{2}}$
2) ${\rm magnitude} = e^{-\frac{a+b\sqrt{gf}}{df}}$
Where: $a$, $b$, $c$, $d$ and $g$ are constants $>0$, and $f$ is frequency in Hz.
Or if it's easier or an equivalent problem, the multiple of the two fil... |
In attempting to answer this question by @Oliver here: What characterizies 'causality' for a finite FFT? I have considered the minimum requirement to avoid time domain aliasing in the Discrete Fourier Transform, or more generally any application where the frequency domain is sampled. Similar to sampling in time at at l... |
Recently, I read a paper. In it, it said "a $32^{nd}$ order 100MHz bandpass filter". So, how the filter was designed? Does it mean this filter have 32 taps?
|
I'm trying to create a FIR filter from a magnitude equation, where my starting equation provides the magnitude (amplitude) between 0 and 1 for any given frequency in Hz.
I posted the magnitude equations I would ideally like to convert into an FIR filter here:
https://math.stackexchange.com/questions/3666215/how-to-do-a... |
I'm coding with python and I just started to use the Hilbert transform from scipy.signal. Consequently, to check the result I got I tried to verify a property of the Hilbert transform:
$H(H(\vec{x})) = -\vec{x}$
So I implemented the following code:
import numpy as np
from scipy.signal import hilbert
# my input vector,... |
As shown in attached snapshot,chap6 of gonzalez 3rd edition
How the highlighted expression for S in eq 6.2-3 is working?
and what will be range of values of S?
By range,i mean,maximum and minimum values of S.
and by working of equation , i mean how the second term of equation and specially the part [min(R,G,B)] is wor... |
Given
$$h[n]=\frac{\sin\left(\frac{\pi}{3}n-\frac{\pi}{3}\right)}{\pi n-\pi}\text,$$ use the table to find the frequency response $H(\omega)$.
I don't have any clue that how to deal with the denominator, could anyone help me please?
|
I'm trying to estimate SNR level in db to use it as a switch for an speech enhancement method that i'm working on. The noise level is not known and can be estimated using a posterior SNR algorithm. Considering having noisy speech signal power spectrum and estimated noise power spectrum (using a posterior SNR estimation... |
We sample each other sample (01010101). Now say we have a signal - that is inside the original sample which has the pattern of (010-1).
Decimation gives us 000 for this sub-signal.
How to prove this is an example of aliasing? Or why else do we have lost information?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.