instruction
stringlengths
31
27k
Let the input signal $x(n) = \sin{2\pi\frac{1}{4}n}$ go in to the system described by: $$y(n) - y(n-1)+\frac{3}{16}y(n-2) =x(n).$$ What is the output signal? I've calculated the system function $H(z)$ to: $$H(z) = \frac{1}{1-z^{-1}+\frac{3}{16}z^{-2}}.$$ But I don't know how to proceed. The book does the following:...
Find the transfer function of the difference equation $$y_n = x_n + 1.2y_{n-1}$$ I fail to understand how one can distinguish between an FIR filter and an IIR filter by looking at the equation given above. How to find if an IIR or a FIR filter is stable from the transfer function? $$ H(z) = \frac{y(z)}{x(z)}$$ $$x_n...
I'm working on gender estimation from speech signal and I completed MFCC feature extraction. So now I'm trying to estimate gender from these features. But I have frames for an audio file and I extracted 13 coefficients for each frame. I'm thinking about using K Means algorithm for male or female classification but I no...
Can anyone tell what kind of filter is this? I can see it's smoothing/averaging the input signal, but why specifically with [1,2,1] instead of something else? What is so special about this coef=[1,2,1]? Thanks # Python code length = 1000 signal = np.random.rand(length) output = np.zeros(length-2) coef= np.array([1,2,1]...
For the non-additive noise case, \begin{equation} x_k = f(x_{k-1}, u_{k-1}, \xi_{k-1}) \\ y_k = h(x_k, \nu_k) \end{equation} the EKF takes into account the jacobian wrt to the noise terms $ L_{k-1} = \frac{\partial f}{\partial \xi} |_{\hat{x}_{k-1|k-1}, u_{k-1}} $ and $ M_{k} = \frac{\partial h}{\partial \nu} |_{\hat{...
I am looking for possible professional terms. In a binary (1 or 0) image, normally, the areas with "1"s are where the information is. I wonder if there is any professional name for it in image processing. Thank you!
Assuming we have a blur image, $I$ , and by using a filter $f$, we get an improved image $I_1$ , the action for doing so is of course : $I_1=f \star I$ While $f$ is the following filter: $$f = \frac{1}{12} \left[\begin{matrix} 0 & 0 & 0 & 0\\ 0 & c & c & c & 0\\ b & 4a-b-2c & 4a-2c & 4a-b-2c & b\\ 0 & c & c & c & 0\\...
I am having difficulty in understanding the use of CSP for EEG signal feature extraction and subsequently. Since I am using two classes, this query will be restricted to it. In essence CSP requires 2 classes of trial data, i.e C1, the covariance matrix for class 1, and C2, the covariance matrix for the second class, fo...
Given two inputs $\: x_1[n]\: x_2[n]\:$Is the system $\:y[n]=x_1[n]\times x_2[n]\:$ linear ? My Approach: $(x_1\times x_2)[n]=S_1[n]\rightarrow Y_1[n]$ $(x_3\times x_4)[n]=S_2[n]\rightarrow Y_2[n]$ $(ax_1\times x_2)[n]+(b x_3\times x_4)[n]= a S_1[n]+ b S_2 [n] \rightarrow a Y_1[n]+bY_2[n]$ If that is correct it is ...
I am reading a book on Communication System by Simon Haykin. In the topic of white noise there is a paragraph "We may state that as long as the bandwidth of noise process at input of a system is appreciably larger than the bandwidth of the system itself we may model the noise as white noise". 1) What is the reason for ...
I would like to ask, why in the transformation to the discretization, $\mathbf{Q}$ is obtained from the expression containing the integral (image attached), what is the theory behind it?
Kalman filter achieves convergence of state vector by using sensor observations. Assuming a sensor such like velocity sensor, giving two axis velocity information in X-axis as well as Y-axis(see edit for one more example to capture essence of my question) I can always design kalman filter in such a way that X-axis and ...
This is what I know about the basic sampling process I am told that fbar(t) (i.e the sampled signal) is defined for all t. I don't understand that. If n is a finite integer (..,-3, -2, -1, 0, 1...), then clearly it won't be defined n=1.5. So how is it defined for all t? Also I thought that sampled signals are always d...
I'm asked to plot the frequency response (amplitude) given a specific pole-zero diagram. $$ H(z) = H_0 \frac{\prod\limits_{m=1}^{M} (z - q_m)}{\prod\limits_{m=1}^{M} (z - p_m)}$$ $$ H(e^{i\omega}) = H_0 \frac{\prod\limits_{m=1}^{M}(e^{i\omega} - q_m)}{\prod\limits_{m=1}^{M}(e^{i\omega} - p_m)}$$ If I understood it cor...
I would like to know the correct units to make a SNIR computation. I am using the following formula: $$ \text{SNIR} = \frac{1}{\frac{1}{\text{SNR}} + \frac{1}{\text{CIR}}} $$ I have SNR in dB and CIR in dBm. Shall I convert SNR to dBm to get the SNIR in dBm, or the CIR to dB to get the SNIR in dB, or there is no need t...
I m a newbie in radar experiment on which currently i m working, and I m trying to understand the transmitted waveform which is LFM (Linear Frequency Modulation), but unable to interlink between the following parameters of transmitted signal waveform ,can someone explain to me how do these are connected to LFM? Center ...
I just studied an implementation (Matlab) of a windowed FFT and saw the following line of code: w = sqrt(hann(fft_length, 'periodic')) and later: spectogram(:, column) = fft(ringbuffer.*w, fft_length) %why .*w ? The ringbuffer obviously contains the current frame of the signal and the overlap so its's obvious to me ...
What is the most reliable and agnostic way to correct for a phase rotation of I/Q downconversion - without time alignment of the signal and support different lengths of transmitted and received data? To be more specific: Assuming perfect I/Q balance, there is still a phase rotation in the received I/Q data if the LO of...
I am using the PyEMD package for python 3.6. I want to create a 2d plot of hilbert spectrum (x: Time, y: Frequency, Colorbar: Amplitude) and the Marginal Spectrum (x: Frequency, y: Amplitude) I can compute the instantaneous phase, frequency and amplitude of every IMFs: import numpy as np import pylab as plt from scipy....
Is it possible to find the surface shape of an image as mentioned in the reference question ? If I find the unknowns of the equation , then what should be my next step in determining the shape of the surface/image. Kindly mention the algorithm/Code or the procedure required for this purpose. Thankyou.
I understand the FR of an ideal BPF is just 1 between the two cutoff frequencies and 0 everywhere else above and below them both. But with arbitrary cutoffs, how would one find the IR of this ideal basic filter type?
Why is the Fourier transform valid only for absolutely integrable signals? For example, why can't we do the Fourier transform of exponential order functions?
I am trying to evaluate the symmetry of an image with Matlab. My approach is far is based on: convert image to BW get 2D gaussian from the BW pixel cloud get center and axis rotate to get horizontal and vertical axis mirror from center to the right compare (left side) with (mirrored right side) using MSE The results ...
I have posted this question in math.stackexchange.com, [can be found here], which I originally thought it is a math question. I now believe this would fit more to the Signal Processing community. For convenience, I am reposting the question in below. I would appreciate any help. I am trying to understand what it means...
I am trying to create an algorithm to detect signal with "ADC overflow" as shown in picture on lower right. It happened because someone had incorrectly down converted an int16 signal into int8 signal. The sampling rate of the signal was 1000Hz, about 2 minutes in duration and has bandwidth up to 300Hz due to low pass f...
I have an image of interest and would like to remove the artifacts from it (black dots, which are probably dust on camera lenses). How can I do it using the ImageJ (FIJI)?
I am newbie in signal processing. I want to remove noise from real time audio signal using adaptive noise cancellation(LMS&RLS) algorithms. I don't know how to choose reference signal(noise signal) for the algorithm from the incoming noise corrupted signal. So can anyone help me to select the noise signal for the refe...
Typically, humans can hear sound waves in the frequency range 20 Hz to 20 kHz. If one wants to make digital record of sound such that no audible information is lost, what is the longest time interval between samples that could be used?
I wanna to have a wigner ville distribution spec.and need code in matlab
Given is the illustrated circuit diagram of a linear, time-invariant, time-discrete system: How do I show that the total system has the impulse response $h[n] = aδ[n] + bδ [n - 1] + cδ [n - 2]$ and determine the constants a,b and c? with the following impulse responses of the subsystems: $h_1[n] = δ[n] + (1/2)δ[n − 1]...
Part of my work is concerned with applications in Sparse Bayesian Learning and therefore I occasionally stumble over interesting papers in the field of compressed sensing. I recently read Iteratively Reweighted Algorithms for Compressive Sensing by Rick Chartrand and Wotao Yin (Available also on DocDroid). The paper d...
If $\{X(t)\}$ is a Gaussian Process then the random variables $X(t_k)$ where $k = 1,2,3...n$, are jointly Gaussian. If each random variable $X(t)$ is a Gaussian variable, then will the random process $\{X(t)\}$ be a Gaussian Process? I am asking because while studying the Statistical proof of why we model noise in com...
A dynamical system evolves according to $x_{k+1} = M_k x_k + w_k$ $w_k$ denotes the model error. In a textbook, it is specified that $w_k$ is temporally uncorrelated and $E[w_kw_j^T]$ = $Q_k$ if j=k and zero otherwise; $Q_k$ is n x n symmetric positive definite Could someone explain why $w_k$ is temporally uncorrelate...
The update step in Bayesian filtering is given as follows, in a textbook $p(x_k|y_{1:k}) = \frac{1}{Z_k}p(y_k | x_k)p(x_k|y_{1:k-1})$, $Z_k$ is defined as $\int p(y_k|x_{k})p(x_k|y_{1:k-1})dx_k $ I was able to derive the second term on the right .The steps are given below $p(x_k|y_{1:k}) = \frac{p(x_k , y_{1:k})}{p( y_...
If I have a communications channel where a digital QAM signal is transmitted, I can either model the channel's impulse response as a complex $h(t)$, or as 2 separate impulse responses $p(t)$ and $q(t)$ for the I and Q channels, respectively. Let $s(t)$ be the transmitted signal, with $s_I(t)$ and $s_Q(t)$ denoting its ...
I'm trying to understand something about channel "bandwidth" $B$ in the Shannon-Hartley Theorem: $$C = B \log_2 \left( 1 + \dfrac{S}{N} \right) $$ Suppose I have a bitstream encoded as a signal that occupies some bandwidth $B_1$ which is less than channel bandwidth $B$, and I have additive white Gaussian noise $N$. Sha...
I assume a standard/ old school super resolution techniques use Polynomial interpolation and Upsampling approaches. Why would deep neural networks achieve better results?
I have picture with high resolution with 20M memory space and this image has been taken from the standing away from the window in room which has significantly less light as compared to outside. Image has less contrast due to large number of bright pixels in it and also large number of near to dark pixels from room obje...
I'm reading through the opencv documentation and some questions in SO but it doesn't seem to provide this information. I've an image $I(x,y)$ and I want to find a gaussian function $f_{\mu,\Sigma}(x,y)$ such that $$ f_{\mu,\Sigma}(x,y) \approx I(x,y) $$ using LSE or MLE estimation. $\mu$ is the mean vector and $\Sigma...
I am developing an embedded DSP audio processor and am trying to implement a chorus effect. To my understanding, the chorus effect is multiple delayed versions of the original signal, where the delay itself is random. In my program I have set the delays to be randomly defined upon initialization and then remain static ...
I know that $$ \omega = 2 \pi f $$ why do we use angular freq to expression about the instantaneous values of the wave?
I know that the phase is the delay between two different waves . But if we change the frequency of two waves by a different value does it cause a varying in the phase between them let say that two waves start from the same point.and if I apply that in the single wave and change the frequency does that related to the ph...
I'm trying to find the DTFT of $$(-1)^n \cdot \frac{\sin (\pi n/2)}{\pi n}$$ I know the DTFT of $\frac{\sin \pi n/2}{\pi n}$ = a box function of amplitude 1, cutoff $\pi/2$. And I know that multiplication in time domain = convolution in frequency, but I'm still not sure how to piece everything together.
For experimental reasons i created a function that helps me to modulate a signal using BPSK, the input signal is {1,1,0,1,0} and it works fine void BPSK_mod(unsigned short signal[], float fs, int spb, float output[]) { float ts = 1.0 / fs; float ti = 0.0; float two_Pi_f= 2 * M_PI * FR...
Goal: Obtain the 3-axis accelerations from the Bosch BMI160 IMU when measuring the accelerations of the bogie of a commercial train. The accelerometer used is installed in a PCB and used by an mbed microcontroller. The mbed manages to receive and save the data from the accelerometer at 50 Hz. The BMI160 has some option...
I am trying to calculate the power of a signal by using following two methods one is a power of a signal and another one is using the periodogram in Matlab as shown in the code.But why I am getting a different answer for the power? x=[1 2 3 4 ]; s=0; for i=1:length(x) s=s+x(i).^2; end p=s/length(x); D=fft(x); ...
I'm having a some trouble with an assignment I have to do. I don't come from electrical engineering background and would appreciate any help I can get. "A voice signal is band-limited to 3.3 kHz. What is the Nyquist frequency? It is sampled using a guard band of 1.4 kHz is applied and converted to digital data with 7 b...
I'm interested in implementing an optimized 5x decimation stage. However it seems the resources needed are significantly more than 4x or 8x composed of cascaded 2x stages. For general purpose FIR filters the interpolated (not interpolation) structure makes sense, but from what I can see this efficiency may be lost when...
The raised cosine pulse is essentially a windowed sinc function, designed with some roll-off in mind. Why do we use this particular window, as opposed to other windows such as Hann, Hamming, Kaiser, etc? All of these have zero ISI when applied to a sinc function, and have tunable frequency characteristics just like the...
I am trying to understand audio-buffer processing at the low-level for the first time. I have the following C++ code copying WAVE-format byte data from capture buffer of Window Core Audio (*ppData in that documentation), into an "AudioSink." Could someone explain what's happening here (the "WHAT'S GOING ON HERE" in the...
I know the basic filtering techniques available in signal processing.Does audio signal specifically have any different filtering method?.My application is to filter out the background noise in speech signal which is higher than the speech signals.Can anyone suggest me some
the question is as it is in the topic: What is the best spline to interpolate freq analiser graph? I am looking something simply and fast to implement. I read about catmull-rom it looks it could be good, but as I understand it needs 4 points to be defined. But I think in my case the best would be something that require...
I am currently using overlap-and-add method for a noise cancellation project. Everything works well so far except that when it comes to the real time, I need to overlap the input signals for FFT input. For example, I am using 2048 points FFT with 1024 overlapping samples from previous frame(50% overlapping rate). I am ...
$$x[n] = d[n] + a\cdot d[n − N_p]\ ,\ \ |a| < 1$$ I need the complex and real cepstrum of this function as well as what would happen for $N=N_p/6$ for the DFT approximation $$x_p[n] = \frac{1}{N} \sum_{n=0}^{N-1}\log(X[k]) e^{j2kn/N}$$. It is a school assignment in which I am missing a lo of the functions required to ...
I am computing a spectrogram and I've found a code example online which goes like this: for jj = 1:size(signal_framewise,2) current_frame = signal_framewise(:,jj); dtf = fft(current_frame).*gausswin(window_length_s); %nfft is half of the fft results (since the fft is symetric) out_buffer(:,jj) = dtf(1:n...
I am new to this field and yesterday I began a project for BPSK modulation. So this is what i did: $\ x(t) = 0 $ or$\ 1 $ binary data $\ Fs = 15 $ sampling frequency kHz $\ Fc = 10 $ carrier frequency kHz BPSK modulation $\ BPSK(t) = A.sin(2.\pi.Fc.t + \pi.x(t) ) $ BPSK demodulation $\ S(t) = BPSK(t) . (Ac.sin(2.\pi.F...
$$x[n] = \big(A_1 r_1^n\cos(\omega_1 n) + A_2 r_2^n \cos(\omega_2 n) + A_3 \sin(\omega_3*n) \big)u[n],$$ where $\qquad \omega_1 \ne \omega_2 \ne \omega_3, \qquad |r_1|,|r_2|<1 $ I need an linear prediction model that perfectly predicts the signal with zero error $\forall n \ge n_0 > 0$ and how to find the $n_0$ I am ...
So I'm reading the datasheet for MAX98357A. It's an audio amplifier that receives digital signal using I²S bus and has integrated digital low-pass filters of the IIR and FIR types. In addition to the usual -3 dB and -6.02 dB cut-off points, it also has the "Ripple limit cutoff". This is a term I did not see during my ...
[not sure if this or stats.stackexchange was the correct location for this post, so put it on both for now.] I've seen some recent papers describing complex valued neural networks like this one: Deep Complex Networks, 2017, Trabelsi et al.. What I'm wondering is, rather than invent a novel complex network pipeline that...
I was writing a simple fourier transform implementation and looked at the DFT equation on wikipedia for reference, when I noticed that I was doing something differently, and after thinking about it felt that the wikipedia version must be wrong because it's very simple to think of a signal that when fourier transformed ...
[see the attached image] I recognize the filter in the problem is a matched filter. But I don't understand how this filter actually work, and I am not quite sure about how to calculate the expectations and the auto-correlation in this case. Any help is greatly appropriated.
Let's assume that there is a signal $f(t)$, $0\le t \le T$. Then, is there any special meaning of the signal $g(t) =f(t) \times \sin(\omega t)$? Like AM transmission. What is shown/heard when we play $g(t)$ in an audio player? Is there/what are meaningful differences between $g(t)$ and $f(t)$?
I have a predicted mel log spectrogram $S$ and I want to add a noise signal $\eta$ to it. S = log(mel-filterbank(abs/real part of(stft(signal))) The naive way would be to approximate the linear spectrogram, add the noise signal and then apply the log mel transform again. However, it seems to me that this approximatio...
Given two noisy time series thought to contain a common signal, $$ x_1(t) = s(t) + n_1(t), \quad x_2(t) = s(t) + n_2(t), $$ what is the best way to determine $s(t)$ without assuming any distribution for the noise terms $n_i(t)$? In particular, the $n_i(t)$ are neither Gaussian nor stationary. The only assumption I am w...
For multiple measurement vector (MMV) problem $Y=AX$ where $A$ is $m \times n$ sensing matrix and $X$ is $n \times L$ matrix haveing K non zero rows. What are the necessary conditions on the number of measrments $m$ and sparsity K to recover the signal $X$ from $Y$ using OMP?
I'm building a radiation detector that collects photons in CCD pixels and we can relate the energy of the photon from the intensity of the pixel. To test the detector, I took the following spectrum of Iron 55, which is expected to have a single peak at 6 keV: The tail at lower values of the energy is interesting becau...
I'm trying to generate coefficients for a FIR low pass filter to be used in an FPGA. I'm using python (scipy.signal) to attempt to do this, but am having trouble getting coefficients in a usable form. This is the function I'm using to generate coefficients: b = signal.firwin(21, 0.01, window='blackman'); The coeffi...
I need to scan a shower tray with & without the water running to assess the puddling at the drain, then export a point cloud or surface. Sonar & Laser dont seem to be able to deliver, can radar achieve this? (Maximum size of tray is 2m x 2m, while the water can be 1mm- 10mm deep). Looking for hardware & software. Than...
I'm looking for a Python package for a LS-SVM or a way to tune a normal SVM from scikit-learn to a Least-Squares Support Vector Machine for a classification problem. The goal of a SVM is to maximize the margin while softly penalizing points that lie on the wrong side of the margin boundary. The function that is used i...
I'm trying to create a echo effect and have managed to add multiple delays but when i try to divide or multiply these numbers the signal is completely distorted and adds a lot of noise to the system. This is my some of my program written in C. unsigned char txBuf0[AUDIO_BUF_SIZE]; unsigned char ...
I wanted to prove to myself why the DCT is better than the DFT and heres a brief of what I understand so far. The DTFT works with a finite sampled input signal, but the frequency response obtained is continuous and periodic. The DFT samples the DTFT since it is still not practical for real world applications. The DFT i...
I am working on signal analyser and have problem with understanding relationship between display resolution and frequency resolution (range). My frequency range is $ 1-20000\quad [ H z ] $ so to project each frequencies magnitude on display (horizontally in linear scale) I need display horizontal resolution at least 20...
In a MIMO system we have: $y= \mathbf{H} \star \mathbf{x} +n$ with $x \in \mathbb{C}^{N_t \times 1}$ ($N_t$ the number of transmission antennas) and $\star$ the convolution product. For the matrix, $\mathbf{H}$ we have: $\mathbf {H}=(h_{i,j}(t,\tau))$ with $i \in \{1,...,N_r \}$, $j \in \{1,...,N_t \}$, $t$ the time an...
As part of a duplex scanning pipeline I need to detect empty pages such that they can be excluded from the OCR and the resulting PDF document. Currently, I'm using a 'blurry' trim which works pretty well. Example with ImageMagick: convert image-0001.png -shave 300x0 -virtual-pixel White -blur 0x15 -fuzz \ 15% -trim ...
I am trying to characterize a power amplifier fitted to transmitter board. I applied a sinewave at the required carrier frequency and I collected the input samples and the output samples by using a digital scope. I have noticed a strange behaviour which I can not explain. when the input sample is zero the output is not...
I currently want to create a small pitch detector and I have to say that I am very new in this topic of signal processing. At the moment I implemented the FFt algorithm and I got an array of window size (= 1024) out of it. But what should I do to define for example C4 or other music tones. I know that FFT is not the be...
I am trying to understand how to find phase difference b/w two real sinusoidal signals and then align the phases of two sinusoidal signals using this difference. In the first step, however, i have to find the phase difference first. By studying this problems on different forums, i have written a MATLAB script to simula...
I'm trying to write a very simple code for the reconstruction of an in-line hologram of particles in a micro channel (digital holographic microscopy), but I'm getting some results that are hard for me to understand. clear; lambda = 632.8e-9/1.333; %wavelength pix_size = 7.4e-6; %camera's pixel size dx = pix_size; dy =...
I am using a test sweep with a flat power spectrum and linear group delay (Optimized Aoshima's Time Stretched Pulse) to measure a room's frequency response. Having obtained the impulse response of the room, I thought I would be able to deconvolve it from my test signal, record the result in the same spot and under the ...
If there are means to process all signals after they have been captured and digitilized, why are we still designing ICs to do analog signal processing? For any giving case, can not we just digitilize the signal and then perform what ever processing we want?
I have problem, not sure how to call it but I think it's something called "phase rotating", but not sure. I make fast Fourier transform on simply square wave, and then I make inverse fast Fourier transform - just for fun :) and after this forward/backward FFT on square wave I expect on a wave graph something like that:...
What is the definition of the central frequency of a Wavelet and the bandwidth of a Wavelet? How do they affect the resultant waveform of the wavelet? Thanks.
I have asked this at the Math SE also. Predicating this on the definition of the continuous Fourier Transform preferred by most electrical engineers: $$ X(f) \triangleq \mathscr{F} \Big\{ x(t) \Big\} \triangleq \int\limits_{-\infty}^{+\infty} x(t) \, e^{-i 2 \pi f t} \ \mathrm{d}t $$ and inverse: $$ x(t) \triangleq \ma...
How can we evaluate the matched filter's impulse response of a Gaussian function $x(t) = \exp(-\frac{t^2}{2})$. As far as we know, for a signal of finite duration $T$, the impulse response of it's matched filter is $h(t) = x(T-t)$. But as Gaussian function is of infinite duration, how can we find the matched filter ?
I am currently working with non-audio signals of which I would like to calculate the Cepstrum coefficients with Python so that I can use them with machine learning algorithms. That's probably a quite basic question, but somehow I'm struggling at this point. I already found some packages in Python that can be used to ca...
I have a dataset of audios(namely TIDIGITS, collected at Texas Instruments, Inc.) and they are in .wav format. However, when I try to read them from python, I get the following error: Error: file does not start with RIFF id Error is thrown from the following line: import wave ... f = wave.open(/path/to/audio/example.w...
I have a dataset of audio files, which differ on their lengths by a couple of milliseconds. Some are little shorter than 1s and some are little longer than 1s. They all have the same sampling rate, namely 20kHz, what differs is the number of samples. Does anyone know a way to automatically transform them into 1s audio ...
I'm seeing something very curious in the Matlab code below. X = fft(x); Xt = X; Xt( (end/2+1):end ) = 0; xr = 2 * real( ifft( Xt ) ); Xr = fft(xr); where x is a real zero mean sinus function sampled at Fs Hertz according to Nyquist. The spectra X and Xr should be the same. However, Xr(Fs/2) is not equal to X(F...
We are reverse engineering some 20 year old software. Original developers were laid off years ago, and cannot be found. In this code, there is a signal that is getting smoothed as follows: $P_{new} = P_{old} + P_{\Delta} \frac{H + (I-H) P_{\Delta}^2}{J^2 + P_{\Delta}^2}$ $P_\Delta = P_{newest Observation} - P_{ol...
To the best of my knowledge, state of the art methods for optimizing the LASSO objective function include the LARS algorithm and proximal gradient methods. I was wondering however, if the LASSO objective function $$ ||y-Ax||_2^2 + \lambda ||x||_1$$ can be optimized using (vanilla) gradient descent? I know that the 1-n...
Recently I have read this paper. The author claimed that the audio signal detection (communication using sound signal) distance was affected by audio signal modulation method, by optimizing the audio signal's modulation algorithm, communication range between devices can be largely increased. However, I think that the a...
I have barometer noisy data with known variance. I studied Kalman filter but I did not find an answer to this problem: My process model is: altitude is changed because of velocity that is changed because of acceleration that is normally distributed. $$ s[k+1]=s[k]+v[k]*dt+a[k]*dt*dt/2 $$ Is my process state just (alti...
I have got three signals, acc_x, acc_y, acc_z. I need to compose them in order to compute the magnitude of the acc. I would like to ask the following question: what is better opt1 or opt2? or opt3?: **opt1**: first apply a filter to reduce the noise to each single signal and then compute the magnitude or, **opt2**:...
For an extreme example, I have the following image that was a JPEG before stackexchange converted it to a PNG:- Before you perform all sorts of funky image processing tricks on it, it's just a black square. This is what happens with my web cam when there is insufficient light. It just gets low pass filtered out and ...
In Python, I am using the library Soundfile (which uses the library libsndfile) for digital sound processing. I am working with different sound files coming from different internet databases, and therefore they have different bit sizes. Either 16, 24 or 32 bit. If I understood correctly, when these sound files were re...
I have wave expressed by array of real numbers (double in C++). But I want to express it as a complex. I tried to create complex variable and assign to its real the array of my wave and to its imaginary just array of zeros. OK it's complex now. But I feel there is something wrong. It's not authentic complex. It's just ...
There are two square 2-D signals with the same size $m \times m$, if the result of convolution of those two signals is first picture, And the result of cross-correlation of those two signals is second picture.How to prove it in mathematics?
I am working on Noise suppression and cancellation in VoIP media engine. I am looking for noise cancellation & suppression algorithms and its implementation available with real-time low latency algorithms. I had worked with webRTC noise cancellation implementation and it works well, but I want to explore more on this. ...
Let say I'm generating a 1 kHz sine wave within my DAW, using some synth (Sytrus in my case). I normalize it, so it play at max "digital" amplitude 0db. Thus, any sample of the signal would gets a Floating Point values (in 32 or 80 bit of precision, using FL Studio 32bit; but that's irrelevant right now). This means th...
I have a signal $E(t)$ which start at $t=0$ and dies out overtime. What would be a proper notation to specify part of which is above a certain threshold (say for e.g. C)?. Is $E_{interested} = E(t)>C$ a proper notation?