Skip to main content
Share Your Experience: Take the 2024 Developer Survey
5 votes
Accepted

Why i am not getting same convolution plots?

The problem is your use of Matlab's conv function. You compute your signals over a time interval of [-1,1], but are presenting the convolution over the interval of [-2,2]. To return a convolution that ...
Stephen's user avatar
  • 361
3 votes
Accepted

Taking an FFT of a signal that wraps around

The best solution is to unwrap the phase data before computing the fft. Matlab's unwrap function works as follows: Whenever the jump between consecutive angles is greater than or equal to π radians, ...
Stephen's user avatar
  • 361
2 votes
Accepted

realistic sampling - where am I wrong?

It is hard to follow what you did as your nomenclature is inconsistent and you didn't explicitly define any of it. I believe the bit you got wrong was the Fourier transform of $h\left[t\right]$, with ...
Stephen's user avatar
  • 361
2 votes
Accepted

Decay of the impulse response for poles contained in the unit circle

The transfer function $G(z)$ is usually expressed as a ratio of $\mathcal{z}$-transforms in the following way: $$G(z) = \frac{Y(z)}{X(z)} = \frac{b_0 + b_1z^{-1} + b_2z^{-2} +\,\cdots + b_Mz^{-M}}{1+ ...
Jdip's user avatar
  • 6,265
1 vote

Comparing Spectral Leakage in Sine and Cosine Functions

The DFT is periodic in both domains (time and frequency). It's easiest to see the "discontinuity" that causes the spectral leakage if we plot two periods of the signal At sample time $n=100$...
Hilmar's user avatar
  • 45.3k
1 vote

Why is white noise uncorrelated for any two different samples?

You are correct in pointing out that the definition of the Dirac delta is not that it equals zero at $\tau \neq 0$ and infinity at $\tau = 0$, but rather that it integrates to one over its entire ...
Baddioes's user avatar
  • 1,040
1 vote
Accepted

FFT comparisons between g.USBamp software vs BCI2000 software

Not really an answer but to long for a comment. That's most likely pilot error on your part but it's hard to tell without looking at the details of what you are doing. None of these look right but it'...
Hilmar's user avatar
  • 45.3k
1 vote
Accepted

very basic confusion about the bandwidth of constant signal function

Usually, one would assume that the circuit is not in a transient in order to be able to talk about a "frequency analysis". So, assume that you have a DC source of K volts switched on since $...
coal's user avatar
  • 36
1 vote

Taking an FFT of a signal that wraps around

Another sleazy way to unwrap phase is: phase = cumsum([angle(X(1)); angle( X(2:N/2) ./ X(1:N/2-1) ) ]); You still have to discern the phase at DC. Which is ...
robert bristow-johnson's user avatar
1 vote

Fourier series - finding its period from frequency representations

HINTS: Note that the given numbers are not indices but actual angular frequencies. So your result should be a number, not just a multiple of the unknown quantity $\omega_0$. In point 2, there's one ...
Matt L.'s user avatar
  • 90.3k

Only top scored, non community-wiki answers of a minimum length are eligible