instruction
stringlengths
31
27k
Consider a dynamic system $$\dot{x}=Ax+Bu \text{ and } y=Cx$$ The transfer function is $$sX(s) = AX(s)+BU(s),$$ so $$(sI-A)X(s)=BU(s)$$ and $$Y(s)=CX(s)$$ combining the two transfer equations, we have $$Y(s)=C(sI-A)^{-1}BU(s),$$ so $$G(s)=\frac{Y(s)}{U(s)}=C(sI-A)^{-1}B.$$ Now if, $G(s)$ has unstable zeros, which means...
I tried to make a quick casual recording of rain and thunder outside the window today by setting my Zoom H4n on my desk (internal mics, 96 kHz, 24-bit stereo, lithium batteries). When I loaded the WAV file to edit it, I noticed a rhythmic noise below 50 Hz and -50 dB. I removed everything above 50 Hz, amplified by 20 d...
Given a disturbance reduction system Create a system that will reduce $U(s)$ noise to $100$ times its value. Find the A and G gain value to satisfy the requirement My attempt: I've analyzed the system and here's what I got $$Y(s) = \frac{A\cdot H(s) + U(s)}{1+(A\cdot H(s) + U(s) )G(s)} X(s)$$ I don't know what to do n...
I have a square matrix $D$ whose size is $m \times m$ multiplied with another $m \times m$ square matrix $C$, I need to optimize the matrix $C$ to have a unitary matrix $DC$. I mean optimize the matrix $C$ such as $DC$ is a unitary matrix. In my opinion, that can be formulated as below: \begin{align} \min_C \|DC - Y\|...
If we want to know frequencies in a signal over time I know we can use Short-time Fourier transform (STFT). but I read in a paper "The spectrogram representation was obtained by first filtering the speech stimulus into 16 logarithmically spaced frequency bands between 250 and 8 kHz" so it seems they defined 16 bandpass...
I don't know what I misunderstood or what but I thought in FM and AM you can transfer your frequency characteristics of modulating signal anywhere you want but I find out that there is a range for each one : AM : 550 to 1720 kHz FM : 88 to 108 MHz And also it's said that audio spectrum ranges from 20 to 20,000 Hz but ...
Suppose we have a 2x2 image as follows: What does each dequantised image look like after it has first been quantised to 7, 4 and 2 bits respectively? I solve this question by initially quantising as follows. Into 7 bits : 8 bits - 7 bits = 1 bit and 2 to the power of 1 is 2 so, 232 / 2 = 116, 127 / 2 = 63, 169 / 2 = ...
I am trying to write a Monte Carlo physics simulation which involves, given a power spectral density, sampling rate, and total number of samples, generating noise with such a power spectral density. I have some lecture notes which work all of this out in the continuum, but I am having issues translating this to the dig...
With the cosine signal fc=3Hz and the fs=13Hz as below, fc=3; fs=13; Ts=1/fs; N=101*13; % 101 times of fs n=0:N-1; x=cos(2*pi*fc*n*Ts); and then fft with the number nfft=N nfft=N; Xk=fft(x,nfft); Pxx=(abs(Xk)/nfft).^2; f=(0:nfft-1)*fs/nfft; plot(f,10*log10(Pxx)) and I got the result as below figure and then I trie...
x[n] -> Input Signal of length N h[n] -> Impulse response of length N y[n] = x[n]*h[n] (convolution to get the output of this FIR filter) Ideally length of y[n] should be N+N-1 but is it possible to get only N point sequence for y[n] , if yes how ?
Is there any method to get rid of noise in wite circles of the spectrogram? I have done the high pass filter for a cut-off frequency of 1 kHz. And I'v also done a adptive noise reduction in adbobe audition. But there are still some noise between bird-songs. Can I get rid of them and get a cleaned spectrogram, which on...
I have a difference equation $$y[n] = y[n-1] + 0.5x[n] - 0.5x[n-2] \text{.}$$ According to this answer, the filter should have finite impulse response. I just can't figure out how to get the FIR filter coefficients. I tried to use the transfer function. $$Y(z) - Y(z)z^{-1} = 0.5X(z) - 0.5X(z)z^{-2}$$ $$H(z) = \frac{Y(z...
What is the definition of far-field and near-field in acoustic sensor / microphone array? Does it depend on the distance or the power of the sound?
My overall aim is to compare the edges of two images by comparing their Fourier Transforms (FFT) and to calculate one number as a key performance indicator that describes how much they are similar to each other. My first step was to convert the image into grayscale and fill an array with the last pixel row. The content...
As a continuation of the question How to Solve Non Blind Image Deblurring with Total Variation Prior Using ADMM? I would like to understand how could one solve the Blind Deblurring (Deconvolution) problem given that the blurring operator is linear and shift invariant yet unknown. How to approach such problem? What can ...
I came across this equation while trying to process an image $z$, $$ \mathcal{F}\left(\mathbf{D}^T \mathbf{D}\right) \mathcal{F}\left(z\right), $$ where $\mathcal{F}$ is the 2-D Fourier transform, and $\mathbf{D}$ is the gradient operator, which I think is in matrix form. However, I am not sure on how to implement this...
I'm having a set of N real data points that correspond to the autocorrelation sequence at N different lags. Suppose I know that the original set of data from which the autocorrelation was computed itself had only N points, is it possible to retrieve the real signal back?$$r\left(m\right)\ =\sum_{k=0}^{N-m-1}x\left(k\ri...
I have a transfer function $$ H(z) = \frac{Y(z)}{X(z)} = 1 - 0.5z^{-1} \text{.}$$ I'm interested in zeros and poles. I know I need to adjust the function to $$ H(z) = \frac{\prod_i(z-n_i)}{\prod_i(z-p_i)} \text{.}$$ My attempt is as follows: $$ H(z) = z^{-1} (z - 0.5)$$ So I guess a zero is at $z = 0.5$. Is it correct?...
I had two sets of data, the output function of the system (time series with a length of 1292 entries) and the transfer function (similar to a gaussian with a length of 681 entries). I would like to calculate the input function(unknown) using deconvolution. I tried calculating the FFT for each function and then the inve...
What might be the cause of the worse baseband demodulation result of the bottom VSA screenshot compared to the demodulation result shown in the top screenshot ? Randomized Q-QPSK signal generated by using gnuradio blocks with SamplesPerSymbol = 12, sample rate = 12 Msps, half-sine pulse shape. Transmitted by hackrf-de...
I've been observing the Pix2Pix Paper - Image to Image Translation with Conditional Adversarial Networks and wondered on formulas. For example, the objective of the CGAN is: , where x - observed image, z - random noise, y - target image and G and D are generating and discriminating models respectively. What does this E...
I'm attempting to use the low- and high-shelf filters from robert bristow-johnson's Audio EQ Cookbook1 for a filter that will have a pronounced peak - high $Q$, with a range of up to +24dB. The goal is to make the filter musically "playable" by controlling its resonant peak. However, the resonant peak of these filters...
I am not an expert in signal processing but last week I attended a class of signal processing. We discussed MIMO, OFDM and Alamouti scheme. On this lecture it was represented a lot of math equations, but wasn’t explained where and it is used in practice. I asked and got the following answer: “MIMO OFDM is considered a ...
I am working on a code where digital mixing is to be performed for down-conversion of incoming signal. The mixer signal is created using the phase accumulation approach. However it was observed that the phase error between a signal created with phase accumulation vs that created with a fixed duration time signal had so...
I was reading this and it explains the various windows such as Rectangular, Bartlett, Hanning, Hamming, and Blackman. Specifically, I saw this graph comparison of their dB magnitude frequency response for M=50. Obviously, there are differences between the techniques. However, as a newbie in the subject, I can't quite ...
How to emulate a sampling clock offset (between the transmitter and the receiver) of 1 part per million (SCO=1ppm) in Matlab? Theoretically, I can upsample the signal by a factor of 1,000,001 (one million and one) and then downsample it by a factor of 1,000,000 (one million) to emulate resampling the signal at a sampli...
I'm not sure it is the right department. I try my chance I am wondering if there is a way to make a hybrid formulation of a least-square problem and a Kalman filter. Let me explain what I mean: The (linear) least-square formulation reads for a set of observation $y \in \mathbb{R}^{q}$ $$\hat x = \min_x {\epsilon^\top \...
Assume that an image vector x = Ψs. s is a sparse vector in which the image vector x of length N x 1 is sparse in the wavelet Ψ basis. I have issue in finding the measurement matrix A= φ Ψ where φ is the random binary/Gaussian matrix of size K x N and Ψ is the wavelet basis of size N x N. May I know what kind of wavele...
I usually do the DFT using the fft in Matlab. After the Nyquist frequency I don't see any result. Is it possible to perform a dft looking after the Nyquist frequency. I am asking this because I have seen a paper where an author show the result of a spectrum after the Nyquist frequency
I studied various signal processing materials for a long time, and I have a question. Considering an LTI filter, one can define its frequency response by evaluating its transfer function $H(z)$ on the unit circle $H(e^{j\omega})$. Is this definition correct? I also came across the second definition, which says that the...
Goal is to achieve 8 samples per symbol for BPSK signal. After analyzing the plot of below code, IMHO its not 8 sps, I am right? If yes what I do wrong? % Generate BPSK signal data = randi([0 1],20,1); bpskModulator = comm.BPSKModulator; modData = bpskModulator(data); % Filter parameters rolloff = 0.35; span = 6; sps =...
I was trying to use the scipy.decimate function provided in the library, but I had a question - I want a pre-processing algorithm to downsample audio in such a way that it is fully deterministic i.e, It would always output the same decimated signal, provided an original signal. So, the algorithm should be able to downs...
The system with impulse response hi(t) is known as the matched filter for the signal Xi(t) because the impulse response is tuned to xi(t) in order to produce the maximum output signal. My intuition says for y(4) to be maximum,x(t)=h(-t+4). But I can not come up with a more rational mathematical proof.Can anyone help ...
my question is the same as in title. Is there an example of signal which after fft operation wouldn't have power on the it's y axis?
It's easy to compute the Discrete Hartley Transform of a 1D signal: import numpy as np def dht(x:np.array): X = np.fft.fft(x) X = np.real(X) - np.imag(X) return X def idht(X:np.array): n = len(X) X = dht(X) x = 1/n * x return X The code for dht is based on this answer, while idht uses...
I'm studying how SNR is measured, I know is a ratio between the power of signal and noise, and is given in a logarithmic scale but I'm confused about how is interpreted, for example does a SNR of 6 implies two times more power of the signal compared to the noise, than a SNR of 3?
Let $u(n)$ be the input and $v(n)$ the output of a single-input-single-output system described by the Auto-Regressive-Moving-Average equation $$v(n)=\sum_{k=0}^{m_{0}}b_ku(n-k)+\sum_{k=1}^{n_{0}}a_{k}v(n-k).$$ Assume that $v(n)$ is known for all $n$ and $u(n)=0$ for some interval $n=t_{0},t_{0}+1,\dots,N$. Then you can...
In this tutorial http://www.ee.ic.ac.uk/pcheung/teaching/ee3_Study_Project/Sinewave%20Generation(708).pdf an algorithm to generate a sinewave through an IIR filter is described. On page 2 it is stated: "The formal proof can be found in the DSP related text book". Could anyone please suggest me a good book where the for...
I have generated two different white gaussian random noises in MATLAB using two different seeds. For example: Asn1 = sqrt(noisepow1/2)* (randn(size(As))+1i*(randn(size(As)))); Asn2 = sqrt(noisepow2/2)* (randn(size(As))+1i*(randn(size(As)))); Here, noisepow1 and noisepow2 are amplitudes of noise powers, As is signal a...
I have a signal that looks like this It has regularly occurring peaks 50 units apart, and offset from 0 by approximately 20. I thought I could apply the DTFT to this signal and extract the period (expected value 50) and the phase offset (expected value 20). So in graphical terms, I thought I could find the sinusoid i...
I work on phase and frequency estimation algorithm. Currently I am working on a derivation and determination of the Doppler shift( dF – frequency step). For each dF, The following algorithm was applied for group of sample - M (base band): M is filtered by RRC FIR filter Compute amplitude Amp(i), where I is an index of...
I have FFT data that has logarithmically scaled at x-axis as shown on the image. But the problem is I do have only array of float numbers that has 1024 element in it, but I know that is already not a linearly indexed, and I just want to find the corresponding frequencies from array indices.
I need to find the contours for each of the instances of microscopic cells in a binary image mask of dimensions 256 x 256 shown below. My approach involves thresholding the image to get a binary mask (foreground = 1,background = 0) as follows and then finding the contours of each instance of cell. ret, binary = cv2.th...
I've been tasked with filtering a sound with a filter that looks something like this. I don't have any real DSP training, so I'm not sure if my attempt at tackling this is correct. I can filter things given I have a transfer function (it's applied in the frequency domain - I know this works so it's not a concern), so ...
I am trying to create an FIR bandpass filter in python using scipy with the following characteristics: $$f_{c_{low}} = 310\,Hz$$ $$f_{c_{high}} =600\, Hz$$ giving me a bandwidth of: $$Bandwidth = f_{c_{high}} - f_{c_{low}} = 390 $$ I generate an real valued input signal using a sampling frequency of 1 kHz [using the ...
In certain algorithms its required to 'multiply' FFTs. How does one actually do that when you have real/imaginary pair data? Say I have twos FFTs a and b, should I for each bin just multiply a[k].real * b[k].real and a[k].imag * b[k].imag ?
I am interested to use the pffft library, available here: https://bitbucket.org/jpommier/pffft/src/master/ I am currently using Intel MKL library, as well as a naive optimized reference implementation. Both of these work fine for me with the same data that I am trying to use with pffft. Specifically while the forward ...
Assuming QAM symbols (or OFDM system) with AGWN, I found that the use of ML detector does not enhance the BER but only enhances (reduces) error vector magnitude (EVM) because of symbol decision and matching each received (corrupted) QAM constellation point to the nearest ideal QAM constellation point. I am a bit confus...
Let $N\in \mathbb{N}$. I am looking for a non-zero scalar $\lambda$ and a nonzero vector $$f=(f(0),f(1),\cdots,f(N-1)) \in \mathbb{C}^N$$ satisfying the following equations for $l=0,\cdots,N-1$: $$\hat{f}(l)=\lambda e^{\frac{l\pi}{N}i}f(N-l).$$ $\hat{f}$ is just the Fourier transform of $f$ and it is assumed $f(N)...
I spent a good amount of my time searching but I can't seem to find any straightforward answer. I want to know the comparison/ranking of the filters (Butterworth, Chebyshev I, Chebyshev II, Elliptic) with regards to filtering out noise (reduce noise power output). Which would have the least to best performance, and wh...
This may sound weird but can FIR filters be realized by implementing it in parallel form like in IIR? I know that FIR can be realized in cascade, but I can't seem to find any resources that realize FIR using parallel. Is it possible? And if not, why not?
If a 3-bit, 2 × 2 RGB image has the following planes: how can we write each plane to a vector of size 3x1?
I see "Direct Form I" and "Direct Form II" commonly in literature to refer to FIR / IIR implementation from the filter transfer function, and reference it myself, but where did that terminology first originate so that I can properly credit that person? For example:
According to literature, the arctan-demodulation method commonly used in Radio-frequency radar systems is the one shown below: Is there a rule of thumb regarding the cut-off frequency of these Low-pass filters?
I have a very basic question, but I didn't find a definite answer elsewhere. When we use scipy.signal.cwt we specify only one parameter widths. Do you know a function that can help to relate this widths parameter to frequencies? Like, pywt.scale2frequency() to relate scales to frequencies in pywt package. The only hint...
I have been wracking my brain over this problem for weeks and I finally have to throw in the towel and ask for help. My background is not formally in signal processing, so I may just lack the experience to solve what is a "simple" problem. Problem statement: I have a set of $N$ complex-valued time series $S_1, S_2,\ldo...
That's all, Why does upsampling improve the resolution and signal-to-noise ratio? What makes it so good for noise-shaping
Original Post: Electronics Stack Exchange ("Why is my frequency being effectively doubled?") I'll try to explain everything with detail as this is one will be a hard one to explain. Essentially what I am trying to achieve is sum both the left & right channel to produce a mono signal to be outputted via I2S as the subwo...
I'm new to learning LTE. Had some basic queries, I ran over stack exchange couldn't find them because these may be very simple queries but still I'm not able to understand them. For a particular band of BW say 300Mhz, if we have two frequencies in it say F1 and F2 which are wide apart. Can my receiver receive at a Freq...
I want to solve the image dehazing problem using ADMM. I want to use the proximal algorithm to optimize each element. I refer to this treatise: Efficient image dehazing with boundary constraint and contextual regularization. From the above paper, we solve the following optimal solution problem in order to erase the h...
I want to add complex wgn to a signal for a specified SNR. I have been using the following lines: SNR = -10:5:50; for l = 1:length(SNR) SignalN = awgn(Signal, SNR(l),'measured','dB'); end where $Signal$ is the actual complex damped signal and the $SNR$ is in dB. I want to replace the above line with $randn$ funct...
These are my setting that I can adjust and I need to measure 36 Hz. +- 1 Hz. What settings do you recommend?
Can a complex signal be one-sided (causal in time and positive only spectrum in frequency) in both domains? I understand that a function can't have finite support in both domains, but what if both domains extend to infinity in just the positive direction? The analytic signal $x_a = x + j \hat x$, where $\hat x$ is the ...
I want to perform upsampling of an audio signal introducing zeros between samples to create a longer signal with factor of N=2. The sampling rate is 44100Hz, time = 5sec. def butter_lowpass(cutoff, fs, order=5): nyq = 2 * fs normal_cutoff = cutoff / nyq b, a = butter(order, normal_cutoff, btype='low', analo...
I am trying to implement an adaptive filter for system identification and active noise control for realtime signal processing on an FPGA using Labview. For system identification, I implemented the following adaptive filter: $$g(n+1)=g(n)+\mu \odot d^*(n)\odot e(n)$$ with $$e(n)=np(n)-g(n)\odot d(n)$$ with $\odot$ denot...
Hi there I am studying a course in signal processing and systems. I was given an excecise which I am having a great deal of trouble solving. I am allowed to solved using matlab, but for top marks I must also be able to give an account of a analytical solution. The task: Given the in signal $x(n)=(0,4)^nu(n)$ And the im...
I have a light source that I want to know value for SDCM for it ( Standard Deviation Color Matching ) . I've been searching for hours with no clear way for it . I have the CCT , (x,y) coordinates , (u,v) ,(u',v') , and Duv . is there a formula or a way to calculate the SDCM ? Hope I'm asking the the question in the rig...
Is it possible to implement an ideal allpass filter in Matlab? The filter response should be like this: Note: the photo is imaginary (I did it using paint).
There is a debate about the proper way of how to calculate the EIRP, so I need your help on which method is wrong and why please! Let's suppose we have the following: Output power: 165 W Reflected power: 1 W Amp's gain: 62 dBi Losses: 1.3 dB Method 1: Carried out by converting all powers from W to dBW EIRP = 10log(165)...
I have a signal where I am using a bandpass filter to limit the frequency range. I am also interested in filtering the remaining frequencies (after bandpass filtering) within the signal by their amplitudes. So for example if I set the bandpass filter to exclude frequencies outside of the range of 20-100 Hz, I also want...
JPEG image compression is Fourier based DCT (ITU 81). It divides the image into 8x8 pixel blocks, and processes each using a Discrete Cosine Transform. The results are quantised and then encoded. Looking at the MSDN documentation: Transforming a JPEG without loss of information. It seems that both width and height ar...
Consider a discrete time waveform $x[n]$ with $n \in [0...N-1]$ that is zero for all samples $n > N/2$ and non-zero elsewhere. Is there a waveform such that its Discrete Fourier Transform $X[k]$ with $k \in [0...N-1]$ also has the property that $X[k] = 0$ for $k > N/2$? If so, this could be viewed as a discrete time "c...
I'm having difficulty figuring out how to convert from PSD (V^2/Hz) to dBV (1 Volt RMS reference). The goal is to have a 1 Volt RMS input show as 0 dBV. Essentially I calculated the PSD of a signal with white noise using the Welch method, and need to plot dBV vs. Frequency. Any help would greatly be appreciated!
I am trying to create a sine wave in python, but when I graph it, it looks like this: here is the code I used to make the signal: c_freq = 1700 * 1000 fs = c_freq * 2 secs = 3 x = fs*secs t = np.linspace(0, secs, x) carrier = np.sin(t * c_freq * 2 * np.pi) Why is the amplitude changing throughout the signal and how ...
I'm trying to re-create the dimensions of an object by setting it up on a grid and taking as close to a top-down photo I can which I will then get the contours of the largest bounding rectangle and then perspective warp. I'm currently unable to get the contour for a large bounding square however, it continually only fi...
A continuous time domain system is well described by the Laplace transform. It allows to express any continuous signal x(t) as the integral sum of weighted complex and exponentially growing/decaying sine waves $e^{st} = e^{\sigma t} \cdot e^{j\omega t}$: Where X(s) is the Laplace Transform and may be evaluated as: Th...
I tried to implement the Karplus-Strong algorithm with some of the Jaffe-Smith extensions (improve pitch, dynamics, etc). Here is the code. When I run it with a sampleRate of 48000Hz, I get very reasonably sounding string, without any hissing, aliasing or very high frequencies. The thing that is messing me up is that w...
I have a system whose the plant transfer function is continuous and the compensation is discrete. I have an ADC which allows to measure the output of the system and a DAC which allows to control the plant transfer function. The compensation is very slow with respect to the plant transfer function and it slows down the ...
I have a signal which like this: I want to calculate this signal's instantaneous frequency.I have tried hht and so on which method I can find but can not get the result. So does somebody can give me some advice? If can proveide some python program which will be must useful for me.Thanks! UPDATED: Thanks @OverLordGoldD...
From the peak to average power ratio point of view OQPSK is better than pi/4-DQPSK. What is the advantage of pi/4-DQPSK compare to OQPSK? Why Bluetooth 2 use pi/4-DQPSK instead of OQPSK?
I have a series of time, they look like this: [122.76258495, 125.2357452 , 127.70768702, 132.65322914, 135.12374982, 137.58495967, 140.06083022, 142.5266016 , 145.00126936, 147.47713604, 149.94647284, 152.41441211, 154.893105 , 157.35769229, 159.82660719, 162.28600819, 172.17809076, 174.65187416, 177.11919...
I'm trying to understand interpolation in discrete time. We know that for linear interpolation we use h(t)=triangle waveform. When we talk about linear interpolation in discrete time, I'm using expression=$x(n-1) + (x(n) -x(n-1)) \cdot u$. Where $u$ is the value between $2$ input samples. It is between $0$ and $1$. For...
I work on a simulation decimation filter: downsampling + filter. My test environment: low data rate receiver, BPSK, square root raised cosine filter with cutoff frequency =0.5, transition bandwidth = 0.2, sampling frequency = 4 and 21 taps. I am not an expert in signal processing but I have to know some stuff. My quest...
I would like to approximate a delay via the pade approximation. I set a normal delay via the exponential term and I set a delay via the pade approximation and I look the difference between the both with a bode plot and a step response. This is totaly different ... So this is not an approximation ... Where is my error ?...
I'm generating samples for dac in STM32. sin(2pii /N)*4096/2. This is the formula I'm using. How to I come to know sampling frequency? Whether sampling frequency comes into picture?
I'm relatively new to the field of signal processing and might be a bit confused about terminology here. I'm trying to understand what determines whether I deal with a root-power or simple power quantity and how that relates to the RMS value of the signal. I understand that the RMS of a signal is proportional to the si...
I am going through the basic tutorials for GNURadio, and I have a question related to the sample rate tutorial. In it they demonstrate the degradation effects of sampling at too low a sampling rate. I understand why sampling below the Nyquist rate will result in degradation due to aliasing, but in one of their examples...
The FFT decomposes a signal into cosine and sine functions, respectively, even and odd components of the signal. Hence, I would expect even symmetric filters to have zero imaginary parts. Suppose a signal as the following $$x_a[n] = [x_1,\ x_2,\ \textbf{x}_3,\ x_2,\ x_1]$$ This signal is considered symmetric if $\textb...
I really appreciate an answer or any hint how to approach this problem: Problem: A receiver has two antennas. The first antenna receives $Y_1=hx+n_1$, where $x\in\{-A,+A\}$, $h$ estimated channel, and $n_1$~$N(0,\sigma^2)$. The second antenna receives $Y_2=n_1+n_2$, where $n_1$ is identical to the noise at antenna 1, $...
I am a computer scientist who has started doing some work in the electrical engineering space – in particular, photonics. While reading about interferometric systems, I have noticed that there seems to be a focus on ensuring that the detection signal (obtained using a laser of some kind) is linear. I have not yet studi...
The squared transfer function for a Butterworth filter of order $n$ should be $$ |H(f)|^2 = \frac{1}{1+\left(\frac{f}{f_c}\right)^{2n}} $$ where $f_c$ is the cut-off frequency. (Here's one of many possible references.) I'm unable to correctly reproduce this with either Python or Matlab. For example, let's say I want a ...
I am working on a problem towards calculating frequency response of discrete time system(does interpolation followed by resampling) which looks like: x(n) is fed to linear interpolator(h(t) = triangle function, h(f) = (sinc(f))^2 ). This continuous time signal is resampled at different frequency. Output signal after l...
I have signals that have a broad range of values. I want to compare them in a meaningful way. Just as an example, two of those signals might be: $$f(t)=100\cos(50t)+40\cos(60t) \quad g(t)=2\cos(50t)+0.8\cos(60t)$$ The coefficients of $f(t)$ will be much higher than the coefficients of $g(t)$, however, for the purpose o...
I have recorded EEG data using openBCI which is in the range of -15000 to 15000 micro volts. I want to reduce this to the range of -100 to 100 micro volts. How do I do it?
I'm tried to find the solution, but I failed. my question in the figure below, and the correct answer it's shown at the end of Figure. I'm using this formula but the answer is not correct! Is there another solution to this question?
I have built a resonance filter using the code from here I would like to know what the construction of this filter is. I believe it is an IIR and that it is probably a second order/two pole filter but that is as far as my knowledge goes. My Code: public class ItFilter implements ISimpleFilter { // static resonance...
I am trying to make a surrogate time series of a discrete data series using python, basically I wish to keep the amplitude same and change the frequency I take a Fourier Transform of the data I separate the angles and the amplitudes of each fourier coefficient I keep the amplitudes intact while randomizing the phase an...
I'm trying to figure out if the noise in my experiments is gaussian or not. I don't have time series data. I first configure my system and then run some software application's and measure the average performance and power consumption over N iterations. So at the end I don't have time series data. Instead, I have the ag...
i am new to this forum and I am not sure which topic I have to use. But I think my problem belongs to signal processing. My problem is the following one. I try using filter to find the actual momentum of stocks. First i used a moving average but it was by far too slow. Than I found the gaussin filter 1d which I use fro...
As known, the basic idea of beamforming is to transmit the same signal using more transmit antennas, let's say we have $4$ transmit; leading to increase the power of the transmitted signal as well as focus its direction . My question, what's about if we transmit the same signal but with different phase, for example ins...