instruction
stringlengths
31
27k
Let $$y[k]=x[k]\cdot \cos(2\pi\nu_0k) .\tag{1}$$ Then, given a signal $x[k]$ with the DTFT $X(\nu)$ according to the following figure what will the frequency domain for $Y(\nu)$ look like for a given $\nu_o$ in the range $0<\nu_0<a/2$? According to my calculation, the resulting function $Y(\nu)$ is $$Y(\nu)= \frac{1}...
I have an array named samples of size (2, 1321967) representing an audio file. When I pass it to scipy stft with f, t, Zxx = scipy.signal.stft(samples, sample_rate, nperseg=254) My array t is of size (10411). I would like to pad t and Zxx 127 points to the right and to the left. To get my padding, I would like to pad ...
1) This is a follow up question to the most up-voted answer to this question. 2) The accepted answer is that "QPSK transmits 1 bit per Hz at passband". 3) The theory found in books seems to agree with this answer. 4) But this defies my logic and my experience. 5) My logic and experience tells me that QPSK transmits 2 ...
Referencing this article here https://arxiv.org/pdf/1203.1513.pdf It states "A wavelet transform commutes with translations, and is therefore not translation invariant". Now I understand why it is a problem that the result is not translation invariant, however, I'm confused as to why it is. What does it mean for a tra...
I'm learning about distortion and I got stuck at "What is the difference between linear and non-linear distortion?" (Also in frequency spectrum i.e. Amplitude and phase spectrum)
I have a signal that looks more or less like square wave signal with different phases (Like in the picture below). However, the signal fluctuates a lot, we can see in the image below: At first, I want to detect the beginning and ending of the signal. Second, I want to detect the start and the end of the ups and dow...
We all know that Discrete Fourier Transform (DFT) corresponds to circular (not linear) convolution. That is to say, if $x(n),h(n)$ and $y(n)$ is the original signal, the filter and output signal in domain and $X(\omega),H(\omega),Y(\omega)$ are their counterpart in Fourier domain, then if we want $Y(\omega) = H(\omega)...
I read somewhere that oversampling somehow reduces sampling noise? How to quantify the reduction in noise? and why would it reduce noise if you are decimating the oversampled signal. What's the advantage of oversampling followed by decimation, verses just sampling the signal at the decimation rate to begin with? Or...
One of the biggest problems in phase modulated communication is discovering when your signal has arrived. High accuracy in this area is important, as even a quarter wavelength error can cause the estimated data bit to be completely wrong. One solution to this problem is to use a preamble code, which is a waveform whose...
Here is simple code to illustrate overshoot using bessel filter: sig = (np.random.rand(300)-0.5)*2 b, a = signal.bessel(5, np.asarray([10e3, 400e3])/(0.5*1e6), btype='bandpass') sig_f = signal.filtfilt(b, a, sig) print(np.amax(sig_f)) plt.plot(sig, label='input') plt.plot(sig_f, label='filtered') plt.legend() I need ...
I have a time series that is spotty (more 'no sample' than 'sample' at each second, which is the sample rate). There are obvious trends when viewed visually. However since there are holes, the FFT has a spike near zero. Is there anything that I can do about this?
I have a question, about verifying the value which are near to each other in such row, Is there any algorithm which can determine that ? Suppose I have a vector $z_i =$ {$z_1 , z_2, z_3, . . . ., z_n$}, I want first to determine the maximum and minimum values of this vector, then check if the distance between each oth...
Recently I am implementing FFT with C code. So I use Matlab for algorithm verification. As Radix-2 FFT was chosen, I've learned that zero-padding technique could help to reach 2^N limitation without messing up the result. However, hesitation has shown. Let's say a set of acceleration data with the size of 150 (x) comes...
I am learning basics of signals and systems with MATLAB If i create a vector in matlab such that x=[ 2 5 10 20], will it be considered a sequence or a signal? As far my learning/knowledge is, x is a sequence in this case, since it is using discrete numbers as its elements. If there was x such that x=sin(t) or cos(t) o...
I have this system and tried to write down its difference equation as follows $$ y[n] = b_0v[n] + b_1v[n-1]\\ v[n] = x[n] - a_1v[n-1] $$ I was asked to prove that the system can be described by the following difference equation $$ y[n] + a_1y[n − 1] = b_0x[n] + b_1x[n − 1]$$ Please help me how to prove it....
I have a basic question about maximum likelihood (ML) estimator and its implementation. I am trying to simulate a communication system, while using ML at the receiver side to find the transmit sequence. The received signal is given by: $y=Hx+n$ $y, H, x$ and $n$ indicates the received signal, MIMO channel of $N_t$x$N...
I have the image seen below and I would like be able to automatically crop out everything around each red section - not enough to overlap but enough that you can see how connected to the green parts they are. Is there an easy way to do this, ideally in python/R? In case it matters, I'll be doing some image recognition ...
I want to convert this transfer function: $$\ \frac{2\cdot(z-0.5)\cdot(z-0.6)}{z-1}$$ to a difference equation, but I have no idea how. Can someone help me? Thanks, Arjon
I have time domain data for a signal that behaves randomly but has non-random (non-Gaussian?) skewness and kurtosis values of ~0.9 and ~7.4, respectively. The FFT of the signal shows that it's not broadband random -- it's generally flat below 100 Hz and tapers off at about -3 dB/oct above 100 Hz up to a Nyquist of 400 ...
I'm new to digital signal processing, and I've been looking into FFT, filtering, Matlab etc. What I'd like is to build a program which will detect when a certain BEEP is transmitted through a trunked voice channel (it signifies an impending critical message) being received via SDR. Through FFT I have ascertained it con...
var white = Math.random() * 2 - 1; // Filter to approximate 10 dB per decade b0 = 0.99886 * b0 + white * 0.0555179; b1 = 0.99332 * b1 + white * 0.0750759; b2 = 0.96900 * b2 + white * 0.1538520; b3 = 0.86650 * b3 + white * 0.3104856; b4 = 0.55000 * b4 + white * 0.5329522; b5 = -0.76162 * b5 - white * 0.0168980; var sa...
This is my first post so sorry if I make any mistake. The entire signal length in the screen shot below is 10 second. I ran a first order low pass filter (digital) at 10Hz cut-off frequency, and I obtained the orange/yellow line in the picture. Please ignore the red and the blue line for now. I wonder if there is an a...
I have two sampled signals, which I then perform wavelet analysis on, by synthesising the Filterbank, perform the dft on each kernel, and the dft on the sampled signals, and multiply together. Using this I can get successfully extract the magnitude of the signal, and either take an average or identify the time respon...
I have just implemented a Discrete Time Convolution between HRIR filter at a range of angles. I also implemented an Overlalp-and-Add method and FFT and IFFT to compute the same convolution in Frequency Domain. The HRIRs are the same measurements which are taken from a public database for both DT and Overlap-And-Add met...
Suppose I have 2 complex time series, $x_1$ and $x_2$. If I measure the delay between $x_1$ and $x_2$, I get $t$. If I make $x_2 = x_2 e^{-j 2 \pi 10}$, and measure the delay between $x_1$ and $x_2$, do I still get $t$?
I am reading the paper: Lucas, B. D., & Kanade, T. (1981). An iterative image registration technique with an application to stereo vision. I am having some trouble understanding section 4.3 regarding performance. It takes into consideration two signals: $F(x) = \sin(x)$ $G(x) = \sin(x + h)$ Then it says that $h$ wi...
If $x(t)=cos(t)=\frac{1}{2}e^{jt}+\frac{1}{2}e^{-jt}$, then $X(\omega)=\pi \delta(\omega-1)+\pi \delta(\omega+1)$. If $y(t)=cos(t-\frac{\pi}{2})=\frac{1}{2}e^{j(t-\frac{\pi}{2})}+\frac{1}{2}e^{-j(t-\frac{\pi}{2})}=\frac{1}{2}e^{jt-j\frac{\pi}{2}}+\frac{1}{2}e^{-jt+j\frac{\pi}{2}}$, then $Y(\omega)=\frac{e^{-j\frac{\pi}...
Wikipedia gives the gain of an n-order Butterworth filter as $$G^2(\omega)=\left |H(j\omega)\right|^2 = \frac {{G_0}^2}{1+\left(\frac{j\omega}{\omega_c}\right)^{2n}}$$ here. If you look at the gain at the cutoff frequency, the denominator becomes $(1+j^{2n})$, which blows up to infinity for odd $n$. Am I doing somethi...
I have a microphone array of 4 channels taken as channels [6,10,22,26] from Eigenmike spherical microphone array. I wish to do 3D beamforming and create $8\times 4$ beams, 4-elevations with 8 wavefronts per elevation equally distributed. I can't seem to work out the math as to the delays between the microphones. I als...
I tried to find the the precise definition of a nonlinear signal. However it is not easy. How can we define a nonlinear signal?
I need to construct channel code for 5 bits of information for a wireless channel. Possible code rate could be as low as 1/128 (very reliable). At decoder I assume to use channel LLRs as decoder input to take into account channel conditions. At a first glance I'd use a repetition code (or spreading sequence) thus there...
Does anyone have a clue as to why -using mscohere- the coherence becomes exactly one for all frequencies if nfft is set to about 190-200. I know it's standard practice to set it to a number that is a power of 2. I tried with 1024, and all I got was a bunch of NaN. So I started with low numbers, and the coherence seem t...
I wrote code [attached at end of question] to take .wav files of child vocalizations and tried to see if there are valid ranges for the formants F1:F2:F3 for the 5 different sound categories. A Formant is the spectral shaping that results from an acoustic resonance of the human vocal tract The 3D plot below is the...
For me, this is a very awkward question to be asked, as at this point in my studies I'm supposed to be quite expert with elementary mathematical tools like Fourier transforms, but this has always bugged me and I've never found a "true" answer to my question, which probably means a lack of elementary concepts at the ver...
When looking at carrier recovery, a PLL is often applied to correct the frequency offset between the local oscillator and the transmitter after down conversion. I'm wondering what happens to the PLL if this frequency offset is small? Does the PLL break as the carrier tone isn't as obvious and the loop filter can't as e...
We want to compute an N-point DFT of a one-second duration compact disc (CD) audio signal x[n], whose sample rate is $f_s = 44.1Khz$ with a DFT sampling of 1 Hz. (a) What is the number of necessary x[n] time samples N? (b) what is the time duration of the x[n] sequence measured in seconds? I said: $f_s = 44100 hz$ $...
I am having this simple function which acts on two state variable $s_t$ (states being $\{0,1\}$, boolean in sense), and I am evaluating it in discrete time steps. The function is $f_t=1$ if $s_t$ has been $1$ for last $W$ samples (some fixed window size), and $f_t=0$ otherwise. So basically this will set the output to ...
An integral is defined as converging if it yields a finite value upon application of limits of integration. It is divergent otherwise. Now sticking to the mathematical notation of Laplace transform, we have for a causal function $x(t) = u(t)$: $$ X(s) = \int_0^\infty x(t)e^{-st}dt = \int_0^\infty e^{-st}dt $$ $$ X(s) =...
The FT of a unit step function is taken as: $$ X(\omega) = \int_0^\infty e^{-j\omega t}dt = \frac{-1}{jw}e^{-j\omega t} \Biggr |_{0}^{\infty} = \frac{j}{\omega} $$ The transform only has the imaginary component and nearly (actually) all literature that I have read deem this transform as non-existent because of the miss...
I am given a question in which I have to draw the spectrum of the signal $m(t)$ and then draw the spectrum of this modulated signal. The signal is $$m(t)=\cos(1000\pi t)$$ Now in solution manual what they have done is that they have staright away drawn two pulses. One pulse in positive x-axis at $1000$ and at at negat...
Assuming that we have a continuous signal $v(t)$ $$v(t) = \int_0^t g(u)\, \mathrm du\tag1$$ where $g(t)$ is white noise.Then take the derivative of it. $$\frac{\mathrm d}{\,\mathrm dt} v(t) = g(t)\tag2$$ Then sample $v(t)$ so that we get discrete-time model, and calculate the finite-difference instead of derivative $$ ...
In analogy with the 8-bit grayscale image color depth, in which the intensity of a sample pixel is normalized to a value between 0 and 255 by taking into account the minimum and maximum intensities present in the original image, is there a standard for normalizing the powers/magnitudes (of short time Fourier transform ...
I have a 10 second recorded signal band pass filtered from 100-500 Hz. The original sampling rate is 10 kS. Now I run a moving window RMS with a window length: 10 ms on the signal (10/1000 * sampling rate). I then find the samples of the RMS signal that are greater than 2 SD from mean. I get a total number of, say, 489...
I'm aware that the z-transform and the Laplace Transform have an analogous relationship but I want to be doubly-sure that the z-transform only works in discrete-time and that the Laplace transform only works in the continuous time settings? Thanks.
I’m new to learning about the Cramér Rao lower bound. Does the calculation of the CRLB imply that only particular estimation algorithms can be used (e.g. estimating delay and Doppler from a complex ambiguity surface) which satisfy the CRLB inequality? And, if I have additional algorithms to refine those estimates and g...
Basic questions: What's the "correct" way to deconvolve two causal FIRs in the frequency domain (i.e. using the FFT), neither of which may be minimum phase but both may be considered to have stable exact inverses? By "correct", I mean, how does one avoid time-aliasing errors? If there is no "correct" way, what is the b...
I saw this code, about the error probability of on/off signal ,on the internet Ts=10^4; SNR_dB=[-3 0 3 6 9]; Ne=zeros(1,length(SNR_dB)); for i=1:length(SNR_dB) SNR=10^(SNR_dB(i)/10); for t=1:Ts s=((sign(rand()-0.5))+1)/2; %create the "on"signal or "off" signal ."on"signal=1,"off" signal=0 r=ran...
I posted this question Mathematics SE and got no answer so I have posted it here. I learned in my signal processing class that an LTI system can be defined using a linear constant coefficient differential equation. Whenever we have 'initial rest' condition, the LTI system is causal. Initial rest condition is basically...
I'm trying to build an FM receiver (and eventually transmitter) in GnuRadio that will be able to interact with my local repeater. Starting with WBFM (because I can consistently pull in broadcast stations for testing) I created 3 receivers: Directly tuning my SDR hardware to the station I want to listen to Tuning the ...
I'm trying to calculate the overall gain of the transmitter-receiver system for a line-of-sight wireless transmission. My question is how to calculate the overall gain of the system. Is it as simple as calculating the gain of the transmitter and receiver separately and then adding them together?
I'm currently studying wavelets and had an interesting thought experiment: If you were to calculate the wavelet transform of a signal using a wavelet of a fixed frequency, you would get time varying wavelet coefficient. Say this fixed frequency wavelet is 1000Hz. You essentially yield a signal that shows how a 1000Hz f...
I have to write the error probability of orthogonal signal and on/off signal,and now i have finished the error probability of on/off signal,but i don't know how to write the code about error probability of orthogonal signal. Generally,we will introduce the orthogonal signal and on/off signal with the picture below ,fi...
A basic theorem in communications is the matched filter maximizes the SNR at sampling. I'm a little confused on how this relates to discrete time systems and sampling rate. Normally if you sample at Nyquist rate it's "good enough" but how does this interact with the discrete time correlator? Does sampling at a higher r...
It make sense to calculate gray level dependend matrix on al time domain signal in order to extract features related to that matrix? I have EEG signals from stroke people in the time domain. My goal is to classify from the signal the level of recovery from the stroke (I have also some scale to quantify the recovery). ...
I am currently reading and trying to understand a paper (Kulkarni and Colburn, 2004) that utilizes system identification methods to approximate head-related transfer functions. The general approach is to Compute an autoregressive (all-pole-) estimate of the transfer function using the autocorrelation method for linear...
I've come across that the matched $z$-transform maps poles of the $s$-plane design to locations in the $z$-plane. My question is, what is the $s$-plane and what does this mean? I'm aware that the variable $s$ can often be used to denote the complex plane but the fact that this has been used in conjunction with the $z$ ...
To find the transfer function of a channel we say that it is $$ H(s) = \frac{y(s)}{x(s)}|x(s)=0 for <0 $$ Why we do not define it like $$ h(t) = \frac{y(t)}{x(t)} $$
I have written a python script which uses the Noise2Noise: Learning Image Restoration without Clean Data implementation of the Auto Encoder which is useful to remove noise from images. In the original paper implementation they were using full images so there were no border artifacts. I want to use my script on raw imag...
I have a laser rangefinder on my robot and I need to compute the speed of the detected object. I have seen many different filters for that, but all of them apply only to offline data, or introduce delay as they rely on past and future points, like (Xn+1 - Xn-1)/2Tn. I am using this signal for controlling the position o...
I have two sine oscillators and I get these two different spectrum analysis (let's disregard the slight frequency difference). Is there any deductions that can be made about the "quality", or sine approximation error or any other type of information about the sine generators derived by these graphs? Why the second is ...
I am attempting to implement a fractional delay line in Matlab which operates in real time, uses an object-oriented approach, and whose length can be modulated each time a sample is processed. I have already successfully implemented a fractional delay line, but I am having some trouble with the modulation step. Below ...
I'm trying to replicate in python the exponential chirp (here) but I cannot understand well the t and T in the formulas; here is what I wrote, but it is surely wrong, please could you help me? timeLength = 6 # seconds fs = 44100 t = np.arange(0, timeLength, 1.0/fs) # EXPCHIRP ------------------...
The most-used discrete-time RNN equations used in Deep Learning these days are those of Elman: I have seen two very different continuous-time version of these, with different justifications. The most "natural" to me are the leaky integrator onces (here sigmoid is replaced with tanh, but any activation function would d...
I need to plot large oscilloscope data sets. They are too large (100 million Values) to plot all of them in a for loop. If I try to do that it results in a MemoryError. So with the help of Stackoverflow I came up with a solution that isn't pretty but it works. Original Dataset: To reduce the amount of data to be plott...
My hardware is an analog device SDR+Xilinx FPGA (sdr = fmcomms4-ebz). The direct conversion transceiver (ad9364) has a tunable channel bandwidth of 200Khz - 56Mhz. I am employing BPSK modulation on a PRN code of 100K bits in length (repeats itself).My Tx Sampling rate is 6 Msps, thus the highest frequency present in my...
The wikipedia article on continuous-phase modulation states the following: For instance, with QPSK the carrier instantaneously jumps from a sine to a cosine (i.e. a 90 degree phase shift) whenever one of the two message bits of the current symbol differs from the two message bits of the previous symbol. This discontin...
I have a serious doubt about Autocorrelation and AutoConvolution. My understanding is, Autocorrelation Autocorrelation is nothing but correlation of the signal and it's delayed version. Example : Autocorrelation of 2 functions f(t) & f(t+1). Autoconvolution Autoconvolution is combination of the two signals where the o...
First of all ,please let me know?Is cosine time invariant or time variant? If latter is the case then if a time varying input like cos is given to a time invariant system,how will it behave? I have a system $y(t) = x^2(t)$ Apparently from equation it seems to be time invariant But when i give it input $x(t) = \cos(2 ...
I have a noisy signal that roughly switches between two distinct amplitude levels, i.e. looks like a pule train with irregular pulse with and small variations in the "on" and "off" amplitude over time, part of it could look something like this: I'm looking for a robust algorithm that will produce a "good" (I'm not sur...
Suppose we have this signal from this wiki page $a(t)=\sin(\varphi_o + f_0t + (f_1-f_0)t^2/T)$ The article tells that T is a period of chirp modulation in which frequency changes. So my question is how to create signal with constant $f_1$ frequency after T?
I am look into CSPE. "Signal Analysis Using the Complex Spectral Phase Evolution (CSPE) Method" The method is simple. It compares the original signal's FFT and shifted signal FFT in phase domain so that it can get an estimate of frequency. The original purpose of this paper is to improve the accuracy. However, I am won...
I'm wondering how to use the Maximum Ratio Combining with MIMO-DS-CDMA, I have used the MIMO with DS-CDMA using Walsh code, then at receiver I couldn't recover the transmit signal using the MRC. here what what I did: x = [0.7+0.7i; 0.7-0.7i; 0.7i+0.7i; -0.7+0.7i]; %generate signal x size 4x1 h = (randn(4,4) + 1j.*...
I am working with signals that consist of consecutive equidistant dips. I am trying to write an algorithm that finds the absolute lowest (minimum) point in each of the dips. We don't know the temporal period of the signal in advance. So, how can we partition the data in the horizontal direction (time), so that the prog...
I have a set of 10 minute EEG signals that were sampled at 400 Hz and have 16 channels which corresponds to a 16x240000 matrix. These EEG signals belong to two different classes. I am trying to classify these 10 minute segments using a Neural Network, in particular a LSTM. Since the size of the matrix is very large, ev...
I have implemented an infinite kernel sinc interpolation. For some signals I notice an artifact, visible at the right end of the plot. I am wondering: is it a bug in my code or a phenomenon usual for this method? red: 2x upsampled signal blue: signal expected to be an output of the interpolation sr (each) = 1000
Sources discussing spectrum of sampled signals (under 'hypothetical' IDEAL SAMPLING condition) show that the original message spectrum gets replicated at integer multiples of the sampling frequency. It's noticed that the sources show that the replica spectra (seen in the sampled spectrum) are scaled by a factor 1/Ts .....
How can we recursively implement a causal discrete-time truncated infinite impulse response (TIIR) filter with an arbitrary truncated polynomial impulse response: $$h[n] = \begin{cases}\displaystyle\sum_{k=0}^K c_k n^k&\text{if }0\le n<N,\\ 0&\text{otherwise,}\end{cases}$$ where real $c_k$ are the arbitrary coefficient...
I have an algorithm and I need to record audio and perform short time Fourier transform to obtain which frequency is the most common. I am using a Hanning window to try and reduce spectral leakage as much as possible. My problem is how should I overlap the data because since it is in real time I will no have the next ...
I am using emgucv with opencv. I have an object I wish to detect based on colour. I convert the image to Hsl colour space and perform a filter on it. The object I am detecting is perceived as yellow so I cover that range and make sure I am using/filtering good saturation. This has been working well. But I have now upgr...
Given a continuous time impulse response $h(t)$, if I take the Laplace transform and count the no. of poles at origin, that gives the type number of the system. For e.g., $$H(s) = \frac{2}{s(s+2)}$$ Here, there is one pole at origin and hence it is type 1 system. This also implies that the number of integrators in the ...
I've looked at previous answers and none of the answers seem to agree (perhaps I'm missing something obvious): I would like to know what the correct scaling to use is for amplitude, energy and power density spectra after using MATLABs fft function to convert a signal into the frequency domain. The problem I have is...
I am trying to demonstrate how the 2D Fourier decomposition of an image works with Matlab and a very, very simple example. I create a 4 x 4 pixel image with cosine basis vectors as such: %Basis vectors with coefficients: f = @(x, y,a0,a1,a2,a3,b0,b1,b2,b3,c0,c1,c2,c3,d0,d1,d2,d3)... a0*cos(0*x + 0*y) + a1*cos(0*x + 1...
I have to plot the freuency spectrum of a similar pulse echo response in m project, can someone help me here?
I have a doubt in the gauspuls command in matlab, i entered a fbr(fractional bandwidth of 1.5,ie. bandwidth= 0.75Mhz ) but as i plot the signal in the frequency spectrum using fft. i dont see the signal being broad enough. Why is that. the code is shown below: the below code also has general parameters as follows: dt ...
A medical Image has a size of 8x8 inches. The sampling resolution is 5 cycles/mm. How many pixels are required? Will an image of size 256x256 be enough? I know sampling in 1D signal but cannot get the intuition for a 2D image. I first converted 5 cycles/mm to cycles/inch which came to be about 127 cycles/inch. So as I...
I am currently prototyping a set of noise-cancelling headphones that utilize active EQ to modify the noise-cancelling signal, allowing the user to modify the frequencies that they hear or don't hear. I have been using biquad filters on an input signal from a microphone to play back a filtered signal in real time. Of co...
I am currently reading a paper about speech enhancement. The paper uses Spectral Subtraction Method. On that section, The paper stated that ω is the "discrete angular frequency index of the frames" Question: What is the discrete angular frequency index? Is it part of Short Time Fourier Transform? Assume that the noisy...
I am trying to solve my first problems at cepstrum calculation. I want to calculate the complex cepstrum $\hat{h}[n]$ of a signal $h[n]$ with Z-Transform: $$H(z)=\frac{(1-0.5z^{-1})(1+4z^{-2})}{(1-0.64z^{-2})}$$ I know that $\hat{H}[z]=\log(H(z))$ and $\hat{h}[n]=\frac{1}{2π}\int_{-π}^{π}\log[H(e^{jω})]e^{jωn}dω$ Which...
I have to write code on DDS using DITHERING technique, in which i have to generate a PSUEDO RANDOM SEQUENCE and add that sequence after LUT/before LUT so that spurs are avoided. I have the PRN generator code but I am confused about how to add this prn in coding. Please clarify. library IEEE; use IEEE.std_logic_1164.all...
If I am looking to do a PSD plot on a signal $x(t)$ with units $m$ then the units I am expecting in the PSD would be $\frac{m^2}{Hz}$ but I can't seem to get this result from the following reasoning: If we consider the fourier transform $$ F(k) = \int^{\infty}_{-\infty} x(t) e^{-2\pi i k t} dt $$ I think this shou...
We know that we have the following equation for wave. $$g(t)=A\cos(\omega t+\theta_0)=A\cos(2\pi ft+\theta_0)$$ The equation of frequency with respect to time will be: $$f(t)=\frac{Bt}{\tau}+f_c-\frac{B}{2}$$ Then: \begin{align} g(t)&=A\cos(2\pi (\frac{Bt}{\tau}+f_c-\frac{B}{2})t+\theta_0)\\ &=A\cos(2\pi(f_c-B/2)t+\ma...
I understand the theoretical meaning of the magnitude of a FFT from a mathematical sense. But what about when the sound audio is recorded using a PC microphone using a package like PyAudio, and FFT is calculated using Python. It seems the magnitude is unitless and the range depends on factors like sound card, number of...
I want to run a numerical simulation of a system (eg first order low pass filter) that is stimulated with a photocurrent-like signal. My preferred language is Python. I'm failing to understand how to generate a proper time series for the photocurrent with a consistent noise power, especially when the photocurrent becom...
I have a task of segmentation of retinal blood vessels from fundus images an the same time detect malignant. so the output images should contain both segmented image and detected malignant. I am using Matlab. original input image I tried thresholding algorithm but for this kind of image I didn't get good results. But ...
Given the transfer function $$T(s) = \frac{100}{1 + \frac{s}{10^{6}}}$$ and the input $$v_i(t) = 0.1 \sin(100t)$$ find the output, $v_o(t)$. My approach was to use $v_o(t) = \mathcal{L^{-1}}\left\{T(s)\ V_i(s)\right\}$, where $V_i(s) = \mathcal{L\left\{v_i(t)\right\}}$. This gives $$v_o(t) = \left(\frac{10^5}{10^8+1}...
I have two sine signals A and B which are simultaneously sampled at 2500 Hz using ADC. Through oscilloscope, I find that signal B lags A by about 5 degrees. I would like to digitally lead signal B to sync it with A. How to do that in MCU?
I have a digitized acoustic data of length L in which a pulsed signal (chirp) of finite duration and bandwidth is merged starting at some time instant t1 and ending at time instant t2. I wan to calculate SNR of this pulse signal. What is the best way to calculate this SNR? Thanks & Regards
I have to find the range of r which makes H(z) stable. There is no restriction of left sided or right sided. Then, both r<1 (z>r) and r > 1 can be the answer?
I believe I am very close to the answer and only need a small nudge to get to the answer. What I want: I want to take a signal, use FFT to transform it to the frequency domain (FD), multiply it by $jw$, and then transform it back to the time domain (TD). Why do I want it: Because it's something that I should be able t...
The isotropic TV is defined as the estimation of 2-norm of gradients $\sqrt{(y_{i+1,j}-y_{i,j})^2+(y_{i,j+1}-y_{i,j})^2}$, while the anisotropic TV is defined as the estimation of 1-norm of gradients $|y_{i+1,j}-y_{i,j}|+|y_{i,j+1}-y_{i,j}|$. Now I am wondering why the second one will be called anisotropic. Since from ...