instruction
stringlengths
31
27k
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,...
I am looking for a method to generate two binary sequences of length $N$ with the following properties: Very good cross-correlation for all shifts. Good enough autocorrelation for all shifts except zero delay (good enough means $\gg 1$ and $\ll N$). I can even relax the constraint on the cross-correlation as follows:...
If we take Z-transform of a signal & find its ROC. How to use this ROC? There are infinite signals in ROC, suppose we choose any signal from ROC, what to do with it?
I need to model the relationship between the DCT and DFT transforms (If it exists). I mean real signal $x \to y = \textrm{DCT}(x) \to z = \textrm{DFT}(y)$, so I need to get the relationship between the $x$ and $z$ if possible. For more details: Assume I have a real signal $x[m],\ m=1,2,….N$, the $N$-point IDCT transfor...
I'm trying to do some image processing to improve the image below but I'm having some trouble. I already tried to do histogram equalization followed by laplace sharpening, I tried to implement a buttersworth high pass filter but the image became all black. Do you have any suggestions on what techniques to use ti improv...
I am working on a soft iterative receiver for an M-ary modulation. Since my constellations, M=2⁷ — M=2¹², are rather big, the log likelihood ratios also become large. Is there a way to compress these values to a smaller range, e.g. from [-100, 100] to [-10,10]? Momentarily, I am rescaling the values to fit them in my d...
For example, if I have a mixed signal composed of signal A added to signal B, and I know that the histogram of signal A is non-Gaussian in the time domain, and that the histogram of signal B is Gaussian in the time domain, is there a way to isolate either A or B using this information? I understand that I can use MLE o...
In the image, the signal is a pseudorandom sequence with values oscillating between -1 and +1. It is periodic (in this case with period 0.001). I don't see how the sequence yields a fourier transform whose real and imaginary parts are given on the right side. Any help on how to compute this would be really appreciated....
I am trying to implement some code to firstly generate an Octave-Band and Fractional-Octave Band filter. I have used MATLAB's octaveFilter method to generate compliant Class-1 and Class-0, 1/1 and 1/3 Octave band filters, but I want to understand how to design these filters from scratch so I can better understand thei...
How could i go throw proving that this system $y(t)=\int_{-\infty}^{t}e^{-(t-\tau)}x(\tau)d\tau$ is invertible system or not ?
This diagram again. This is clearly not the shape of $\log_2(1+SNR)$ but I very frequently see this instead of this: But this is also a stupid diagram because it doesn't cross at the origin. Also why do the modulation techniques veer away from $\log_2(1+SNR)$, they should stay on the curve and then get suddenly cappe...
My task is to generate finite number of samples and save it to the file. For that purpose I used head block but after setting the run option to: Run to Completion, the flowgraph doesn't stop, just hanging. Any idea how to force my flowgraph to stop after certain amount of samples is written to the file?
The asymptotic phase behavior of an RHP zero is from 0 degrees to -90°, the mirror of an LHP zero. Graphically, I'm confused about why this is the case and the phase is not from +180° to +90°. See the below image for my reasoning/confusion. Is the angle definition not consistent?
I have a signal x[n], that is sum of two sinusoidal signals. $x(t)=sin(2100t)+0.7cos(2500t)$ fs = 5000; %sampling frequency N=250; %number of samples for 50ms time portion ts=1/fs; %time interval between samples t = linspace(0,0.05,N);%time domain from 0 to 0.05s(50ms) with 250 samples x = sin(2*pi*100*t)+0.7*c...
I did a FIR filter hardware implementation with 80 taps (FPGA/VHDL). I will use it later as the decimation filter. My questions: Does the number of taps affect a cost of implementation of FIR? FIR filters belong to the class of linear filters, the combination of N lower order filters can create the ...
To recover the original signal when compressive sensing is used, we get an error, to avoid the error, we need to modify the l1eq_pd.m file. How to go about it? Where can I get this file in Matlab?
I am trying to evaluate the performance of an AEC by comparing the i/p and output wav file. I want to calculate echo return loss enhancement to predict how much(db) echo has been attenuated but i am not sure what would be right approach for that or is it possible or not, can we calculate in python?
I'm trying to design a filter to restore the original signal from strong noise (low SNR). I have tried low pass FIR and it could work well as the amplitude of original signal is much higher than the background noise. My matlab code of a demo are as follows: clear clc close all time = 1:10000; fre1 = 50; fs = 8000; amp...
I have a Sine wave at frequency F1. This signal changes and shifts to frequency F2. In frequency domain I like to find this shift as quickly as possible. (Signal has a lot of random noise and hard to Observe in time domain) What is the best approach ? I have tried various FFT chunk sizes and zero padded approaches but ...
I am reading communication systems, and have a doubt: Is it possible to generate signals in reality that have a non-symmetric magnitude spectrum in the Fourier domain? For example, if I have a signal $$u(f)$$ or something like this as Fourier domain representation I know that their Inverse Fourier transform is going t...
check time variance of this system $$y (t) = x(\frac{t}{3})$$ my solution $$y_1(t) = x_1(t/3)\\ y_2(t) = x_2(t)= x_1(\dfrac{t}{3}-t_o)$$ where $$ x_2(t) = x_1(t-t_o)\\ y_1(t - t_o) = x_1(\dfrac{t-t_o}{3}) \ne y_2(t)$$ is this correct?
I'm working on studying an endangered language and have the following problem: while I already have labeled exactly what the speakers I worked with have said at given timesteps on the word level and I know what possible lists of sounds/phones/letters can make up the word, I need a way to automatically detect the bounda...
I'm trying to filter this $g(x,y)$ WGN added image My Wiener filter is: $$H(u,v) = \frac{P_{f}}{P_{f}+P_{n}}$$ Where the image power spectral density $P_{x}$ is estimated as $\frac{|X(u,v|^{2}}{N^{2}}$, $X$ being the FFT and $N^{2}$ its size. Since image and noise are uncorrelated $P_{g} = P_{f}+P_{n}$, thus $H(u,v) = ...
I am new to signal processing. I have a 3 axis MEMS accelerometer. I have read its output into $\mbox{Matlab}^{\tt TM}$. My problem is that the signal I am trying to isolate has a frequency of about 0.2Hz, but in the frequency spectrum there are no peaks in this region, there are only peaks in the region <0.1Hz. The OD...
I have some acceleration values from a sensor. These values are reported as x, y and z components of the acceleration. As can be seen in the attached figure, it is clear that the z signal has a clear sinusoidal curve present. Is there any algorithm to quantify the "sinusoidalness" of a curve. I am trying to write an al...
I'm trying to develop an automated state-detection algorithm, basically expanding on MatLab's "statelevels" function to multiple (i.e. 3+) states, however I've hit a brick wall in trying to figure out how to define histogram bin edges without prior knowledge of the signal and have not been able to find any literature w...
What are the fundamental differences between speech and music in the frequency domain? I can think mainly of features in the time domain that can differentiate speech from music signals, e.g. short silences [Wolfe2002Speech]. Maybe fundamental frequency could be used for distinguishing speech from music? If yes then wh...
In UltraSound imaging, after beam-forming and obtaining the envelope, Log-compression which is a non-linear operation and scan conversion which is a 2D interpolation (with inherent down-sampling) is performed. I was wondering what would be the correct order of log-compression as a nonlinear operation and the 2D interpo...
If a musician (or a vocal coach) hears a human voice at a certain note, he/she can easily find the same note on piano. Not only for human voice, if the waveform is square, or created with a synth, they will be able to figure out which note it is. However, using DFT (or FFT) gives mixed results for any waveform other th...
I want to find the output signal(y) from input signal(x) and impulse response(h). To do that first I take the fft of both x and h, then multiply them, and finally taking the ifft of the result. The input signal is a 5 second sound. I tried to equalize the lengths of the FFTs but it didnt work. How can I overcome this? ...
The Fourier transform of $x(t)=\operatorname{rect}(t)$ is $X(f)=\operatorname{sinc}(f)$ The Fourier transform of a periodic train of rectangular pulses $x(t)=\sum\limits_{n=-\infty}^{\infty}\operatorname{rect}(t-n)$ is a sampled sinc: Picture taken from here. From a math point of view it is fine because: The periodi...
I was wondering if it is possible to use windows of varying lengths when making a spectrogram based on the short-time Fourier transform (STFT). That is, for higher frequencies I would use shorter windows so that I get higher temporal resolution at the cost of poor spectral resolution. I understand this method will resu...
Regarding when you 'compress' the signal, I typically see diagrams like this: And the companding curve: I can only see how the companding curve achieves a higher average SQNR by rounding down higher amplitudes more than lower amplitudes when making the quantization, according to a normal PDF, making the quantisation ...
After a year of listening to people talk through face masks, it appeared to me that the sound is not merely muffled, but it has a very specific and recognizable tinge and texture to it. It reminds me less of sound through a muffling pillow, and more of old speech recordings from the 1950s. This is apparent whether you ...
Background I set up a conventional Kalman filter that makes use of smartphone GPS only (no inertial sensors). That is, it uses the position, doppler speed, and course, in order to create positions that represent a more accurate track. When the device is stationary (i.e. the smartphone is placed on a table), the GPS dri...