instruction
stringlengths
31
27k
I wish to calculate the Final Value of systems in which a high pass filter of the output feeds back into the input. A simple example would be: where is a 1st order high pass filter with transfer function: I was expecting the y in the above example to have an infinite final value to a step in x, because keeps feedin...
I fitted the function: f(t)=A_o+A_1 cos(wt)+B_1 sin(wt) to the following periodic discrete signal: t=0:0.15:1.5; y=[2.200 1.595 1.031 0.722 0.786 1.200 1.805 2.369 2.678 2.614 2.200]; Where w=2*pi / T, and T=1.5 seconds. It happens that the fitted curve presents a phase shift with respect to the data. I consulted boo...
Hi I'm trying to solve the problem when studying for an upcoming test. The given solution is $1.2503 e^{jnπ/4 -0.2991}$, and is found by computing $H(Ω)$ and evaluating this at $Ω=π/4$. when I try this I get $H(π/4)=(1/3)^8=0.000152$ and therefore the convolution is $0.000152e^{jnπ/4}$. I'm not sure where I'm going wro...
I'm currently studying the Fast Wavelet Transform. As I currently understand, the Fast Wavelet Transform is implemented as a QMF filter bank where the frequency resolution decreases as the signal is low-pass filtered and sub-sampled. Pictured below: However, I'm curious as to why this "works". Let's say I have a true ...
I'm trying to find the equivalent frequency domain filter, $H(u,v)$, of a 3x3 spatial mask that averages all neighbours of a point $(x,y)$ in said 3x3 neighbourhood excluding the point itself. So far, I have been able to calculate: $$g(x,y) = 1/8 \cdot [f(x+1,y) + f(x+1,y+1) + f(x+1,y-1).... f(x-1,y-1)]$$ -(no $f(x,y)...
Can anyone prove that $$\mathrm{avg}\left(\frac {a_i}{\left(1+a_i\right)^2}\right) \ge \frac{\mathrm {avg}({a_i})}{\left(1+\mathrm{avg}{(a_i)}\right)^2}$$ for a sequence of positive valued elements $a_i, \quad\text{with}\quad i= 1,2,\ldots,N$?
We have this signal: $$\operatorname{rect}\left(\cos\left(\frac{\pi t} {2}\right)\right) $$ I must find the average power , how can i get there ? My solution: I have seen that $$-\frac 12 < \operatorname{rect}\left(\cos\left(\frac{\pi t}{2}\right)\right) < 1$$ is for $$\frac 23+k \pi <t < \frac 43 + k\pi$$ so in a peri...
Assume I have a five-sample time-domain sequence (none of the five samples are zero valued) and the time period between each pair of samples is one second. Measured in seconds, what is the time duration of my five-sample sequence?
I am trying to do nuclei detection from a histopathological image. The original image and the mask (ground truth image or segmented image) are as follows: The tissue image is (128,128,3) [RGB] and the mask is (128,128). Now, if I visualize with grayscale colormap: My ultimate aim is to get bounding boxes for each nuc...
I'm loading a signal with librosa in python. With the original sample rate of 22050 Hz, i get the following waveplot: When i choose to resample my signal with the sample rate of 512 Hz, i get the following waveplot: My question is, how come the amplitude is less with 512 Hz than with 22050 Hz? I assume that since the...
Consider a system for which the input $x(t)$ and output $y(t)$ are related by the differential equation $$\frac{d^2y(t)}{dt^2} + \frac{3}{2}\frac{dy(t)}{dt} - y(t) = x(t) \tag{1}$$Determine $h(t)$ for each of the following cases: The system is stable. The system is causal. My attempt: I know that this question can be...
Overall aim: to take a short signal (likely to be noisy with some tonal components) and filter it into third-octave bands (TOBs), apply frequency-dependent spectral adjustments, then recombine the signal, apply some other time-domain processing, then refilter again back into TOBs. Phase and amplitude to be retained as ...
I want to write a C-program under Linux to synthesize sounds on a sound card by defining their ADSR envelopes (rather than playing previously sampled sounds. -- Background: Creating an electronic music instrument.) I've come up pretty dry in a first search. In a pinch I'm also willing to try a different language than C...
I have implemented digital high pass filter with below specs: Sampling frequency = 5333 Hz Cutoff frequency = 10 Hz Order = 3 We are facing problem like below: As per result shown above signal gets attenuation after $1000$ data points. How can solve this kind of issue? Any help/ suggestion would be great and appreciab...
Just thinking about it, why does fine CFO cause rotation only? I only see diagrams that show rotation of the constellation. We assume this is a complex magnitude frequency domain plot In order for rotation to occur, the complex magnitude would have to stay the same when CFO occurs but the complex argument differ, but ...
I'm trying to calculate RMS of an AC signal which input frequency may vary from 40 to 70 Hz. I would like to use a window function because it accounts for frequency variations and also my ADC sampling frequency is not synchronized with the input frequency range. I found the code below which fires an interrupt every 200...
I'm re-posting a question of mine from math.stackexchange in hopes that folks here might have the right kind of expertise. I'm looking for a systematic way to approximate the sign function $$\operatorname{sgn}(x) \triangleq \begin{cases}1&\text{ if }x > 0\\ 0&\text{ if }x=0\\ -1&\text{ if }x<0\\\end{cases}$$ by functio...
Is there any signal which is periodic in Continuous Time but not in Discrete Time? I have this doubt prevailing in me for a long time. Are all CT periodic signals periodic in DT? If so, how is sin wave a periodic signal? It is periodic only at intervals of pi radians, which is an irrational number and not an integer. B...
What happens if the controller of a closed-loop system is placed in the feedback path before the summation point, instead of between the summation point and the plant to control? Are we allowed to do so? If so, what are the main differences? Thanks!
I am trying to understand how wavelet transform can be used to denoise a time series or signal and how to plot the scalogram image. My signal has a lot of fluctuations and as such I am finding it difficult to denoise. Morevoer, to plot the scalogram I need to know the frequency. I don't know what is the frequency for t...
In the last paragraph of this article, the author gives an example of the DFT of a song and his window's resonant frequency. As he points out (and it is a bit intuitive), if he listens to this song, the window is not likely to break, despite the song's spectrum being centered around the natural frequency of the window....
If I have a camera that captures tilted images what is the way to find the tilt of the camera? Is there a pattern that I can photograph or something similar. I want to reduce the tilt as precisely as possible.
While I do know the difference between the two, in theory, I am not very sure about why we look at the Fourier transform of the auto-covariance function. What extra information does it give us over and above what we can already get by taking the Fourier transform of the original time-series? Also, when is one advantage...
I am working on communication system in simulink and wondering, how can i separate the Even and odd part of the signal. In my Transmitter block, I have : $$ \boxed{\text{Binary Data signal}}{\longrightarrow}\boxed{\text{Serial to parallel}}^{\nearrow\boxed{\text{Even Part}}{\longrightarrow}\boxed{\text{Multiply PN code...
I am trying to plot the FFT of essentially a random signal that has a non-zero mean shown below. The FFT of the signal is peaked over the zero frequency which usually indicates a DC offset. Although I have already demeaned and applied a hanning window to the data. I am not sure what I am doing wrong here. I have also...
Assume a diagonal matrix $\mathbf X$ whose size $N\times N$ and its diagonal elements are $0.5 + 0.5i$, and the vector $\mathbf p$ of size $N\times 1$ whose elements have similar amplitude. I have noticed that $$\operatorname{tr}\bigg\{\left(\mathbf{X^{-1}\cdot p\cdot p^H\cdot \left(X^H\right)^{-1}}\right)\bigg\}\tag{...
I am generating an AM modulated sinusoidal wave. The carrier frequency is set at $1000 \ \rm Hz$; the modulation frequency is set to $40 \ \rm Hz$ and $100 \%$ of the amplitude is modulated. I generated 2 signals with 2 slightly different equations. Signal 1 follows: $$\sin(2\pi f_m t) \cdot \sin(2\pi f_c t)$$ while s...
I am not from Engineering background that's why asking these overly simplistic question. Anyone who can answer. These are basic research questions. Thanks
I am new to signal preprocessing, I read about mel_spectrograms, MFCC's. Now I want to apply it and use the CNN model, But the data which I have for practice is having audio of different durations, now because of this, the mel_spectrograms will be of different shapes. for using them as inputs, the model requires inputs...
Say I want to transmit messages using PSK: I send the message $$s_m(t) = \text{Re} \left [g(t) e^{\frac{j 2 \pi (m-1)}{M}}e^{j 2 \pi f_c t} \right]$$ where $f_c$ is the carrier frequency. Now my question is, is this a baseband representation or a passband? So is $f_c$ the center frequency of a certain channel? Or woul...
I want to design an optimal (minimizing error probability) receiver for system of two waveforms (with $0<\alpha<\frac{\pi}{2}$): \begin{align} s_1 &=A\cos^{2}(\pi f_c t + \alpha)\\ s_2 &=A\cos^{2}(\pi f_c t - \alpha) \end{align} It seems like a modified BPSK, as: \begin{align} s_1&=A\cdot\ \frac{1 + \cos(2\pi f_c t + 2...
I'm currently studying wavelets and am running into confusion with regards to CWT coefficients. Ideally, I want a CWT algorithm that produces outputs similar to that of a STFT - i.e. produces coefficients that correspond to frequency magnitudes of the input signal. However, I'm finding conflicting results. From the CWT...
I got the following paragraph from the book "A wavelet tour of signal processing" chapter one, page 2. The Fourier transform is everywhere in physics and mathematics because it diagonalizes time-invariant convolution operators. It rules over linear time-invariant signal processing, the building blocks of which are fre...
Referring to the Fast Wavelet Transform, this transform is implemented as a QMF filter bank. This algorithm consists of high/low pass filtering and subsampling. However, a wavelet transform is typically defined by the mother wavelet - the master basis function that is shifted and scaled. How exactly does this fast wave...
I'm currently researching implementation methods of the Continuous Wavelet Transform(CWT). On paper, the CWT produces infinitely many outputs on a finite signal since the scaling and shifting parameters are continuous. When discretizing the CWT for a computer application, it is common to limit the scaling based on the ...
I'm doing a personal project in which I want to select some very specific lines in a microscopy image. The first picture is the raw image, the second picture is the image for the lines (in yellow) I would like to detect. Not straight lines yes, but lines indeed. Now, I made a very basic code for line detection that k...
I couldn't find a good source to explain the diffrence between the Full octave and Half Octave pyramid in Computer-Vision. I saw the Gaussian-Pyramid, and the Laplacian Pyramid, but I didn't see anything about Full Octave - Half Octave Pyramids! Can anybody please explain the difference between Half and Full Octave ...
MATLAB's icwt docs state inversion to be done by a single integral: $$ f(t) = 2 \Re e\left\{ \frac{1}{C_{\psi, \delta}} \int_0^\infty \left< f(t), \psi(t) \right> \frac{da}{a} \tag{1} \right\} $$ Where does this expression come from, and how is integration over $b$ (translation) eliminated (as in Wiki's formula...
Let's say I have a 1D signal of size $N$ and am trying to filter it with a 10-tap FIR filter mask. When $N$ is large, the number of multiply-accumulates would approximately equal $$2 \times 10 \times N = 20N\quad\text{floating point operations}$$ This convolution algorithm is thus $\mathcal O(N)$ since the computation ...
currently I am trying to filter time data so that certain containing frequencies are getting amplified/reduced. I am dealing with a system which has a certain characteristic that I would like to get rid of by modifying my system input time signal so that the changes the system does to my signal result in getting back m...
Hi guys i'm studying signals and systems, and my professor told us that $$y(t) = \int\limits_{ t+T }^{t-T/2} {x(a+T/2)}\mathrm{d} a$$ is a linear system. But a primitive of $x$ isn't $ x^2$ ? How it's possible that's linear ?
What is the mathematical relationship between phase modulated (PM) signal and the complex phase/magnitude of the frequency component at the carrier frequency used? This is partially related to the question that I asked on phase noise, but it seems that the complex magnitude of this component is the same for all PM sign...
It's well known that magnitude of the analytic signal for narrowband signals gives the envelope. For example we can demodulate AM signal by abs(hilbert(s_AM)) in MATLAB. I'm looking for the exact mathematical conditions which specify when we get the envelope by computing $|s(t)|$. By analytic signal, I mean $$s(t) = x(...
I am trying to implement the constrained least squares filtering as described in Rafael C. Gonzalez, Richard E. Woods - Digital Image Processing 3rd Edition Section 5.9. The equation (5.9-4) says that $ P \left( u, v \right) $ is the Fourier transformation of the Laplacian filter ($ 3 x 3 $). But the coordinates $u$, $...
as the definition of normalized frequency is the frequency divided by the sample frequency, I'm confused about my signal so as an example a signal sampled at ($f_s=500 000$) Hz when applying a FFT, an impulse at frequency of $87$ Hz occurred(true value confirmed) while it occurred at $0.117$ Hz in normalized frequency ...
When I started to write a software for chromatogram processing I naively thought I'd find some existing algorithms that do all the peak detection automatically and there won't be a need for any manual curation whatsoever. But it appeared that none of the major software in this field works this way. Users have to manual...
I've heard a million times that applying DFT twice will result in a reversed array, but that is not what actually happens. Instead, the first element remains where it was, and the rest of the elements are reversed. Is there an intuitive reason for that? Octave code: N = 16; x = linspace(1, N, N); fft(fft(x)) / N Resu...
I would like to smooth amplitude spectra of signals around their peak frequencies. I could perform FFT, find the peak frequency, and smooth around the peak in frequency domain, then inverse FFT back to time domain. However, is there a way to do the spectrum smoothing in time domain? If finding peaking part is difficult...
Hello everyone!. This is a template to QPSK transmission but Packet Encoder block is no longer available in new GNURadio versions, what do I need to replace this block in order to do a QPSK Transmission? Or are there any newer examples? Thanks in advance. Be safe
In a $4$-FSK we have $$s_i(t)=\cos(2 \pi f_i t)=\cos(2 \pi (f_c+\alpha_i \Delta f)t)$$ with $\alpha_i=2i-5$, and $\Delta_f=\frac 1T$, where $T$ is the time symbol and $i \in [1,4]$. But with the expression of $s_i$, I have a bandpass signal. To get the baseband signal: $g_i(t)=e^{j2 \pi f_i t}$. Is it correct?
The Short Time Fourier Transform (STFT) is used to identify time localized frequency content of a signal. The STFT operates by chunking an input signal into blocks and performing FFT on the block, and then recording the frequency coefficients for that point in time. However, the STFT enforces fixed time and frequency r...
As I know, the Hilbert transform $$ H(x(t))=\frac{1}{\pi t}\star x(t) $$ in time domain is equal to $$ -j \operatorname{sgn}(f) \cdot X(f) $$ in frequency domain. so I tried simple example using MATLAB as below, x=[1,2,7,3]; y1=imag(hilbert(x)); f=[0,1,2,-1]; y2=ifft(-1i*sign(f).*fft(x)); but the result of y1 and y2 a...
if we have a discrete random process \begin{equation} x\left(n\right)\:=\:0.2x\left(n-1\right)+w\left(n\right)+w\left(n-1\right) \end{equation} where $ w\left(n\right)$ is a noise with a mean $ m_w=0.5$ and variance $\sigma ^2_w\:=\:1$. I am trying to find the value of $E\left\{x^2\left(n\right)\right\}$. Here's my wo...
I am given a task to do sampling on the function $$f(t) = 1.3 \sin(2\pi \cdot 10 \cdot t)$$ with sampling frequency 4 Hz and start at time t_start = 0.0877s, so there should be aliasing and in the frequency spectrum, the amplitude should be at the perceived frequency. The perceived frequency is 2 Hz as the folding freq...
After a BPSK modulation we have the upsampling and the pulse shaping filter. But for a FSK, do we have upsampling and pulse shaping filter, or just the pulse shaping filter?
I keep reading many literature, and in most cases $-6$ dB is referenced as the full width at half maximum (FWHM). Mathematically, how is that possible from the definition of dB?
Arikan in his paper (arXiv link or IEEE link) about polar coding, explains how you can force the channel to polarize by applying a linear transformation (the generator matrix). He calls this a split and combine process, where he creates synthetic channels that have near perfect or near useless capacity. But I understan...
I am trying to smoothing a signal's power spectrum by convolving the spectrum with a boxcar function in frequency domain. However, the result is obviously not what I expected: original two frequency spikes become three and the frequencies are different. Could anyone possibly point out my problem? Is the problem in the...
I am recently studying physical layer the Wi-Fi (802.11), after doing the FFT, the signal bits are transformed from '0' and '1' to complex numbers, but the complex number is not exist in real life, so my question is: How is transmitter send those complex numbers? What is the transmitter actually send?
I am a high school student that carried out the experiment on the Doppler effect to therefore analyze the graph but after doing some research, I saw one of the articles saying “ Fourier analysis is a mathematical tool that allows us to extract information about the frequency spectrum of any signal.” I don’t understand,...
I’m looking to use an FFT to generate a frequency spectrum in 1/3 octave bands. After reading many posts on this site as well as others, I believe the appropriate approach is set out below. I’ve dry-run the calculations in Excel and the results look reasonable, but reasonable is not necessarily correct. To ask a specif...
I am pretty new to DSP and have been looking at how image scaling is done in hardware. I and came across a 2D scaler core for an FPGA here. I have read up a bit about polyphase filters, but am confused about what the "16 phases" referred to on page 3 with the following diagram are. I have not come across this elsewher...
I am measuring ECG signals on subjects and I am having issues filtering a very small signal from the inherent noise of the collecting device. I am using an 18 bit ADC to digitize the signal Here is an example of the noisy signal I get: I would like it to look like this: I have tried different filters and the best sig...
Before the example it has been stated that in a system described by $$ Q(D)y(t) = P(D)x(t), \quad (1.) \iff \\ (D^N + a_1D^{N-1} + ... + a_{N-1}D + a_N)y(t) = (b_{N-M}D^M + b_{N-M+1}D^{M-1} + ...+b_{N-1}D + b_N)x(t) $$ if $N = M$, setting $y(t) = h(t)$ = impulse response, we will get $$ h(t) = b_0 \delta(t) + \text{cha...
I am trying to understand Section 2.2.3 of the book "Fundamentals of wireless communication" by Tse and Viswanath. In this section the authors explain how to go from the continuous time baseband model to the discrete time baseband model. An image of the relevant pages are given below. I am going to use equation numbers...
Since months I am working on a spectral envelope estimation algorithm. I even devised an innovative one (90% done) but I first wanted to have a complete panorama of the present art. I pretty understood most of the published methods and their limitations, including cepstral smoothing, lpc and true envelope. Unfortunatel...
I am about to understand a kurtogram, and don't understand what means the value of "K" (presented in table 1),or especially why takes values of 1.6 ; 2.6 ; 3.6 etc. Other question is how do interpret the kurtogram (figure 2)
I read 2kHz sinusoidal signal that I generate using youtube and mobile phone by shotgun microphone and sound card in my laptop. Results (python): But why are the values zero at the beginning and then the values are very large and around 8 [s] the signal has a "good" shape?
I am trying to simulate a QPSK transmission using GNU Radio following mpsk_stage6.grc example in Gnuradio tutorials. Currently I have no idea where is the problem and everytime I execute the flow graph i get this on a.txt file. I am not sure why this flow graph is not correct. Thank you in advance.
Trying to use Scipy Butterworth filter to filter frequencies below 54 Hz from audio files. Audio files are stored as WAVs. Sample rate is 44100. When I try using this filter the result is distorted (very). Also, I assume with fixed time and sample rate that input and output files should be exactly the same size. Input ...
Frequency modulation formula: $$ x_{FM}(t) = A_{c}\cos\left(2\pi f_{c} t+ 2\pi k_{f}\displaystyle\int_0^{t}m(\tau)d\tau+\phi_{0}\right) $$ Its change from $m(t)$ to $m(\tau)$. What is $\tau$? I wonder what it means.
Suppose i have all my poles in unit circle center. What kind of information this gives me? Can i determine if this filter is IIR or FIR?
Consider a FIR audio filter with symmetric impulse response. In my case, the filter kernel width is 15 frames on each side (so including the center frame, 31 frames total). When examining the audio impulse response of this filter, it includes (A) the initial interval where it approaches the center, then (B) the center...
I am studying the channel coding theory. The channel coder adds redundant information to the input signal, that helps a decoder to reconstruct the signal. BUT: Can encoder help to eliminate effects such as Doppler, offset...? Edit 1 when we are talking about improving encoder in practice, what does it mean? What should...
I am trying to produce a box function filter of a signal in python. I expected to find this functionality in scipy.signal, but I can't find any solutions. What I am trying to do is this. I have 2 signals that look like this: I have the peaks plotted for both of the signals, as you can see. I am trying to create a box ...
Hi I am learning FFT I am confused about this bit of code: what is the reason for scaling the sampling frequency and what is bin scale and why and when do we use it? thank you Fs = 20000; % sampling frequency Binscale = 100; %FFT for determining fundamental frequency with 0.01Hz accuracy k = Fs*Binscale;
I have implemented a paper regarding echo detection in real-time using MFCC coefficients. Now, I want to remove the echo from the mixed signal. Let me explain it as: There are two signals, NearEnd signal (Signal Containing Echo) $N$ and Farend Signal (Original signal which causes echo when played) $F$ Echo is being de...
I would like to find a preferred pair of $m$-sequence of degree 34 (not a multiple of 4) for Gold code. However, I am lost when I am checking William Wesley Peterson's table in his Error-correcting Codes, Appendix C I tried first fix the first entry for my first $m$-sequence. To find the other sequence, since $n = 34$...
When a discrete-time signal is obtained by sampling a continuous-time signal, why we are removing the information about sampling interval and only deal it as a sequence of numbers?
Does the Fast Wavelet Transform(FWT) produce the same coefficients as the Discrete Wavelet Transform(DWT) if configured for the same depths? Or is the the FWT just an approximation of the DWT?
I´m stuck in a deduction analysis of the variance of a gaussian white noise signal in a "integrate-and-dump detector" of a baseband data transmission receiver, where $n(t)$ is white noise with double-sided power spectral density $N_0/2$ [W/Hz] I can understand all the steps except when they deduce How do you get to ...
Let $x(t)$ be a real bandpass signal and $x_l(t) = (x(t) + j\hat{x}(t))e^{-j2\pi f_0t}$ be the lowpass equivalent. Is there any relation between $P_x$ and $P_{x_l}$ where $P_x$ refers to the average power of $x(t)$ and $P_{x_l}$ refers to the average power of $x_l(t)$? I tried to use the definition $$P_x=\lim_{T\righta...
How does Synchrosqueezing Wavelet Transform work, intuitively? What does the "synchrosqueezed" part do, and how is it different from simply the (continuous) Wavelet Transform?
I would like to find the point that are "not interpolated" when I rotate an image with e.g. Matlab's imrotate() by an angle which require interpolation e.g. 6 degrees, i.e. not a multiple of 90 degrees. In other words, I would like to perform rotation by an arbitrary angle but WITHOUT any interpolation. (i.e., I expect...
I am trying to understand how to use nufft from the Matlab doc. My goal is to compute a FFT of an image (2D) which has missing points (not sampled). I have a list x and y of coordinates of the points that ARE sampled. These lists are for the x and y coordinates, like, say for a 64x64 image: x=[1,2,3,10,11,12...],y=[1,2...
I have started working on a Direction-of-Arrival estimation problem and I am testing various algorithms. I came across Multiple Signal Classification (MuSiC) method. In all textbooks I have looked at, the final step of the method is to search for maximums in the pseudo-spectrum given by $$ P \left(\theta \right) = \fra...
I am trying to plot the frequency response of a dual recursive running sum (RRS) filter, with the $\mathcal Z$-transform of each given by: $$\frac{1 - z^{-L_n}}{1 - z^{-1}}$$ This is the code I've written: % (1 - z^-L1) / (1 - z^-1) * (1- z^-L2) / (1 - z^-1) L1 = 75; L2 = 53; fc = 500; fs = 44100; den_exp = -exp(-2j*...
Suppose I have a signal $$ \mathbf{s} \sim C \mathcal{N}\left(\mathbf{0}, \sigma^{2} \mathbf{I}_{N_{}}\right) $$ The signal going through a channel : $$ {\mathbf{r}}_{}=\mathbf{s}+{\delta \mathbf{n}} $$ where : $$ \mathbf{n} \sim C \mathcal{N}\left(\mathbf{0}, \sigma^{2} \mathbf{I}_{N_{}}\right) $$ $$ \mathbf{\delta}...
I read the source code of librosa.stft and sicpy.signal.stft, and notice that the calculation results of STFT in these two libraries are quite different: In scipy.signal.stft, the stft result is scaled by 1.0/win.sum(), while in librosa.stft no scaling or normalization procedure is done. So why scipy.signal.stft do the...
I want to find the direction of a sound source in 2D space. I use two microphones and one sound source for that. I have recorded audio data into two arrays. When a sound is detected, it starts to record data into arrays and stop the recording when no sound is detected. I am confusing about the next step. How I take th...
I'm relatively new to this material, so apologies in advance if I'm missing something obvious. I'm trying to smooth some very noisy signals. What I observe is that if I apply an ewma, even with a large center of mass, the resulting signal is still relatively noisy (in the sense of jittering from step to step). If howev...
Im trying to understand convolutional encoder $K=3$ , and I almost understand it but still confused about what's called transition matrix which in other words it means what input value ($0$ or $1$) would produce the next state, given the current state. So if we have $K=3$ which means $3$ shift registers, there's $2^{...
For the simple case, let's consider the correlated signal $s$ with jitter (without noise) as follows: \begin{align} s(t, \theta_i) = \cos(2\pi f (t + \epsilon_t) + \phi + \theta_i), ~~ i=0,1, ... \end{align} where the parameters $t$ is time, $\epsilon_t$ is a random variable for the random jitter in the signal $s$ with...
I want to build and simulate a 6 GHz, 4th order lumped-element Chebyshev bandpass filter with a maximum passband ripple of 0.1 dB and a bandwidth of 1 GHz, and as I understand it, there should be 3 lobes in the S11 response, but instead my circuit has a huge drop at the center frequency. I'm not certain what could be c...
I wanted to ask that in frequency domain the rectangular pulse is a sinc function, so is this sinc function periodic or aperiodic? Also if signals that are continuous in time domain then they are aperiodic in frequency domain?
I have a problem, I wanted to filter the signal with a Butterworth filter built on the basis of a prototype. I have zeros and poles and an $H (s)$ answer, and I do not have the frequency response. How do I get it? I got transfer function using zp2tf and tf. % z -> zeros % p_lp -> poles of designed low pass filter % k -...
Assume the observation of the original signal $s(t)$ is $x(t) = s(t) +n(t)$, where the signal and noise are independent. Then we need to design the Wiener filter $g(t)$ to estimate $\frac{d s(t)}{dt}$ which is the derivative of the original signal $s(t)$. The design of the Wiener filter is from the MMSE: $E[e]$. But ho...
I wish to calculate the Final Value of the following system given initial conditions not at rest, and assuming the X will not change from its initial condition value. The transfer function is $$H(z) = \frac{z^{-1} \phi / (1 - \phi z^{-1})}{1 - z^{-1} \psi / (1 - \psi z^{-1})}$$ It arises from the following feedback sys...
In case of the signal, when we plot an impulse response we have our x-axis - samples (or time), y-axis - amplitude, but in case I work with image processing? x-axis is pixels? and y is still amplitude?
I have searched Google for circular cross correlation using Matlab, and I have found it only for one dimensional signals. Could you please help me implementing circular cross correlation between two images using MATLAB?