instruction
stringlengths
31
27k
I understood the concept behind Hough transform. One thing i am still unsure is the rho and theta range of hough transform. The range is given below. If theta is in the range [0,pi), then rho values can have negative values. If theta is in the range[0,2pi), then rho can have only positive values. How can rho be negat...
I'm developing a software emulated analog synthesizer in the style of Euro Rack Modules. I have a problem with the volume amplifier. Whenever I control the volume button via mouse/hand/manually rapidly (fast low and up, or fast from low to middle), I hear lots of little cracks while changing the volume. The confusing f...
I have been reading chapter 8 - The Discrete Fourier Transform of the book The Scientist and Engineer's Guide to Digital Signal Processing and chapter 12 - Discrete Fourier transform of the book Continuous and Discrete Time Signals and Systems. I'm not sure if I have understood real DFT properly. From what I understood...
I am trying to understand, possibly in an intuitive way, why would OQAM/FBMC when used with a Phydyas filter lead to a signal that does not need any cyclic prefix just like in any OFDM signal also created by an IFFT If the cyclic prefix is absent how would ISI be avoided?
Hi All: I was thinking about buying a "DSP book with matlab". I'm not sure which one is generally recommended but that's not my question. My question is, when you buy such a book, do they require the DSP toolbox (assuming it exists) or just the regular base matlab. I have the base matlab but I would think the toolbox...
I have sampled RF wireless packets as IQ samples file, those RF packets has patterns like preamable|syncword|data|crc , I'm doing cross correlation with my constant syncword (after I did the demodulator in order to convert the IQ samples ) and I see in matlab the peak of correlation where there's sync word in my packet...
Input: Sine wave of any frequency centred at 1.66V Output: Square wave with a frequency equal to input I have been working on implementing a common DSP problem -- Detect the frequency of a Sine Wave. I have used a handful of posts from stack exchange to get me started, and found This answer best suited for my problem. ...
I want to implement a Length N moving average filter using block convolution algorithm(overlap save algorithm) I am copying block convolution algorithm(overlap save algorithm) from Proakis, DSP using MATLAB 3rd Ed function [y] = ovrlpsav(x,h,N) % Overlap-Save method of block convolution % ------------------------------...
I have a spectrum as shown. The x-axis is frequency in GHz. The spectrum shows ripples that we can visually quantify as ~50 MHz ripples. I am looking for a method to calculate the frequency of these ripples other than by visual inspection of thousands of spectra. Since the function is in frequency domain, taking FFT wo...
Suppose $g[n]$ is periodic with fundamental period $N$ and $f[k]$ being its Fourier coefficients i.e. $$ f[k] = \frac{1}{N}\sum_{n=<N>}g[n]e^{-j\frac{2\pi}{N}nk}$$ In more convenient notation $$g[n]\leftrightarrow f[k]$$ It's easy to prove $$f[n]\leftrightarrow \frac{1}{N}g[-k]$$ This is called "Duality in the discret...
As you know, most universities across the globe are closed due to pandemic and people are unable to acess research facilites ,so in such a scenario one wants to improve his dsp hardware programming skills, how can he make up for dsp kit tms320c6713? I mean, is there any software proteus/matlab or Labview or anyother s...
I am trying to replicate the projections of a 3D point to 2D using the pinhole camera model and the formula $x = K * [R|-RC] * X$, where $x = s\begin{bmatrix} u\\ v\\ 1 \end{bmatrix}$, $K$ is the intrinsic matrix: $\begin{bmatrix} 35 & 0 & 810\\ 0 & 35 & 540 \\ 0 & 0 & 1 \end{bmatrix}$ as the focal length of my i...
I am confused if it's possible to estimate the channel based on the time-domain pilots. I mean I have such signal $x$ with length $N$ after taking its $iFFT$ we get $X = ifft(x)$. I have perfect knowledge on pilots signal in time domain, I mean I know what is $X_{1:4:N}$ (Again, it's in time domain after taking the iff...
In an environment with limited memory and computing power it is interesting to be able to generate a Hann window without using a cache or repetitive calling of expensive functions such as sine and cosine functions. The following document demonstrate the use of an alternative approach in order to compute a pure tone by ...
I know this is basic for signal processing, but, I am not sure what is wrong about my approach. I have a signal that behaves as damped sine signal with a sampling frequency of 5076Hz and 15,000 number of samples. I found from the following website how to convert a signal from a time domain to frequency domain and manag...
Unfortunately indexing the output of convolution product confuses me. Suppose $x[n]$ is of length $15$ (i.e. $0 <= n <= 14$) and $y[n]$ has the length of $9$ ($0 <= n <= 8$). if $z[n]$ be the output of convolution product of $x[n]$ and $y[n]$, that is $$z[n] = (x * y)[n] = \sum_{k=-\infty}^{+\infty} x[k]y[n-k]$$ As a r...
I am designing a 2nd order IIR digital filter : My tf equation with coefficients is b = [0 1.209e09] a= [9.2175 -2.6952 1.0000] sys=tf(b,a,0.1,'Variable','z^-1') bode(sys) I have couple of questions : How to get unity scaling .. as a formula... so that i can always multiply it with the 'sys' tf. I usually seen t...
I'm transmitting RF packets with frequency 868MHZ , symbol rate (it's the same as bit rate) is 50KBaud , and Im sampling them by a dongle (fs=20480KHZ) to capture those RF packets, the captured samples are IQ RAW DATA and I save them into a file , by matlab Im using this file and plot all the captured data(packets), I ...
The term "butterfly " is often used in association with fft texts But what exactly is a butterfly ?a matrix/group of i/o's is known as butterfly? Such as 2 input 2 output butterflies in stage 1 of attached photo How we can differentiate between butterflies of stage 1 and stage 2?other than number of i/o's?
Let $$\hat{x}[k] = \frac{1}{2\pi}\int_{-W}^{W}X(e^{j\omega})e^{j\omega k}d\omega,\label{ift}\tag1$$ where $$X(e^{j\omega}) = \sum_{n=-\infty}^{+\infty} x[n]e^{-j\omega n}\label{dft}\tag2$$ Also, $$d[k] = x[k] - \hat{x}[k]\text.\label{error}\tag3$$ Show that energy of $d[k]$ goes to zero as $W\to \pi$. That is, $$\lim_...
Let's say we have a signal $x[n]$ upsampled at the transmitter by $4$ and then downsampled at the receiver by $4$ too. As known, the performance will be much better compared with transmitting the signal without upsampling. but what I need to understand, what is the disadvantage of using up-sampling ? Does that effec...
I want to compute an objective speech quality however what I have right now is the Anritsu raw data (layer between the Base Station Controller and the Mobile Switching Center), this raw data does not contain the Noise power , the original signal power nor other needed data to deal with (Bit error rate , Frame error rat...
I know that we can build a chip (or circuit) or use FPGA to have re-configurable digital filters. But how about analog filters, can we have re-configurable analog filters? thanks
I am new to encoding in audios and i have searched for ulaw and alaw and found there is conversion from audio to this encoding CCITT alaw/ulaw and as i have known alaw/ulaw belongs to ITUT group not CCITT so Is there two standards for conversion audio to alaw/mulaw ? and this conversion about CITT ulaw
I have the diagram above. I found the transfer function below from it; The question asks me to find out if the system is causal and stable, but didn't it have to indicate whether it was left-sided or right-sided?
I am working in acoustic communication, I want to test CDMA network capabilities in acoustic environment. I had an acoustic modem that has serial interface, a WHOI micromodem. How can i serialized coded data from various node in the same channel?
What's the advantage of using the Bilinear Transform? $$H_d(z) = H_c(s)\bigg|_{s=\frac{2}{T_s}\frac{z-1}{z+1}}$$ When you can just use this equation? $$H_d(\omega) = H_c(\Omega)\bigg|_{\Omega=\omega/T_s}$$ In other words, why does bilinear transform exist? These two equations look almost the same to me...What are the t...
I need to understand where the concept of the distance comes from. What I mean is, how do we know what coordinates are to assign to points in the constellation. For example here for QPSK the points are given coordinates $$\pm\sqrt(E_b),\pm\sqrt(E_b)$$ For BPSK on the other hand they are $$\pm\sqrt(E_b),0$$ This questio...
assuming I measure a signal that has different PSFs per position in time. for example: t = linspace(0,20); % "ground truth" signal will be like: x = @(t0) exp(-(t-t0).^2/0.1) ; % some made up impulse response (psf) that depends on t0 will be: h = @(t0) diff(diff( exp(-(fftshift(...
Considering this setup, single tone transmission over a channel impaired by AWGN, doppler spread, and inter symbols interference. We are to compute the BER as a function of the SNR. We want to find the number of samples that need to be tested and the number of errors that need to be found. What number of samples/errors...
I hope, you are doing well. I want to ask question about baseband conversion. Background: I generated two AM signals in MATLAB, which one of them is shifted in time. I multiply the signals with $\cos(2\pi f_c t)$ in order to obtain IF signal. I filtered the IF signals with $f_c$ cut-off frequency. In this way, I aim ...
I am trying to reimplement an algorithm on my own. In the description of the implementation, it's written that they compute the derivate of a series of value using a [-1/2, +1/2] finite impulse response filter for obtaining an array of the original length. Basically, a FIR filter should be a convolution but I don't und...
I was just trying to refresh my systems theory known from long ago, and I realized that I had forgetten the name of the basic functions. Specifically, what are the names of these functions respectively: $$H(\Omega),~ H(\omega),~ H(s),~ H(z),~ |H(\Omega)|,~ |H(\omega)|,~ |H(s)|,~ |H(z)|$$ I'm assuming that $\Omega$ is ...
I was just curious... $$x[n] {\longrightarrow} \boxed{h[n]} {\longrightarrow} y[n]$$ I've never seen a real world filter where the coefficient of $h[n]$ were complex, or where $x[n]$ was a complex sequence. But, the DSP book always makes a big deal about conjugate symmetric sequences, which implies that either $x[n]$ ...
Using a single audio source, suppose I take two samples of the same length (say, 10s), with the same sample rate (say, 44100Hz), one just 1/3 sample length (7 microseconds) away from the other. Does FFT on the two samples return (roughly) the same shape? Is there a way for me to sync the two samples?
I am working with ultrasonic transducers with frequencies 100 kHz, one for transmission one for reception. The transmitted signals are chirps. I would like to measure the time of flight between transmission and reception. Can anyone help me with how could I do the phase/amplitude equalization of impulse response of tra...
I have collected two signals, $B_1(x)$ and $B_2(x)$. The signals start and end at the same $x$-values. Each signal $B_i(x)$ contains: a base signal $b(x)$, which is the same for both, and a signal, either $w(x)$ or $w(x+\phi)$, which are identical except for the shift $\phi$ along $x$. Signals $b(x)$, $w(x)$, and $w(...
I am reading the paper Learning to Detect Natural Image Boundaries Using Local Brightness, Color, and Texture Cues available here. In section 2.2.2, page 5, slightly after halfway done the page on the left the authors use the terms even and odd quadrature pairs of filters a center-surround filter For instance an exam...
I am using the following system: Ultrasonic chirp signals with central frequency 100kHz are being transmitted using ultrasonic sensor. After the transmission through the medium(air/solid/liquid/combination) they are being received with hydrophone. The system is being controled by DSP and signal generation and acquisiti...
I am currently working in MATLAB and had to downsample a .WAV file (I used the downsample function in MATLAB) to 44.1 kHz. However, when I compared the two spectrograms of the original signal vs the downsampled signal, the resolution of the downsampled signal looks like it has more resolution at frequencies 0-22 kHz th...
I am resampling an audio (1D) signal, using a resampling factor that moves linearly from startFactor to endFactor; say the input signal has a length of 4194304 sample frames, and startFactor is 1.0 and endFactor is 4.0, for example. Since the DSP blocks reads the resampling factors from a signal (here a linear ramp) at...
I have three emitters in three different positions that emite three signals $S_1(t), S_2(t), S_3(t)$ with $$S_1(t)=S_2(t)=S_3(t)$$ Two receivers recive $R_1(t), R_2(t)$ with \begin{align} R_1(t)&=r_1(t-D_1)+r_2(t-D_2)+r_3(t-D_3)\\ R_2(t)&=r_1(t-D_1)+r_2(t-D_2)+r_3(t-D_3)\\ r(t)&=\operatorname{conv}\big(S(t),\rm{Imp_r}\...
I am using the following system: Ultrasonic chirp signals with central frequency 100kHz are being transmitted using ultrasonic sensor. After the transmission through the medium(air/solid/liquid/combination) they are being received with hydrophone. The system is being controled by DSP and signal generation and acquisiti...
$$y_c[n] {\longrightarrow} \boxed{\text{D/C}} {\longrightarrow} y(t)$$ If the following equation describes the IDEAL D/C converter: $$y_c(t) = \sum \limits_{n=-\infty}^{\infty} y_d[n]~ \text{sinc}\left(\frac{\pi (t - nT)}{T}\right)\tag{1}$$ $$Y_c(\Omega) = \begin{cases} T~ Y_d(\omega) \Big|_{\omega=\Omega T} & |\Omega...
I have an audio clip and I copy a 256-point part satarting at 10th second. Then I create a 256-point frame on the original clip. At every itreation, I calculate the DFT of the frame, multiply it with the DFT of the interval I copied, take the mean of the result and append it to a list and shift the frame 1 point right....
I'm reading about PSC (primary synchronization code) in UMTS. It is a so-called Golay sequence. It is said it has a good aperiodic auto correlation properties. What does it mean (in terms of aperiodic)? What is the difference between good periodic/aperiodic auto correlation properties? How does it differ from good cros...
While trying to better understand how an MRI goes from k-space to an image, I came across this wonderful website that explains how you would represent an image as a collection of rows of pixels where each row of pixels is represented as a sum of waves of greyscale intensity. First you select a single row from an image...
New to signal processing, but making good progress, I think. I have a series of (many) impulses I generated, which will be used as impulse responses to model our church's acoustics, in this time of covid-19. A couple of questions, before the details: What is the best practice (and code solution) for detecting the onse...
With histogram matching we can transform an image's intensity distribution. But this idea is very subjective. Sometimes for choosing a target image we have options no better than a guess. But is their any rule of thumb of choosing an appropriate target image for desirable improvement in input image? Is it possible to c...
Having some confusion about digital pulse shaping for complex baseband (passband) signals. The complex baseband linear modulation equation is $$s(t)=\sum_{m=-\infty}^{\infty}\text{Re}\{a_m\}h(t-mT)+j\sum_{m=-\infty}^{\infty}\text{Im}\{a_m\}h(t-mT)\tag{2}$$ where $a_m$ are the symbols and $h$ is the impulse response of ...
I have been working on converting a simple, floating point algorithm to fixed point and need to create a block diagram to help the guy who will implement this on an FPGA. As often is the case, the output can be represented as a linear combination of (the real and imaginary parts) of some input signals. I would like to...
I have an array of numerical data. Say, %% setup an array of gaussians where the mean is quadratically swept p = [0.15,-0.3,1]; mu = polyval(p, 1:8); sig = 2; tmp = (1/(sig*sqrt(2*pi)))*exp(-(1/2)*(((1:8)'-mu)/sig).^2); %% add interference tmp(6,5) = 1.2/(sig*sqrt(2*pi)); %% add noise tmp = tmp + 1.5e-2*randn(size(tmp)...
I have a bunch of audio files that have a sample rate of 380kHz, however I would like to reduce this sampling rate to 44.1kHz. From doing some research online, it seems like I will have to use a low pass filter in order to avoid aliasing before I downsample. I am using python and thinking of using the butter_lowpass_fi...
I have a 1d signal obtained using a Fourier based resample method (TDIFDZP) for which the resampled points don't necessarily go through the original samples. I want to transform the upsampled signal to go through these points to reduce the error between the resampled and the original signal as shown in the image below....
I have signals with a very short rate of ~100e-6 seconds, sampled at 10MHz,so about 1k samples. I am wondering, is there a practical limit to the usefulness of time-frequency methods concerning a minimal duration of the signal or a certain sampling frequency for that matter? i am talking about chirp radar signals which...
What is the difference between a feature detector and a dense detector in computer vision? Are they the same or a subset of one another? For the following algorithms (implemented in OpenCV), which of them are feature detectors and/or dense detectors? SIFT SURF AGAST KAZE AKAZE FAST BRISK ORB GFTT HarrisLaplace StarDet...
I am newbie in compressive sensing (CS), I read about compressive sensing and its use for sparse vector estimation. As I understood CS can be used either in time or frequency domain. For me, The part I couldn't understand in my case is how to build the measurement matrix for my vector required to be estimated. (In my ...
In the paper: Detecting and Localizing Edges Composed of Steps, Peaks and Roofs, the authors refer to an image filter as an oriented second-derivative Gaussian filter. I'm trying to figure out what this means. From my understanding a Gaussian filter for a given standard deviation $\sigma$ of size $n \times n$ for some ...
What I understand is that using DFT, we are representing a given discrete signal using a basis of complex exponentials of different harmonic frequencies. If I am taking 16 point DFT of a signal sampled at 1 KHz, k=0 corresponds to 0 Hz, k=1 corresponds to 62.5Hz etc. Is this correct? In the figure, a cosine of 187.5Hz ...
I am working on phase correction algorithms. Can anyone help me understand how can the following diagram be used for phase correction: Additionally, for a channel function suggested How determine the delay in my signal practically, I have tried the following: Fs = 306.700*1e+3; % sampling rate Fc = 100*1e+3; % centra...
i got an IIR filter bu I have only the coefficients. now i'd like to be able to change the filter characteristics of the low pass filter (the "cutoff" frequency) but all i got are a and b coefficients. i'd like to be able to set a multiplier that will "scale" the filter by that amount. if i set the multiplier to 0.5 i...
Is there a way to design a lowpass FIR filter with a more relaxed transition band than what MATLAB FilterDesigner tool generates? What I intend to do is to reduce number of taps needed to implement the filter. The response that MATLAB generates is good but it needs too much coefficients and the response that I need can...
I have some difficulties to have a correct intuition about expected pose accuracy when dealing with planar pose estimation (e.g. pose estimation from AprilTag detection) and perspective camera model. Assuming ideal conditions (e.g. simulated data), I consider also that the tag corners can be extracted with a good accur...
I am trying to watch difference between cubic interpolation and spline interpolation using matlab plot but i am getting same plots in both cases using interp1 command My code is below. In below code ,if i use spline in place of cubic, i still exactly get same plot,why? clc clear all close all x = 0:pi/4:2*pi; v = sin(...
In order to submit a document to an online website, they require the following: Scan the US letter-size hard-copy document at 600 dpi in greyscale Provide a JPEG, JPG, or PNG file of the scan with a maximum size of 5 MB When I scan at 600dpi and create a JPG with no compression, I get an 8.5 MB file. So, I used (Fas...
I am interested in comparing 0.5-second 44100/s signals when different ADSR envelopes are applied to them. However, I don't want the comparison to be as fine-grained as simply calculating a 5000-dimensional envelope - ideally I'd like a <100 dimension vector that told me everything I needed to know about change in amp...
As descipbed in this great answer (thank you Matt L.), the suggested exact formula was very precise. I need a first order high-pass with similar precision. EDIT: (clarification) The low-pass filter discussed in the link above was this one, derived from the simple RC filter. What I'm looking for is the discrete version ...
I am trying to estimate the average amplitude of some signal with frequency 6 Hz, sampled at ~300 Hz. See figures for a part of the signal and its dft calculated using matlab. I estimate the average amplitude of the signal by calculating its root mean square, >> rms(signal) ans = 5.1651 However, when looking at ...
I need to convert a fourth-order IIR filter made using two cascaded second-order sections with the transfer function: $$ H(z) = \frac{b2_{1}z^{-2} + b1_{1}z^{-1} + b0_{1}}{a2_{1}z^{-2} + a1_{1}z^{-1} + a0_{1}}\cdot \frac{b2_{2}z^{-2} + b1_{2}z^{-1} + b0_{2}}{a2_{2}z^{-2} + a1_{2}z^{-1} + a0_{2}} $$ to a parallel form ...
I want to plot poles and zeros as well as impulse response of a transfer function that is given below: $$H(z) = -0.0625z^4 + 0.25z^3 + 0.625z^2 + 0.25z -\frac{0.0625}{z^4}$$ For poles and zeros, I used MATLAB function residuez. However, I got error which is similar in impulse response plot. code: b = [-0.0625 0.25 0.6...
Below response shows sinc1,sinc2 and sinc3 filter response. I understand that notches in the frequency response happens at the output data rate of the sigma-delta ADC. But I am not able to figure out why there is a notch ? All articles I read mentions that notch happens at integral multiples of output data rate but do...
In general, we all know that the direct form 1 equation for a biquad filter is given by $$y(n) = b_0x(n) + b_1x(n-1) + b_2x(n-2) - a_1y(n-1) - a_2y(n-2)$$ But when it comes to practical applications like for audio processing applications, I have seen many people using $$y(n) = b_0x(n) + 2b_1x(n-1) + b_2x(n-2) - 2a_1y(n...
I know that aliasing occurs when a signal is subsampled. If the sampling rate is lower than twice the max frequency in a signal, aliasing occurs. How is it in pictures? as far as I know, a sinc-filter is not applicable in photos. so my question is, is aliasing always in pictures?
Here is a sample data that I got from the accelerometer sensor: The first selected area shows the acceleration of the IMU device to right side and the second shows the movement to left side. I am looking for an algorithm to detect selected areas (as an array of floats) and provide the direction. I almost don't know an...
I'm working on some code for receiver function method in seismology. For anyone one not into the topic, it's just a deconvolution of two time series (seismograms). This can be done in the time domain as well as in the frequency domain, however, the method I'm working on is doing it in the latter. The function I'm apply...
I am trying to use Fast Fourier Transform (FFT) for decomposing an audio signal into 8 sub-bands according to this link but the problem is the frequency response of the result contains only the first sub-band of the signal. Here is my code in Jupyter Notebook: %matplotlib notebook from scipy.io import wavfile # F...
I have a transfer function as $$H(z) = \frac{-0.0625z^4 + 0.25z^3 + 0.625z^2 + 0.25z - 0.0625}{z^4}$$ I want to derive magnitude and phase response of this equation. can someone help me from here I am stuck. Thanks
For color images I know you have to convert to YCbCr format, and then for downsampling is based on the fact that human beings see differences in Y more than differences in Cb or Cr. How do I do these things but for grayscale (or monochrome) images?
I am collecting some data from jotform .wav widget. All the audio files are in .wav format. But when I tried to open the file using python from pydub import AudioSegment s = AudioSegment.from_wav(audio_path) But it was giving error, So I tried to check whether .wav files are correctly encoded. I tried to convert exist...
This FFT function is from Numerical Recipies in C and I am using it in my java projects. The source code is given below: void fft_function(double datain[], int nn, int isign) { // input // datain[0]: ignore // datain[1]: Re1 // datain[2]: Im1 (=0) // datain[3]: Re2 // datain[4]: Im2 (=0) // ...
Say there is a communication system, which can manage sampling frequency up to 4 MHz (given by software). Can the system be able to process signals with maximum frequency more than 2 MHz? Because according to sampling theorem sampling frequency > 2*maximum frequency.
While reading the datasheet of the ADF4159 I came upon a section describing how to create an FMCW ramp with FSK superimposed to "enable unambiguous (distance and velocity) multitarget detection". While this sounds like a wonderful radar technique, I do not understand how it works. There does not seem to be a lot of onl...
I am back with my questions! I recently came across a paper titled "Low Latency IFFT Design for OFDM Systems Supporting Full-Duplex FDD" where they claim a new method of IFFT input mapping to reduce the output latency. However, they have mentioned how in a conventional OFDM, the null subcarriers are mapped in the middl...
I am working on an audio classification problem statement to classify between two audio classes. I have collected samples from jotform, they are providing audio widget to collect .wav audio but it turned out that widget is storing data in .mp3 format : In my problem statement, Classification classes are from different ...
I found a proprietary protocol that is used on ham radio bands. The author have published details,claiming that it's a version of DominoEX with slightly different baud rate and FEC. I want to try to write a free demodulator for that mode beacuse i love radio in general. However I dont have any DSP related background, s...
I am performing an Ensemble Empirical Mode Decomposition (EEMD). I wrote a MATLAB routine to perform the EMD. I noticed that when adding white Gaussian noise to the input signal, sometimes I obtain a different number of modes, even if the noise variance is not so high. Clearly, if this happens, I cannot sum compute con...
On page 137, chapter 5 in the book titled 5G Physical Layer: Principles, Models and Technology, the author says: An important attribute of the FBMC waveforms is that they typically do not employ any CP or GI, unlike the OFDM-based waveforms. The prototype filters in the FBMC waveforms have long decaying tails which ca...
I wanted to calculate response of integrator of sinusoidal input at steady state via these two methods as mention in image but these two methods give two different answers at steady state, so where I'm going wrong? What concept I'm missing?
This my elaboration of the aliasing issue: a continuous signal can be represented by factors of : $e^{(i2{\pi}ft)}$ if we sample this signal then I will get: $e^{(i2{\pi}fk/N)}$ where $k=0,1,2.., N-1$ this point can be represented by the below factor as well: $e^{(i2{\pi}f_pt)}$ if we put all together: $e^{(i2{\pi}ft)}...
Could you please help me in a simple way, what is the first derivative of a Dirac delta function? I found this answer: The informal answer is a positive Delta function immediately followed by a negative-going Delta function. Could you please explain this?
I am doing some procedural sound synthesis in Java. I want to have a sine wave as one of the possible basic sounds. When experimenting with that, I have found the default Java Math.sin implementation causes significant performance issues to me. I would like to replace it with either a table lookup or a simple polynomia...
I was writing MATLAB code to compute 1D DCT of sample y. On computing DCT for y=[0,1,2], code generates coefficient [3.0000 -2.2304 0 -0.1585] which was consistent to coefficient generated by Matlab default dct([0,1,2]). When sample y=[1,2,3] was chosen the same code didn't work well. Looking forward to modification ...
Most of the literature on Reinforcement Learning discuss Hamilton Jacobi Bellman equations for optimality. In dynamics however Ricatti equations are used. I am curious if there are any parallels between the two equations for optimality? How do one differ from the other?
If i compute the average power of my input signal random variable $X(t)$ as $$R = E[X^2(t)]$$ i.e. as the expected value of a random process, is this really just an estimate of average power? More generally, is it true that we don't have (cannot compute) the Expected Values of actual input signals, because we have only...
I am implementation a convolution reverb method for audios array in Python using scipy.signal.convolve. I choose the fft mode, which essentially a product of the rfft of the two signals then ifft back. What I am not sure is how to perform the convolution without changing the amplitude of the original signal. My audio s...
I am very new in signal processing area and I am trying to solve the task in order to make an experiment with audio files from different languages, so, I am trying to let some ogg audio files with the same amplitude(wave height) and playing duration, so that the first wave can have the same amplitude from the second on...
I need to construct a Neyman Pearson statistic for detecting a complex signal with known amplitude and unknown phase in additive complex Gaussian noise. My hypotheses are: \begin{align} \mathcal{H}_0 &: R_i=W_i,& R_i \sim \mathcal{CN} (0,1) \\ \mathcal{H}_1 &: R_i=W_i + A,&R_i \sim \mathcal{CN}(A,1) \end{align} altern...
I am trying to design equalization filter and therefore I want to define my own amplitude and phase response and then to obtain the impulse response of the filter. I thought that the output of the function freqz is the same as abs(freqz(imp)).exp(1iphase(freqz(imp))). As I want to estimate the coefficients of equalizat...
I've come to realize that the Fourier transform of an already Fourier transformed signal gives the time-reversal signal. $$\mathcal F(\mathcal F(x(t)))=x(−t)$$ ref 1,ref 2 However, my question is, if Fourier transformation is applied to the magnitude of the Fourier transformed signal (excluding phase information), is t...
I am trying to understand coherence function calculation. I am working with a non-linear system without any noise. Coherence function is defined as: I understand that coherence is 1 for N=1, but I don't understand why coherence is different with segmentation? As far as understand with segmentation without any noise in...