instruction
stringlengths
31
27k
This is my MATLAB code Amp = 0.3; freqHz = 1000; fsHz = 160000; dt = 1/fsHz; t = 0:dt:2000*dt; sine = Amp * sin(2*pi*freqHz*t); t = 0:2000 subplot(2,2,1) plot(t,sine) y1 = sine; Fs = 160000; % samples per second N = length(y1); % samples dF = Fs/N; % hertz per sample f = -F...
I'm trying to derive the equation of error probability in orthogonal signaling. Here what I've tried: Let $\vec{s_1} = (\sqrt{E_b} , 0)$ and $\vec{s_2} = (0, \sqrt{E_b} )$ be vector representation of $s_1$ and $s_2$. We know that $$f(\vec{y}|\vec{s_m}) = (\frac{1}{\sqrt{\pi N_0}})^2e^{-\frac{|\vec{y} - \vec{s_m}|^2}{N_...
I am attempting to add phase noise to a modulated signal. I am doing this by taking a phase noise mask (single sided 0 Hz to 1 MHz), which shows dBc values away from central value or reference value. Phase noise is decreasing as we move in frequency away from the reference point which is 0 Hz. [Top left image in the 4...
I am not familiar with this halfband filter implementation: input is feed into two paths: the upper path is simply same as input, say x0, x1, x2, etc. The lower path is a halfband filter coefficients (every other coeff is 0), say y0, y1, y2, etc. Then the output is picked between upper and lower alternatively. That is,...
Another question related to fixed point saturation and rounding. Say using notation S<WL, FW> where S means it is signed number, WL is the full bitwidth, and FW is the fractional bitwidth. So S<16, 15> means a 16-bit signed number that has 15-bit fractional bits. Normally in a N-tap filter, denote input as S<x_WL,x_FW>...
This question is classic for anyone starting with some signal processing course, suppose $y(t)=x(t/2)$ then the system is noncausal because we have that the output at t=-6 depends on the input at t=-3 which is in the future. Suppose the signal is only periodic for positive t, then the whole signal is aperiodic. But how...
This is moving RMS, now how to add exponential averaging in this df['signal'].rolling(21*24*60).apply(lambda x: np.sqrt(x.mean()))
First of all, I am completely new to the domain of signal processing. As far as I know, a signal can be represented with an infinite integral of infinitesimal complex exponentials, which is known as a Fourier Transform. From calculating the Fourier Transform of a signal, we can find the bandwidth of it as well. We tend...
I have been implementing a control software where I need to calculate a magnetic flux based on the measurement of the phase voltages of a three phase grid (basically three sinewaves) according to the equation $$\psi = \int_0^t u(\tau)\mathrm{d}\tau$$. It seemed to be a pretty simple task at first glance. So I have writ...
Can I view every signal that has been transmitted using software defined radio as a amplitude modulated signal? For example I could make a frequency modulated baseband signal in GNU Radio and connect it to Adalm Pluto sink. Since analog part of Pluto SDR involves frequency mixing does it mean on top of FM I get AM?
While trying to do frequency domain filtering of audio signals using windowed overlap-add methodology, I came across some pre-calculated frequency domain coefficients. I noticed that the coefficients, complex numbers, are not conjugate symetric. Can that be? What does it tell me about the filter? If the input filter is...
0 I'm relative new to this subject, I've watched many videos explaining FFT and DFT and read some articles. I wanted to see how I could implement FFT in C++ and then I found this code, it works but I don't fully understand it, for example, I'm not sure what is he using the nested-for loops for, I thought it's for Matri...
Apologies in advance for asking something so basic, this is not my field at all so I'm a bit lost where else to find this info. I'm trying to understand this piece of code that detects sudden drops in a signal, it goes something like this: filter = [ones(1,10)*-0.05 ones(1,10)*0.05]; filterResponse = conv(exampleSigna...
I'm working on a tape echo emulation in Reaktor, and I've based the frequency response, tape speed warble, high-amplitude saturation and tape hiss on a paper I found about the Roland Space Echo. However, I'm now looking for information about the distortion of low-amplitude signals by audio tape. When I let an echo trai...
According to Fourier transform, a continuous wavelet could be written as $$ \psi(t)=\frac{1}{2\pi}\int\hat\psi(k)\text{e}^{-ikt}\text{d}k $$ From the equation above, we know that $\psi(t=0)$ is $$ \psi(0)=\frac{1}{2\pi}\int\hat\psi(k)\text{d}k $$ Is it possible that $\psi(0)=0$?
I would like to deconvolve the signal shown in the plot below from its linearly decaying tail and the exponential levelling. That means that after the deconvolutin, the tail should be at a constant value of ~410 mV. Does anyone have an idea how to approach this problem? I uploaded the data here: https://nextcloud.mpp.m...
I am planning to build a low-power DC/AC inverter circuit along with MOSFETs and the full-bridge configuration. The MOSFETs are going to be controlled via two 4047s on the both side of the inverter. According to my needs, the switching frequency should be 382 kHz. However, according to the 4047’s datasheet from Texas I...
Are there any generally applicable heuristics for Kalman filter noise parameters? I am working with a non-linear unscented filter and getting an initial guess for the noise covariances $Q_k$ and $R_k$ is proving difficult as wikipedia cautions. Specifically I am wondering if the condition number of the innovation covar...
Figure 2 in the paper by Thompson et al. "Precise Nanometer Localization Analysis for Individual Fluorescent Probes" (https://pubmed.ncbi.nlm.nih.gov/11964263/) presents series of images of a fluorescent bead for different numbers of photons N in the spot. Could someone give me some practical hints how to simulate such...
When the MUSIC algorithm is used for direction of arrival (DOA) estimation it can identify up M-1 signals, where M is the number of array elements. MUSIC can also be used for spectral frequency estimation. Does MUSIC require more than one receiver (or more than one receive antenna) for frequency estimation of a single ...
I am trying to port the statistics toolbox function pwelch from matlab into python, but when I am trying to implement it using scipy.signals.welch, it does not return the same results as it does in python. below is the matlab code: [pxx, freq] = pwelch(icacomps(1,:), ones(1, fs), [], fs, fs); fs = 100, icacomps(1, : ...
I'm trying to recreate the results of a machine learning applied to the DSP classification in the article: link. I have a signal (activity measurements from a smartwatch) per patient, so about 30 signals in total, quite long. For machine learning algorithm authors take traditional approach: extract statistical values a...
I was reading and working with L1 regularized least squares, where: $$ \arg \min_{\boldsymbol{x}} \frac{1}{2} {\left\| A \boldsymbol{x} - \boldsymbol{y} \right\|}_{2}^{2} + \lambda {\left\| \boldsymbol{x} \right\|}_{1} $$ is used to solve for sparse solutions in $\boldsymbol{x}$. However, I also stumbled on a different...
I'm developing a Multi-user MIMO communication model in MATLAB where a base station communicates with 2 users. The model uses OFDM (QPSK) modulation. Channel model, precoding and covolutional encoder is also used. Iam sending single stream of data to each user and I'm trying to plot the receive constellation diagram fo...
Given the below system. $$ y\left[n \right] =2 x\left[n \right] -x\left[n -1\right] +0.5 y\left[n -2 \right] $$ We'll find out the transfer function of it. So, easiely using z-transform, $$ Y(z) =2 X(z) -X(z) z^{-1} +0.5 Y(z) z^{-2} $$ $$ Y(z) \left\{ 1-0.5 z^{-2} \right\} =X(z) \left\{ 2-z^{-1} \right\} $$ ...
I’m currently trying to wrap my head around optical OFDM. I’m reading various tutorials and articles, but I’m hitting a stumbling block trying to understand Hermitian Symmetry and how it is applied. I’m taking the block diagram of an OFDM system from Figure 3 in this paper, and working through it step by step starting ...
I apologize if the title seems very vague, I don't really know how to put it a different way. From what I understand, the Fourier transform is essentially just doing a dot product between multiple sine waves of different frequencies with the original signal. When the "chosen" sine wave has the same frequency as a compo...
While using a continuous wavelet transform for my research project, I came up with some questions. Having a set of equations for a Morlet wavelet, $\psi(t)=\sqrt{\frac{2}{\pi}}e^{-t^2/2}e^{i6t}$ $\hat{\psi}(\omega)=2e^{-(\omega-6)^2/2}$ I have calculated the time and frequency resolution (i.e., $\Delta t$ and $\Delta...
My objective is to demodulate QPSK signal. At the receiver I apply RRC filter and interpolate the signal to get the values of the signal (approximately) at the sampling instances. Then I am concerned with the symbol timing recovery to get the correct sampling timing. The filtered and interpolated signal is represented ...
I´m reading the book Numerical Simulation of Optical Wave Propagation by Jason Schmidt. In section 2.1-2.2, the author performs the FFT of a centered and a shifted Gaussian pulse and makes the statement that the time shifted signal has a higher maximum frequency than the unshifted one. For that reason more samples are ...
tl;dr: For blob detection, I determine locally maximal DoH responses in image regions which correspond to negative LoG responses. Is there publication I can cite for such blended use? Two of the most prominent approaches to blob detection in image processing are Laplacian of Gaussians (LoG) and Determinant of Hessians...
I am looking here at the course of current fluctuations and have calculated the RMS values, but somehow it seems strange to me: with the black line there are small fluctuations, but the RMS value is still comparably large with, for example, the blue... The RMS values are: red:0.83mV blue:0.44 green:0.52 black: 0.31mV c...
I have been writing kernels for a communication dsp device, which uses cmac/cmad operation on fixed and floating point numbers. I am not very clear why both types is used in the same operation.
I am aware that the FFT of a real signal is Hermitian, i.e. $\text{FFT}(f)[i] = \text{FFT}(f)[-i]^*$, where $\text{FFT}(f)[i]$ is the i-th component of the FFT of $f$. The logical consequence of this is that $\text{FFT}(f)[0]$ is real. Another way of seeing this is that the coefficient with index 0 is the "DC" componen...
I have a signal defined as $$A(t)\cdot\exp\left(-i\omega_0t\right)$$ with $A$ the envelope function and $\omega_0$ the carrier frequency. I would like to transfer this signal into the fourier space and back, but need a large amount of points in time to accurately resolve the carrier frequency (the larger the time windo...
I'm studing Representations of Random Processes and the book talks about Orthonormal functions, but doesn't make it clear what is it. I was able to realize that a set of functions are orthonormal if they are normalized and orthogonal. I'm familiar with the concept of orthogonal functions, but I couldn't find out what e...
Does anyone have any idea what is Clear Phase technology ? How is it implemented ? And which audio channels whether left ,right center , sub woofer should have this technology implemented and why? Here is the link to its intro. Can you now please explain this?
We want to judge whether the system is stable or not. Given the below transfer function. $$ H\left( z \right) =\frac{\left( 1+2 z^{-1} \right) }{\left( 2+z^{-1} \right) } $$ $$ H\left( z \right) =2-\frac{3}{2+z^{-1} } $$ $$ 2+\frac{-3}{2+z^{-1} } $$ $$S:=\frac{-3}{2+z^{-1} }$$ $$ S ~~\text{is the sum of each e...
I have an electrical current sensor which generates measurements every second. I want to calculate the FFT of this signal. Since my real-time values are received every second, I think that the fastest I can go with the FFT sampling period is also 1 sec. In that case, what I am basically doing is that I collect X number...
I am making an experiment using sound source and microphones. I use metronome as the sound source, so I can consider it as impulse sound. I placed the microphones at different places about 1 meter above the floor. I use a recording system to get a sound file from each microphone. However I noticed that the acquired sou...
I'm trying to seamlessly loop an audio signal. When I loop the current audio signal I have, I hear audible clicks or pops right as it loops back to the beginning. I want to be able to loop the audio signal without having any pops. I have tried changing the signal near the end by writing an interpolation which follows t...
I am trying to extract filter coefficients for a bandpass, using the "scipy.signal.iirfilter" function: b, a = filt = iirfilter( N=2, btype='bandpass', ftype='cheby2', Wn=np.array([3000, 4850]) / (12400 / 2), rs=30, output='ba' ) b, a Out[10]: (array([0.0400...
I am here to check whether my line of thinking is correct. Root-raised cosine (RRC) filtering is one way to minimize intersymbol interference (ISI). Hence, we apply matched RRC filters on both sides of the communication link. We can adjust the roll-off factor $\beta \in \left(0,1\right]$ to trade-off the bandwidth (BW...
I want to compare the similarity of two images by looking at its structure and colors. I need a measure that takes both structural and color fidelity into account. When I checked the formulation of original paper, it is said only x and y mean and variance is measured. Does SSIM account for structure only or does it tak...
Given a $2 \times 2$ matrix, $C$, suppose I want to compute a filter matrix $H = C^{-1}$ and that I need to add regularization for practical purposes (e.g., for an audio filter, regularization is needed to limit the gain of the filter at certain frequencies where the condition number of $C$ is large.) The linear system...
In my previous question I asked about calculating a single number as "Spectral Density" feature from signal data. We concluded that it is really a total power and article (link) authors wrote the wrong feature name. I have a signal with 1 measurement per minute for a few days. It looks like this (in time domain obvious...
In this article the real valued time domain signal is transformed to the frequency domain to extract some features like mean or variance. But after transform to the frequency domain I calculate average hourly values (original measurements are 1/hour), so I need the signal in the frequency domain with the same length as...
The implementation of the Mueller and Muller clock recovery that I am seeing adds a large amount of 'noise' or degradation to the Error Vector Magnitude (EVM) to the symbols on the constellation. This is done independently in GNU Radio and a manual script in Python - giving similar results. Is this normal? I understand...
I want to use python to see what the audio response of a speaker is. This would be done by comparing the output of the speaker measured with a microphone to the given input. That means that for both of these signals that will be in the time domain I need to perform a FFT. Eventually I want to play a target curve close ...
I was reading the recent book Variational Methods in Image Processing by Vese and Guyader which is quite interesting. In the book the authors discuss different types of image processing problems, from denoising and deblurring problems to image segmentation and beyond. The common theme is that they use Variational Metho...
I would like to use Gardner loop to remove the timing offset in order to demodulate the signal. My signal contains the frequency offset, however I know that the Gardner loop can handle substantial frequency offsets and that is why I apply it. I have written the following piece of code: def Gardner_loop(time_support, si...
My original signal as f1=2; f2=5; fs=100; Ts=1/fs; t=0:Ts:1; xt=cos(2*pi*f1*t)+cos(2*pi*f2*t); figure plot(t,xt) as shown below figure. and my sampled signal with fs=12 which is greater than two times of maximum frequency, 2*f2=10; fs=12; Ts=1/fs; tn=0:Ts:1; xn=cos(2*pi*f1*tn)+cos(2*pi*f2*tn); and then I want t...
I have the transfer function below which is for a IIR filter and trying to plot its frequency response for omega<pi. r=0.99 and theta=pi/3: Here is my attempt at implementing it in MATLAB: N=5000; W=(0:pi/(N-1):pi); r1=0.99; theta=pi/3; z= exp(j*W); num= (1-r1); den= (1-2*r1*cos(theta)*z.^(-1)+r1^(2)*z.^(-2)); TF=num...
I would like to ask question bout the rrc filter that I applied as an matched filter for receiver side in communication. My aim after RRC filter is to draw the eye diagram, and so far the eye opening is small and I wonder if there are still ISI after applying rrc. This is my signal qpsk before / after applying RRC. H...
I am just unable to find the correct Fourier transform of these signals (unit step, sine and cosine functions) which are containing delta functions in their Fourier transform. For unit step function, I proceeded as --> $$ U(ω)=\int_{-\infty}^{\infty}u(t)e^{-jωt}dt $$ $$=\int_{0}^{\infty}e^{-jωt}dt$$ $$=\frac {e^{-jωt}}...
I’ve read that that frequency is a ‘window’ in weather, impacted less by raindrops for example. I otherwise would’ve thought that simply increasing the wavelength would decrease impact. I don’t understand why 1575 MHz is a ‘window’. Also, what factors other than weather impacted the decision to use 1575 MHz?
I know that for a system to be BIBO stable its impulse response must be absolutely integrable and the impulse response $ h(t)= u(t)$ integrates to approach infinity (i guess) I proceeded as$$ \int_{-\infty}^{\infty}|u(t)|dt $$ $$ =\int_{0}^{\infty}dt $$ $$ =t\Big|_0^{\infty} $$ $$ =\infty$$ So the system must be unstab...
I have been reading the paper entitled Measures of Similarity by Unnikrishnan and Herbet, in which they discuss some metrics to evaluate image segmentation. They use the word refinement of labels/segmentations/images in different places. However, it is unclear to me what this means, and an online search for "image refi...
In digital modulation process, after constellation mapping and before pulse shaping, the symbols are upsampled with the number L(samples per symbol). At this moment, why symbol have to be upsampled, if the symbol rate and sample rate is same what happen?
I was looking at some articles or Wikipedia on denoising images using the Total Variation norm. The setup is the Rudin Osher Fatemi (ROF) scheme, and the corresponding equation is: $$ F(u)=\int_{\Omega}|D u|+\lambda \int_{\Omega}(K u-f)^{2} d x $$ Some of the sources mentioned using the ADMM optimizer to solve this den...
The DTFT without $(-1)^{n}$ is relatively easy but with $(-1)^{n}$ I am not sure how it would be solved. I hope anyone can help
Is there any quick mechanism to create pi/4 QPSK or pi/2 BPSK modulation scheme in GNU Radio using Constellation Modulator object or Constellation Object? Or I need to write it by myself? Thanks in advance
my book about RADAR says that: If a Continuous wave radar sends a sine wave at frequency $f_T$ to a moving object (at speed V), a frequency $f_R$ is received. Their difference is called Doppler frequency and it is equal to $f_D = f_R - f_T = - 2 \frac{V}{\lambda}$. It is quite clear. Then, it says that the situation ...
How are you supposed to use GNU Radio additive scrambler block? The wiki documentation is very vague on the subject: Scramble an input stream using a Linear Feedback Shift Register (LFSR). This block scrambles up to 8 bits per byte of the input data stream, starting at the LSB. The scrambler works by XORing the incomi...
I am reading Smartphone based Blood Pressure Monitoring via the Oscillometric Finger Pressing Method, which is trying to estimate blood pressure from a PPG sensor and a small applied force finger sensor. I am not an engineer, so I'm unfamiliar with a lot of the terminology. In this paper, they describe using the ppg se...
Hello! I understand that using correlation, one can set up a system wherein multiple users can transmit at the same time using the same channel. And theoretically, I understand that if the correlation is equal to 0, then one can restrict which one will be able to receive which kind of data. For example, If User 1 tran...
I am confused about the units we would refer to with a correlation result in that if it would be a magnitude or power quantity (and therefore specifically when using ratios in dB would we use 10Log or 20Log?). I have since confirmed as detailed in this post that the normalized correlation coefficient $\rho$ is a magnit...
For the following system, I am not quite sure how the equation representing the input output relation is derived. Here, r is an input reference signal, $d_e$ is external disturbance and $n$ is noise. What I can write is $G[K(-Hy + Fr)+G_dd_e]+n = y$ so $(1+GKH)y = GKFr + GG_dd_e +n$ so $y = F\frac{GK}{(1+GKH)}r + G_d\f...
I am confused on how to solve this problem, does anyone have any ideas? https://www.merl.com/publications/docs/TR2004-043.pdf For a Haar filter $H \in \mathbb{R}^{3 \times 5}$ defined as below: What is the equation to calculate the Haar features using integral image II? In this problem an input images is $I \in \mathbb...
For the Simulink PID Controller model The Simulink generated code (rewrite for better understanding) is: #define PERIOD 0.005 double PID_step(double err,double P,double I,double D,double N){ static double Integrator,Filter; double POut,IOut,DOut,Out; POut= err * P; DOut = ((err * D) - Filter) * N;//LineA Ou...
I want to implement FIR Hilbert Transformer in Python using window method. I'm new to digital signal processing so please point out to me all mistakes you notice. Ideal Hilbert transformer is described as: $H(e^{j\omega}) = \begin{cases} -j & \text{, $0 < \omega < \pi$} \\ j & \text{, $-\pi < \omega...
Background Info I have a real signal comprised of 8 frequencies 400Hz-680Hz in 40Hz increments. The signal is generated from 8 cosines of equal amplitude (A=1) and phase (Phase= 0rad), summed together. This signal is fed through a transmitter to a receiver, and on the receiving end I wish to recover the frequencies and...
I am studying DFT of sinusoids, and my professor gave me this signal. Sinusoid Frequency: 100Hz Number of Samples: 512 Sampling Rate: 8 kHz Plotting the spectral plot I have the following: I was expecting a single peak initially since the signal is only composed of a single frequency but from my understanding of the...
I have the following array containing sine waveform that I want to compute FFT: { 0.0, 0.114124, 0.370557, 0.0, -0.576201, -0.370557, 0.0, 0.0 }; When using FFTW3 Library and running those 2 functions: plan_forward = fftw_plan_dft_r2c_1d ( N, in, out, FFTW_ESTIMATE ); fftw_execute ( plan_forward ); I get the followin...
This chapter offers a free overview on cancellation controllers. However, i did not get equation (6.4), how the transfer function of $G_R$ is determined?
My objective is to create a Gardner loop to remove the timing offset present in my signal. To achieve best timing SNR, I downsample my signal to 2 samples per symbol. It is depicted below: where blue and red vertical lines indicate the symbol and the sample duration respectively. Next, I plug my signal into Gardner lo...
Given a realization $\{z_{i}\}_{i}$ of some noise process $\{Z_{i}\}_{i}$ that is either a White-Noise process or an IID process, i.e. both are uncorrelated however the former also is independent, can we determine which one it is?
Hi does anyone know how to solve this. Im really struggling to figuring this one out. I am unclear of how the backpropagation part would work in this network and how to calculate it for each weight. Also, how you would incorporate 2 epochs. Consider the following network: Write the updated value of (i) W1 (ii) W2 (iii...
A symbol timing recovery scheme shown below has been successfully implemented in C++. Different TEDs (Mueller & Mueller, Early-Late, Maximum Likelihood, Gardner, Zero-Crossing, etc) are included in the implementation. I use a cubic interpolator I found in Michael Rice's book. The implementation performs sufficiently we...
I'm trying to figure out a difference measure that is relatively insensitive to time shifts. I have tried DTW (dynamic time warping.) This is the result: The signals on the left are clearly more similar than the signals on the right yet due to time shifts I get larger normed difference for the left than for the right....
I am not sure if I am missing something, but from what I read I understand that modern control systems work in the time domain rather than the frequency frequency or S-domain. Wikipedia article snapshot below: Why is the time domain preferred in modern systems? I thought the entire point of going to S domain is becaus...
I would like the chirp to end in phase zero. Chirp time or end frequency may vary slightly. Now I'm checking the maplot output. I observe the same thing at the output of the sound card. In this solution, the chirp does not always end in phase zero. help find a solution. Thanks for the help. Andrew from pylab import * i...
I understand that the moving average filter is simply the average of a number of points from the input signal to produce the output signal. If x[] is the input and y[] is the output and M is the number of points, then the filter is just $$y[i]=\frac{1}{M}\sum_{j=0}^{M-1}x\left[ i+j \right]$$ This can be done through ma...
I would like to find out the phase offset that my signal contains at the receiver side. For this, I use the cross-correlation function, where I cross-correlate signal before and after matched filter. The resulting cross-correlation function is represented in the figure below: In the figure we can see that there is a p...
Does anyone know what Speaker Walkaround means in context of a digital amplifier? Also how is this test performed? Lastly, how is it different from Load Diagnostics in Amplifiers?
I'm building an application that requires determining the arrival time of an audio signal with a very high degree of accuracy (within 1ms would be ideal) using commodity smartphone hardware. I found another user on this site who had the same requirements (minus the smartphones), and the answer given was truly excellent...
Is there a function, in continuous or (primarily) discrete time, such that convolving with it preserves the input's energy? For $x$ that is finite-valued, finitely supported in time, and: Real or complex? Real? Real and non-negative? where "energy" refers to L2^2: $$ \text{E}(f(x)) = \int_{a}^{b} |f(x)|^2 dx \ \ \te...
Lets have a RF-chain as above with system bandwith from HP corner to the green line say 1 MHz. The signal accumulates delay as it passes through this analog chain, and due to it being non-liner filter chain, the group delay is likely as shown. Now at the end of LP1 and LP2 we have some form of detectors, which taken i...
After applying STFT to a signal, you typically need to convert the frequencies to the Mel scale. Typically the frequency values range from $0$ to $N/2$, where $N$ is the width of each sliding window. I have read so many articles about Mel Spectrogram. Basically they all say to convert frequencies to Mel Scale in the fo...
I want to use Fourier Transformation to compute the similarity of 2 audios. I am dealing with small audios having the same size: 1 second length, mono channel. My question is how can I use the Fourier Transformation of these 2 audio files to check wether they have the same sound or not. My focus is about high intensity...
I have implemented the procedure to reconstruct an image from its Radon transform involving the Fourier Slice Theorem (FST). After application of the FST, the data is transformed from polar coordinates to cartesian, by regridding. It works fine, except the reconstructed image is "zoomed out" (see picture). What causes ...
I resize the Multispectral image to perform IHS-to-RGB transformation. I used the Nearest Neigbour Interpolation method when resizing. While researching this issue, I saw that this is the best option to prevent spectral contamination, but I do not know exactly what the definition of spectral contamination means. I sear...
I am plotting a Frequency-Amplitude Graph using openGL for the graph and Rosetta FFT implementation for the FFT calculations, I generated a 2 waveform, applied Hanning window, applied FFT and calculated the magnitude, when I plotted the graph I noticed the graph isn't smooth like it's suppose to be, like I generate the...
This is from "communication system" by Carlson fifth edition page 109: If transfer function of a channel be like this: $H(f)= Ae^{j\phi_0}e^{-j2\pi ft_g} $ and input to this system be: $x(t)=x_1(t)\cos(\omega_c t) - x_2(t)\sin(\omega_c t) $ will output be like this? $y(t) = Ax_1(t-t_g)\cos[\omega_c (t-t_g)+\phi_0] - A...
I've read about the PSD of one OFDM symbol for instance being an estimate of the PSD, but how can it be an 'estimate', when it literally is the PSD of that OFDM symbol. What is actually being estimated? I get that the OFDM symbol is supposed to be a single record of a WSS random process, and therefore its an estimate o...
I am trying to port some code from MATLAB to python. The goal is to use Butterworth filter (4th order, bandpass) API and convert it to second-order sections. I get the same output between MATLAB and python for the Butterworth filter coefficients but not for zp2sos/zpk2sos. Using MATLAB R2019b, python 3.7, scipy 1.6.3. ...
Because I might encode my music in lossy format for other devices or edit them, I prefer to keep a high-res copy of my music. However, I know that it is possible to upsample a file using ffmpeg and it would appear the same as an authentic high-res file with ffprobe. Is there anyway I can tell apart a "fake" high-res fi...
I am using butterworth filter for both square pulse and sine wave. In case of square pulse, butterworth produces some sharp ripple of edges of square pulse in time domain for varying butterworth order (wn > 2). But in case of sine wave, I don't see any ripple. Could anyone please explain the reason behind that? Matlab ...
Suppose a signal is growing exponentially. We take its Z transform & find its ROC. So what are we supposed to do practically? Are we supposed to manipulate our O/P by multiplying any signal from ROC such that our O/P converges & system is stable? And what if our signal is exponentially decaying so whats the purpose of ...
I have time series with 1048 values and when I perform detrended fluctuation analysis on this time series (using the windows or scales of 2^4 to 2^10 values) to calculate the alpha-component I get the following result: As you can see, the relation is linear with alpha 1.53 indicating a non-stationary process. However,...