instruction
stringlengths
31
27k
Let's say I have 16 bit fixed point DSP, and am performing a multiply accumulate operation in a loop- What would be the correct way to check for saturation of the accumulated value? As far as I understand, replacing the exceeded value with the maximum value will create distortion. How do I bring the accumulated resul...
We can get the spectrograms of a signal which is a 2D matrix. How do I get back from the columns of the spectrogram to the time stamps in original signal? For example, what time stamp does the columns index ‘x’ belongs to (i.e. 1.3 sec in the file)? I do not want the re-construction of the original signal, only relatio...
Note: I originally asked this on Physics Stack Exchange but haven't attracted any interest there so I'm asking here where it may be more relevant. A white noise process, $\xi(t)$ with delta correlated two-correlation function $\langle \xi(t_1)\xi(t_2)\rangle = \delta(t_1-t_2)$, is clearly stationary and has a power sp...
I am wondering why the following code does not yield the same results for Sxy1 and Sxy2, where Sxy1 is calculated using the MATLAB's pwelch function, and Sxy2 is calculated using cpsd function. fs = 1000; t = 0:1/fs:5-1/fs; win=hann(500); overlap=300; nfft=500; fs=1000; x = cos(2*pi*100*t)+randn(size(t)); y=sin(2*p...
I have similar questions as the one asked in these posts: https://stackoverflow.com/questions/47083890/fir-filter-length-is-the-intercept-included-as-a-coefficient-matlab/47085339?noredirect=1#comment81124362_47085339 and Terminologies - lags, order in time series model But the answer is quite different from the one in...
I have read that taking the natural logarithm of a signal $x$ in the time domain will introduce a spectral broadening and hence "up-sampling" process before the logarithm is required. I tried to test that by plotting the spectrum (for example: from $-B$ to $B$) for an arbitrary limited band signal from $-B/2$ to $B/2$ ...
$$ X(\omega) = \cos^2(\omega)$$ I tried this problem, and I ended up getting $0$, which doesn't make any sense. I integrated: $$ x(n) = \frac{1}{2\pi}\int_{0}^{2\pi} \cos^2(\omega)e^{j{\pi}n} d\omega $$ Which can be changed to $$ x(n) = \frac{1}{2\pi}\int_{0}^{2\pi} \bigg(\frac{e^{j\omega}+e^{-j\omega}}{2}\bigg)^2e^...
I have to prove convolution in spatial domain is equivalent to multiplication in frequency domain using two matrices. $$ x(m, n) = \begin{bmatrix} 1 && 2 \\ 3 && 4 \end{bmatrix} $$ $$ h(m, n) = \begin{bmatrix} 1 && 0 \\ 0 && 0 \end{bmatrix} $$ When I used matrix method, I got the following result $$ \begin{bmatrix} 1...
The matrix below represents the inverse of correlation matrix assuming diffuse noise field. I am unable to figure out the values of the elements of this matrix. how to calculate $c_{M}(\omega)$ ?
Linear phase filters delay all frequencies by the same amount. Why aren't they called Constant phase filters instead of Linear phase? As I understand, if there is an input signal with two components $f_1$ and $f_2$, and it is passed through a linear phase system which introduces a delay $t$, $f_1$ is delayed by $t$, a...
I'm implementing an existing MATLAB script in Python and noticing some differences in the behaviour of MATLAB's pwelch function compared to scipy.signal.welch. From the docs, scipy.signal.welch uses a default window size of 256, whereas MATLAB's pwelch doc says: By default, x is divided into the longest possible segm...
I'm writing an example on transmitting data through sound betwwen 2 computers. Some requirements: The distance is very close , i.e the 2 computers are basically adjacent to each other Very little noise (I do not think my teacher would turn on a rock song as a noise source) Error is acceptable: For example if I send "R...
I've been researching Physical Modeling lately, and so far pretty much everything makes sense from a physical/logical perspective. The one thing that I haven't yet found a proper explanation on is the difference in overtones between soft and hard materials. I've seen it mentioned in a few places that this stiffness is...
I think I was able to do part (a) correctly, but now am stuck on part (b). I don't know how to approach this part or what is the theory behind it. My MATLAB code is shown below. Please let me know if I have any mistakes. % part a T = 0.2; t = 0:0.001:3*T; xc = 10 + 3*sin(20*pi*t+pi/3)+ 5*cos(40*pi*t); % for sampling...
I am trying to detect a TV channel logo inside a video file, so simply given an input .mp4 video, detect if it has that logo present in all (or most) of frames or not (or maybe what percentage of frames include that logo). My aim is to classify ad and video portions (I noticed ads do not have the logo). We have that l...
My (probably naive) understanding of compressive sensing is that it is a technique that allows to efficiently reconstruct an $N$-dimensional signal $\boldsymbol x$, provided that it is sparse in some basis (without the need to know the sparsity basis), using a number $M\ll N$ of measurements. More formally, if the sign...
Is the redundant data introduced during forward error correction (FEC) counted as upsampling? I'm taking a binary data stream, doing convolutional encoding of rate 1/2 on it, then making it NRZ signal and then upsampling it. In this page, the relation between $EsN0$ and SNR uses a two variables $T_{sym}$ and $T_{samp}$...
Assume we got a transmitter and a receiver. We send a binary stream of let's say 8 bits (the stream length cannot change), using AM-modulation. We have no info on the channel/noise characteristics. Our end-system is triggered whenever a certain binary pattern arrives at the receiver (assume the triggering pattern is 01...
I am programming a Generalised Likelihood Ratio Test (GLRT) detector. When it comes to inverting a covariance matrix $Ri$, I need to do a diagonal loading to fix the problem of sigularity of this matrix, but I don't have any info about the technique or algorithm that allows to estimate the right diagonal loading facto...
Sometimes I find the notation WFT (Windowed Fourier Transform) while other times I see STFT (Short Time Fourier Transform). Are they the same?
I need to simplify the following convolution $$x(t)\star [e^{-2t} u(t)]$$ where $u(t)$ is the unit step function. I'm very confused with this. Using the definition of convolution of continuous-time signals, I obtained $$\int\limits_{-\infty}^t {x(\tau)e^{-2(t-\tau)}u(t-\tau)}{d\tau} $$ However, I have no idea what to d...
I am new to DSP and filter design. It is easy to design an FIR filter with linear phase by making the coefficient sequence symmetric. However, why make the phase linear?
We are making some audio effects using IIR, and seeking ways to optimize its round-off noise. After searched some materials, most of them tells transposed form II has lowest round-off noise, and many IIR libraries are implemented in it. However, some other materials tells direct form I is the best. So which one should ...
The expression of QAM basis is \begin{align} \psi_1&= \sqrt{\frac{2}{E_g}}g(t)\cos(2\pi ft)\\ \psi_2&= -\sqrt{\frac{2}{E_g}}g(t)\sin(2\pi ft) \end{align} I want to ask why is $\psi_2= -\sqrt{\frac{2}{E_g}}g(t)\sin(2\pi ft)$, instead of $\sqrt{\frac{2}{E_g}}g(t)\sin(2\pi ft)$? Why is there a "-" (i.e. minus) before $\s...
I am having trouble figuring out what the difference equation or the system function for this system is? Here ''R'' represents the unit delay. The fact that the delay is not part of the feedback loop is confusing me. Any suggestions will be much appreciated. Thanks in advance!
To compute fft with FFTW algorithms I think that it needs to factorizes the array size in prime factors, but it is an hard problem. which Algorithm uses FFTW to do it?
Say, you captured a high-res image of a scene and a low-res image of the same scene, using a lower-res camera, ensuring that the lower-res camera is using the same technologies, except for the image sensor's resolution. If I wanted to drop my higher-res image to the same lower-res image via digitally processing the im...
I am doing some system identification using different signals such as single tone, multi tone, chirp and so on. These days I was trying to get an FFT of a chirp signal and I found a nice code here on Stack Exchange. I am pretty satisfied with the results except that I would like the resolution to be better between f0 a...
I have a 2-D discrete signal in which each point can be represented as $(x, y)$. These points are varying with time $t$. Can we represent the TV-norm using the following formula? $$\sum_{t}|x_t - x_{t-1}| + |y_t - y_{t-1}|$$
So, I want to do a polyphase implementation of a filter bank (I had problems with it since the beginning and I already asked for help to the community in the past, indeed: Norm MPEG-1 Layer III (Mp3) Filter banks distortion). Thanks to the support I was able to make it work (without polyphase implementation). Nonethele...
So I've been self studying signal processing, and been trying to use Python to get quality spectrograms, quality spectrogram like the one that would be produced with audacity etc. The steps I have done are: Me saying 'computer', was recorded on my mac in .m4a, then I used ffmpeg converting it into .wav $ ffmpeg -i com...
Trying to compute Biquad Coefficients for use in a codec chip TLV320AIC3100. Bass Shelf(boost and attenuation) work as expected. Treble Shelf attenuation works as expected but Treble Shelf boost is being weird in the sense that the amplitude difference between non treble frequencies and treble frequencies is as expect...
Why is it necessary to conjugate $f(t)$ while performing auto correlation or cross correlation with respect to $g(t)$, if $f(t)$ and $g(t)$ are complex signals?
I came across this problem I am supposed to find the Fourier transform of $g(t)$, but I am not able to find the analytical expression of such signal. The teacher suggests that I should consider the inclined part in $\left[-T, 0\right]$ as the integral of a determined function. It turns out it is the integral of so...
I'm starting to learn signal processing, and am trying to understand Nyquist rate a bit better. From what I understand, if I sample at a rate > Nyquist rate I'm supposed to have no data loss. I'm testing on $\displaystyle f(t)=\sin(2t\pi)$. To my understanding, its frequency is $1\ \rm{Hz}$, so the Nyquist rate is supp...
Is a recording of a chord merely a superposition of recordings of its constituent notes? Assuming the recording of its constituent notes are sufficiently clean.
I am trying to get band limited saw-tooth wave. I have found this paper: Alias-Free Digital Synthesis of Classic Analog Waveforms. I am prototyping this code in common LISP, here is snippet of what I wrote: https://pastebin.com/Ny4L0EH5 I managed to get something that in time domain looks like sawtooth but it has risin...
There are three basic gray level transformation. Linear Logarithmic Power – law The overall graph of these transitions has been shown below. I am assuming a Linear Gray Level Transform is somehow related to the Identity line from the graph. Identity transition is shown by a straight line. In this transition, e...
I have a system with no diversity and the channel's coefficients change every $T = 10\text{ bits}$ transmitted. The channel estimation system has a flaw and detects the channel's coefficients equal to $h$ while their real values are $h+c$ where $c$ is a constant equal to $1$. Is there any method I can apply to achieve ...
I am currently in my first year of Bsc Applied Physics. Over the past two years, I have realized I'm interested in majoring in telecommunication after I finish my bachelor. Also, for one of my classes I need to give a presentation; I chose my topic to be about Data Transmission. While working on my abstract for my proj...
Often in estimation of the input signal to an unknown channel, the bit error rate is plotted as the performance measure. The curve is compared with an ideal curve labelled as 'Perfect channel'. For example in this paper, http://www.iaeng.org/publication/WCECS2015/WCECS2015_pp668-673.pdf although the bit error rate cur...
The arrow "$\xrightarrow{\mathcal H}$" denotes a Hilbert transform: $$\cos(\omega t)\xrightarrow{\mathcal H} \sin(\omega t)$$ happiness. But $$\cos(\omega t) = \cos(-\omega t) \xrightarrow{\mathcal H} \sin(-\omega t) = -\sin(\omega t)$$ sadness. This is a contradiction. What have I done wrong?
I am learning about stochastic processes and I don't get one thing: What is the advantage of calculating the PSD of a signal using the Wiener-Khinchin theorem $\Phi(\omega) =\mathcal{F}\{R_{xx}\}$ and calculating its PSD with $\Phi(\omega) =X(\omega) X^*(\omega)$. I mean, if I record some random signal and I want to ...
I need to locate R-peaks in an ECG signal. I'm using wavelets to extract QRS complexes: First, I decompose the signal using a maximal overlap discrete wavelet transform with the Symlet 4 wavelet. This wavelet resembles the QRS complexes I want to detect. I then copy scales 4 and 5, because this band maximizes QRS energ...
I was looking into proof and find something strange: The last part we obtain from DFT definition. $$X[k] = \sum^{N-1}_{n=0}x[n]W^{kn}_N, \quad\text{Where}\quad W^{kn}_N = e^{-j\frac{2\pi}{N}nk}$$ So, looking at $W^{-k}_NX[N-k]$ we can see that when $k = 0$ we will have $W^{0}_NX[N]$ and we know that our DFT coeffic...
I m trying to implement my own code for finding the 2D fourier transform of an image in MATLAB using the formula for it, but it take toooo much time to come up with the answer, is there a defined fast fourier algorithm for 2D FT, which I can study and optimize my code.
Let's say there are two signal with different frequency: \begin{align} X_1(\omega) &= 0\quad\text{for}\quad \lvert \omega\rvert > 1000\pi\\ X_2(\omega) &= 0\quad\text{for}\quad\lvert \omega\rvert > 2000 \pi\\ \text{And}\quad y(t) &= x_1(t) \star x_2(t) \end{align} I understand that convolution in time domain means mul...
Let $\Phi_1$ and $\Phi_2$ be two matrix-valued power spectral densities. I wonder whether the problem of interpolating $\Phi_1$ and $\Phi_2$ has been studied in the literature and/or applied in practical scenarios. In case of 1-D spectra, I know that a possible application could be speech/voice morphing, however I can...
If the transmitted information signal takes values from a modulation constellation, then is there a way to know what the channel capacity is? Is there a connection between the modulation kind and the channel capacity? Why and when do we do $\log_2(M)$ where $M$ is the number of modulation symbols? For example, if the...
I know that the standard pre-emphasis function is $y[n] = x[n]-\alpha\cdot x[n-1]$ and $\alpha$ is often set as $0.97$. However, when I was learning speech processing using Praat, the pre-emphasis factor in it is $6\ \rm dB/oct$ which means the signal emphasise $6\ \rm dB$ per octave increase. That's what confused me. ...
The signal constellation for a communication system with 16 equiprobable symbols is shown as below. The channel is AWGN with noise power spectral density of $N_ 0/2.$Using the union bound, find a bound in terms of $A$ and $N_0$ on the error probability for this channel. Does the union bound means error probability?the ...
suppose $y(n)=ax(n-1)+bx(n-2)+\dots$ ($y$ is the output and $x$ the input). What happens if I want to solve $x(n)$ from $y(n)$? Z transform: $$Y(z)=G(z)X(z)\tag{1}$$ then $$X(z)=\frac{1}{G(z)}Y(z)\tag{2}$$ What are the properties of $1/G(z)$ ? If $(1)$ is causal what is the status of the inverse $(2)$? The rol...
I want to program the 2D inverse discrete wavelet transform (only 1 level) in the case of image processing. In the matlab website there's this diagram: now, I want to program the IDWT with haar wavelets. What are the kernels of the low pass filter and the high pass filters?
I have an antenna array with $N$ elements spaced half a wavelength apart. I have a second, identical antenna array that is the distance $D$ apart from the first one. Could I use compressive sensing to reconstruct the full antenna array? If so, how big can $D$ be and what are my limitations?
I have the following problem. I have a speckle pattern (of light) like on the image below (left). I have to locate as precisely as possible the centers of all speckles. That would not be a problem if those speckles would have some constant, known shape, e.g. Gaussians. But they are irregular and I do not really know...
I want to simulate the power spectral densities of different modulations in MATLAB (without Simulink). Unfortunately I have only very basic understanding of signal processing, hence I struggle with this topic. Currently I have a very simple spectrum like this: There are different objects (A and B in the picture above)...
I have simple wave generator in PortAudio. I'm creating single sine wave, and then I use a lookup sine to play it. Now I've stucked here. I have no idea how I can add another sine sound. Is it possible to somehow add new channel with another sound? Here is my code: soundengine.cpp #include "soundengine.h" #include <QDe...
I have a finite linear difference equation $$y(n)=ax(n-1)+bx(n-2)+cx(n-3)+\ldots+fx(n-m)\text,$$ relating an input $x(n)$ to an output $y(n)$. If I assume periodicity of type $x(n-2)=x(n)$, the right hand side reduces to a summation over $x(n-1)$ and $x(n-2)$ (where $x(n-2)=x(n)$) and the collective coefficients sa...
The article Efficient Use Of Sparse Adaptive Filters (Proc. Asilomar Conference, Khong et al., 2006) introduces adaptive filters for the estimation of channels or systems having a sparse impulse response. Assuming that the channel is modeled by an FIR model, then the output of the channel will be given by $$y[n] = \sum...
I've noticed that the gamma value used in level adjustment of Photoshop and Canvas is 'opposite' of gamma values defined in Wikipedia or MATLAB imadjust documentation. In Wikipedia or MATLAB, high gamma (>1) will make an image darker, whereas in Photoshop high gamma (>1) will make an image brighter. I've also noticed ...
I'm trying to design a: $$H(z)=1 - 0.95z$$ FIR filter, for speech signal. I am using this arm_fir_example_f32.c code shown below. And I need to change the filter coefficients, firCoeffs32. I know very little about filter design, so I don't even know if the code is understandable, but I will answer what I can. EDIT: To ...
This question may be more appropriate on music stack exchange but since sound is a branch of physics and this is more of a technical question relating to sound waves than a musical question I asked it here. How can you change the speed of audio samples without changing pitch? I have heard songs that are sped up witho...
Hi I am working on emulating a piece of analog audio equipment and would like to be able to create a transfer function based on the measured percentages of harmonic distortion. I know that harmonic distortion can be modeled as follows (assuming range of -1 to 1): 2nd order: y = x - (1/2) * (x^2 * sign) 3rd order: y = ...
Here is the simplified version of code which implement convolution of BPSK-signal in frequency domain: import numpy as np import matplotlib.pyplot as plt import scipy.fftpack # Signal and related data. pulse_code = "+++++--++-+-+" pulse_shift = len (pulse_code) * 1 + 2; # Feel free to move the...
I have been studying the adaptive filters lately and now when I am at RLS (Recursive Least Squar) Algorithm I came across the term used in the weighting function of the RLS called forgetting factor ($\lambda$). This term ‘memoryless’ itself confuses me. My doubt is: How is memoryless RLS different than the standard RL...
I have an acceleration data which is collected from a vehicle. I do also have a displacement measurement. I would like to calcuate the displacement vector from the measured acceleration data, but no success yet. Here is the data (the previous link was not working I updated the link): https://ufile.io/zyw3r What I try...
I am given $$H(z) = 1 + \frac{\alpha}{1-\alpha z^{-1}}$$ where alpha is between $0$ and $1$. This is apparently is a low-pass filter with cutoff frequency $f_c$. How can I see that? And how can I compute/plot the frequency response in Matlab? Neither freqz(1+alfa,[1 -alfa]) nor abs(H(z)) seems to yield a low-pass filt...
I would like to detect a curve in a grid. Example (hand-drawn): https://i.stack.imgur.com/LSLUx.jpg I would like to detect the intersects of the curve with the vertical gridlines marked with the "x" symbols. I already managed to get a decent solution when the curve and the grid have different colors (purely based on co...
Since i am not sure if i have understood IQ samples correctly, i want to ask the following question: If i look at inphase and quadrature in an IQ diagramme, the length of the arrow describes the amplitude of the signal, while the angle between the arrow and the x-axis describes the phase shift. That however would mean,...
I want to describe the color of an image patch (say, of size 5x5) centered around a pixel of an RGB image. The most straightforward way to do that is to calculate the average color over that patch and have a 3D vector, where each component represents the average color of the corresponding channel. Another way, more in...
how is this filter an fir filter should not it be an iir because of the y[n-1 ] term
$t\cdot \delta (t)$ Does it equal to zero? If so, how can we prove it?
I am trying to receive and demodulate a 8PSK modulated sinusoidal waveform (real not complex) which is constant envelop and changing only in phase of the continuous sinusoid carrier every Symbol Period. Here symbol 0(000) to 7(111) are mapped to sinusoidal phase of 0:45:360 degree respectively For further explanation l...
I'm a complete beginner on signal processing, so please forgive the basicness of this question - but I'm very confused by this. Regarding the Morlet wavelet, Wikipedia says: The wavelet is defined as a constant $\kappa_\sigma$ subtracted from a plane wave and then localised by a Gaussian window: $$ \Psi_\sigma(t) = ...
I'm studying a mathematical behaviour of a servo motor and I need some help to understand it. The output signal is $\beta(t)$, representing the angle rotated by the axis at instant t, in relation to the equilibrium position. On the servomotor there are two torques: the first torque is produced by the electric curren...
A continuous-time signal $x(t)$ has the magnitude spectrum $\lvert X(F)\rvert$ shown in Figure 6. The signal is sampled to obtain $x(n)$ using the sampling frequency $F_s$. Determine the minimum sampling frequency, which ensures that the information in $[0; 1000 \ \rm{Hz}]$ is not distorted. Immediately, I would thi...
I am currently calculating a Short-Time Fourier Transform (STFT) in Python using scipy.signal.stft. I am producing the image of the STFT shown below in real-time, based on the data that I have streaming in. I am looking to trigger an event warning when the frequencies detected are similar to those after the 50th time ...
I am experimenting with audio (wav files) using Short-Time Fourier Transform (STFT) in Python using scipy.signal.stft. As I understand we get data for freq, time and magnitude + phase in rectangular format. for e.g. (shortened for illustration) freq, time, Zxx = scipy.signal.stft(signal, fs=fs , .. and some other parm...
do not understand how the middle expression was derived from above expression, after all summation\multiplication i get: $$\frac{e^{-jwN} + e^{jwN} - e^{-jw(N+1)} + e^{jw(N+1)}}{2 - e^{-jw} - e^{jw}}$$
Suppose I have some signal $$ s(t) = n(t) + \left\{\begin{aligned} &0 &&: t < t_0\\ &A e^{i (2 \pi f t + \theta_0)} &&: t_0 \le t \le t_1\\ &0 &&: t > t_1 \end{aligned} \right.$$ with unknown beginning and end times, $t_0$, $t_1$, and unknown frequency, initial phase and amplitude $f$, $\theta_0$, $A$. The signal also ...
Suppose we have a system which we want to know the exact transient times. In ideal case, we can extract the transient times, but in practice it will be affected by another system with a known transfer function. We know the system with a transfer function changes the transient times and also the shape of output. How c...
Given some recording (containing both the signal of interest and some Gaussian noise), can we improve our template (or model) of the signal using the analytic signal of the recording? For example, a signal (red) with Gaussian noise results in some noisy recording (black). The instantaneous amplitude of the recording (b...
I need to find the filter coefficients of an FIR filter that will block sinusoids of frequency $200\ \rm Hz$ if the sinusoid is sampled at $1.2\ \rm kHz$. I feel like this is a fairly simple problem, but I'm not exactly sure how to go about it. I am thinking I need to convert the frequencies to rad/s, then use these...
Is there any good matrial avialable for data specific DSP? I have gone through some great DSP intros for beginners in python but all of them revolve around the characteristics of audio signal
UPDATE 2 Okay, I think I understand now why the defined CRLB is not applying to my use case. In my use case, we have very high SNR, and the the first signal $x_1$ is always the same. So the classical implementation in the literature of $$ x_1 = s(t)+n_1 (t)$$ $$ x_2 = s(t-D)+n_2 (t)$$ is not entirely correct, since thi...
If I have samples of input say x(1:500) and it passes through FIR filter with 9 taps and some unknown coefficients. The output y(1:508) is also known. The aim is to estimate the filter response in frequency domain. I know using Convolutional theorem $\hat{H} = (X^H*X)^{-1}(X^H*Y)$, but this requires fFT of full 500 sam...
I had this problem on a previous midterm but I can't seem to get the correct answer. The answers are shown in red provided by the professor. I've attempted it two different ways: one by having my limit from from 0 to (17-1) then tried by setting limit to 0 to (13-1) by truncating values before zero. I don't believe I...
I have an noisy image and I want to remove noise from it; suppose $y$ is noisy image and $A$ is linear mask which makes my image noisy and $x$ is original image, so we have $$ Ax + \eta = y $$ and $\eta$ is additive noise. I have read in many papers that the equation below is a good cost function for removing noise: $$...
Consider the following code: Fs = 48000; h = dsp.ParametricEQFilter('CenterFrequency', 1000, ... 'Bandwidth', 1400, ... 'PeakGaindB', 10, ... 'SampleRate', Fs); fvtool(h,'Fs',Fs,'FrequencyScale','Log'); Let the two bandwidth $-3\rm dB$ p...
I'm wondering how can i get the frequency and the amplitude from a 16 bits sample. I have actually an array of 16 bits signed int and I would like to get the frequency and the amplitude of each sample. I've heard from FTT and stuff but I'm kinda new to signal processing about audio. Any advice would be appreciated, Tha...
I am currently studying about image watermarking and I have been testing these 3 domains to embed the watermark at. My question is, how do these domains hold up to noise addition or geometric transformations, regardless of watermark embeding. To be more precise, I want to find the relationship between an original ima...
I have collected a set of physiological signals through emg sensors. I will link at the end of the post an example (10 sec.) of a signal collected on zygomatic muscle. When I analyzed these data, I have seen that they cointain a great ammount of noise (as you can see by the plot of the FFT. Plot of the emg signal FFT ...
I have a function that I need to use denoise algorithm on. What I thought is to divide it to smaller parts and then use Fourier Transform on each one of the parts, but I am not sure what to do next. Can you please help me and give me few algorithms to recognize noises, if possible algorithm that will fit the structure...
What are the advantages of Laplace Transform vs Fourier Transform in signal theory?
This is the transformation I did. The code fft2() the Lena picture than ifft2() it back to the original. Add some abs() so it actually displays it. According to this post an image cannot be reconstructed without the phase information, yet I see no indication of phase being used anywhere here. I'm guessing MATLAB stil...
I'm working with loudspeaker impedance analysis. Electrical behavior of loudspeakers can be modeled with RLC networks. But real loudspeakers have components, that exhibit some non-linear and frequency dependent behaviors, that make them difficult to model with simple LTI systems. One of the problems with loudspeakers i...
The integral $$\int_{-\infty}^{\infty}|X(f)|^2df$$ of the absolute Fourier spectrum squared is the energy in the signal, but what about the integral of the 'simple' absolute Fourier spectrum? $$\int_{-\infty}^{\infty}|X(f)|df$$ Does it represent anything? I couldn't find any information on that point. Any hint would b...
I've done already some fade in or fade out effect in portaudio, but that is not working properly. My callback function: int SoundEngine::patestCallback(const void *inputBuffer, void *outputBuffer, unsigned long framesPerBuffer, const PaStreamCallbackTimeInfo *timeInfo, PaStreamCallbackFlags statusFlags, void *userData...
I've started a course on image processing for beginners, and am trying to understand Gamma and Gamma Correction. Unfortunately, I seem to have come across conflicting explanations across multiple websites. I'm not an artist or computer scientist (just a very humble beginner) but I wanted to pitch what I understand so f...
I am looking to imitate 70's analog equipments sound. I was wondering is there a way to create tape saturation / distortion inside Audiokit? I want to add that and randomized tape crackles and artifacts to the mix which I know is possible in AudioKit luckily. From what I understand Tape Simulator plugins normally dis...