instruction
stringlengths
31
27k
I was going through this paper and the author mentioned that we can prove the following using the Matrix Inversion Lemma (AKA Woodburry's Matrix Inversion Identity): Using matrix inversion lemma we can show that $$w(k+1) = w(k) + \mu(k)e_p(k)x(k)$$ and $$e_p(k) = d(k) - x^T(k)w(k+1)$$ where $e_p(k)$ is the a posteri...
I am trying to map values of a saw-wave that goes from -1 minimum value to 1 maximum value as a periodic signal onto a sine-wave. Repeating the matrix of this waveform that is 257 element in length oscillates as expected as a saw-wave, but if I change the function into a sine-wave -1 maps to 0, then 1 also maps to 0, a...
I have a huge labeled dataset of several thousand sound events, including human voice, dish washing, things falling to the ground, among others. I need to report when a human voice event takes place. Notice that it's not a simple voice activity detection (VAD), since there are other sound events competing with voice (...
If the Fourier Transform of a signal is enough to determine its spectral density, why do we complicate our lives by defining the autocorrelation function?
There is a system which shifts frequencies of input by $-F_c$ such that: $$Y(S) = X(S).H(S)$$ But $X(S)$ has value zero from $0$ to $F_c$. I am confused on how the product of $X(S)$ and $H(S)$ becomes a positive value in $Y(S)$ in that frequency range, for any $H(S)$? How transfer function of the system $H(S)$ wil...
I am trying to understand the process of changing the pitch of a signal. After performing the FFT on a windowed signal, we have the frequency information for the signal. Why can we not simply change these frequencies to change the pitch of the signal? Instead, we must first use pitch detection methods to determine pitc...
As far as I know, convolution theorem stated that $$ x[n] * y[n] = X(e^{j \omega}) Y(e^{j \omega}) $$ $$ X(e^{j \omega}) * Y(e^{j \omega}) = x[n] y[n] $$ I tried a simple experiment using GNU Octave which code is provided in the following x = zeros(1,31); h = zeros(1,31); x(14:18) = [20 -30 40 -30 20]; h(14:18) = [1/5 ...
I'm trying to extract a single region from the image in matlab. The light region looks well connected and distinct from surrounding. However, I applied a hard threshold B = A(A>1e-3) and it produced The edge of the extracted shape is not smoothing at all and there are lots of isolated pixels.
I'm working on this idea of choosing best cover image from given db for image steganography(hiding secret image inside cover). I've started with calculating cross-correlation matrix between images in db with given secret image(there are images with different content/texture, like secret could be a building while cove...
Does $$x[n]=e^{j\omega n}+e^{2j\omega n}$$ represent an eigenfunction of an LTI system?
I wrote a very basic C program to play a sine of a user-specified frequency. In the interest of portability, I have it spit values directly to stdout, so hopefully you can reproduce my problem on your own machine. This is the code I wrote: #include <math.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> #d...
I tried convolutional coding and Reed-Solomon (RS) (block coding technique) for wireless channel where the input data is bitstream. Convolutional coding achieved lower BER comparing with RS. If the SNR of channel decrease around 15dB, convolution code's BER becomes more than that of the system without channel coding, w...
I am trying to implement a M-PAM modulator in Matlab without using the built-in functions. I am confused when it comes to the symbols-bits mapping. Say I have a sequence of bits: 1000110110 and M = 4 which means I encode k = log2(M) bits into each symbol. So, I get the vector s = [2 0 3 1 2]. But to my understanding th...
Could someone explain how Moorer calculated the gain coefficients for the comb filters in his reverb? In his book, Udo Zölzer's layed out this equation: $$g = 10 ^ {-3 \left(\mathrm{Reverb \ Time} \cdot \frac{\mathrm{Sampling \ Rate}}{\mathrm{Delay \ length \ in \ samples}}\right)}$$ In his paper for the first comb fil...
Given a stochastic signal $x(t)$ with autocorrelation function $R_{xx}(\tau)=\mathrm{exp}(- \alpha|\tau|)$, $\alpha>0$. I want to predict $x(t+\lambda)$,$\lambda>0$ by $x(t-\tau)$, $\tau\ge0$ through a linear etimation, i.e. I want to find estimator $\hat{x}(t+\lambda)=\int_0^{\infty}h(x)x(t-x)\mathrm{d}x$. By the p...
In DSP book by Proakis and as well as in this pdf, it is mentioned that practical causal digital filters cannot have an infinitely sharp transition from Pass-band to Stop-band. Why is it so? Can you please provide a detailed explanation (with proof)? Edit 1: In the book in was just mentioned that is a consequence of t...
I read in this pdf that for a system to be causal, the number of finite zeros must be no greater than number of finite poles. Why? I know that for a system to be causal, $h[n]=0$ for all $n<0$. Can you give an explanation how the statement maps to this? Or why the number of finite zeros are less than or equal to the n...
I'm simulating a QPSK system in Matlab and I'm trying to calculate the theoretical bit error rate to compare it with the simulated ber. The formula that I'm aware of involves the term Eb/N0, but how do I calculate it, knowing just the SNR and the energy per bit? I seem to need to know the bandwidth of the signal but si...
Can anyone explain me how is a Gaussian filter a low pass filter? It may be a simple thing but I just can't seem to wrap my head around it. Also while applying a low pass filter for bandlimiting (to prevent aliasing), which of the following two is better: (a) Applying Gaussian filter to the signal. (b) Applying Box fil...
Not sure if this is the right place to be asking this, but it's my best bet. So, I have a video captured from an infrared camera similar to the youtube video here. Can I get temperature information by analyzing the pixel data of any given frame? Also, if this needs prior calibration, how would I go about doing that?
I have a list of sine waves in 1/3 Octave (63,80,100...1k,1.25k,etc) that I want to reproduce with the same power. Right now I just have a global gain that applies to all this freqs, but of course the high frequencies are louder that the lower ones. I am not sure how to keep the same power between them, I suppose I ca...
I am simulating an FM radio signal in order to use it as a waveform in passive radar; for this purpose I'm following an article: Analysis and Emulation of FM Radio Signals for Passive Radar In a certain step, I need to design an emphasis filter for the rdiophonic signal, the filter has these characteristics: a gain of...
I'm really curious of how engineers identify what is the frequency range that could be sent through "wire" as channel? Do they put wire in front of them and make test that consists of sending sinusoidal signals through it by gradually increasing frequency, till maybe wire suddenly "burns off" and they measure that as h...
I have a stationary process $w_1(t)$, white in band $B=[-2, 2] KHz$, and another process: $x(t)=w_1(t)-w_1(t+t_0)$, where $t_0=250\mu s$. I want to re-obtain $w_1(t)$ by filtering $x(t)$ through $h(t)$: $w_1(t)=x(t)*h(t)$ (where $*$ is the convolution operator). I know that $r_{w_1x}=r_x*h$, ($r_{w_1x}$ is cross-correl...
I have collected force at the footrest during paddling at two occasions. During one occasion I accidently collected the force signals at 150 Hz instead of 1500 Hz. During the other time the data was collected at 1500 Hz. I now want to calculate the highest frequency of the signal collected at 1500 Hz to be able to know...
Why don’t we instead choose (calculate) our bandwidth to be between two purple “dot’s”? Why don’t those purple dot’s represent points for “cutoff frequency”? Looking at this picture “frequency components” after the right purple dot (or before the left purple dot) would be attenuated (yellow lines + after cutoff freque...
I have a stereo music signal corrupted by strong sinusoidal noise that varies over time. Here is the spectrogram of Left channel I plotted with Matlab. As you can see there are 3 or 4 strong harmonics with frequency that varies over time. As a first try I computed the difference of left and right channels and it seem...
Sorry about my unscientific and informal question but i have an exam $3$ days later and i need to learn this. Can anyone explain clearly, shortly and without formula Why do we need to find the frequency response of FIR filter?
Consider an LTI system with impulse response $$h[n] = \frac{1}{5^n} u[n].$$ (a) Determine and sketch the magnitude and phase response $|H(\omega)|$ and $\arg(H(\omega))$ respectively. (b) Determine and sketch the magnitude and phase spectra for the input and outPUt signals for the following inputs: $x[n] = \cos(6\pi...
I want to simulate the play-rate change function of a modern digital sampler. For the purpose I have constructed a sinc-resampling based algorithm of my own which changes the play-rate of a digital audio signal. There is some issue with the algorithm, as the output of the algorithm is far from nulling with the output o...
I was studying about realization structures of digital filters. Is it mandatory to have the order of numerator must be less than that of denominator of transfer function for realization of filter using direct form I and II?
The following text is cited from a textbook, "Spotlight Mode Synthetic Aperture Radar: A Signal Processing Approach", I would like to ask if anyone knows the proof to the following statements, as the proof is not outlined in the book, and I am unable to prove it myself. The function $f(t)$ is represents a pulse envelop...
I am new to signal processing. And I am puzzled when studying FFT. I create time series plus a random noise in Python: import numpy as np N=1000 x = np.linspace(-50,50,N) noise = np.random.random(N)*0.1 y = np.sin(2*np.pi*x/10) + noise Then perform FFT to the time series and get power spectrum. But I find the spectru...
Assume that we have a signal to be detected using the binary testing hypothesis. The received signal is distributed as follows. \begin{align} \mathcal H_0:& \ x = w\\[2ex] \mathcal H_1:& \ x = s + w \end{align} where $w\sim \mathcal N(\mu_w,C_w)$ and $s\sim \mathcal N(\mu_s,C_s)$ I was trying to apply the NP lemma,...
The channel is an FIR model with input $u$. The input takes in values which are symbols from some constellation. Using an equalizer such as the Least Mean Squares (LMS), I estimate the input to the channel from the known noisy observations and the channel coefficients. Let the estimated input to the channel be denoted ...
Why is it $N\cdot N$ a sufficient number of cosine waves equal to the size of the image or to a portion of it to describe it (or a portion of it) completely without losing information applying the DCT. For example, in the JPEG encoding I divide the image into 8x8 blocks and I will have, for each block, a table of exact...
I've been reading some color basic stuff and I came across with two different terms: gamut and gamma colors. By definition the difference between them may be clear. I found: Gamma: transfer characteristic of display Gamut: Range of reproduced color lights However, these definitions led me to to check these concepts: ...
I was discussing this problem with one of my classmates. The picture shows a recording of the heart rate during before and after sleep. Can the whole process be considered wide sense stationary? (I say yes because the mean is approximately constant, but how can I estimate the autocorrelation?) Can the whole process be...
I am asked to write a MATLAB program for the simulation of the end-to-end transmission of a JPG file through a fading channel by using OFDM technique for one of my courses' term project. I wrote my code, that is working like a charm, through a AWGN channel. However, I have no clue about modelling fading channels with d...
Can someone explain me the highlighted text parts regarding this image ? Here is a pseudo-code of how it was created: kSobelX = zeros(100); kSobelX(1:3,1:3) = [1,0,-1;2,0,-2;1,0,-1]; kSobelXfft = fft2(kSobelX); clf; scale equal; image(abs(kSobelXfft)/max(abs(kSobelXfft(:)))); print; Pixels on the left of the square ...
I am working on a program using the Essentia library for audio analysis. I've implemented the Cross Correlation algorithm (here: http://essentia.upf.edu/documentation/reference/std_CrossCorrelation.html), but I'm not sure if I really understand the output. Sadly, barely any of the description on that page makes sense t...
I am currently simulating the following in a telecommunications exercise in Python: Consider a binary sequence $m[n]$ that is being modulated with QPSK (Gray-mapped) that is being transmitted via an AWGN (additive white gaussian noise) channel that adds complex noise of the form $$n = x + jy$$ such that $x,y$ are...
Let $X(t)$ and $Y(t)$ be two orthogonal processes with power spectral densities $$S_{xx}(f) = S_{yy}(f)=\begin{cases} 1-\lvert f\rvert, & \lvert f\rvert<1 \\[1ex] 0,& \text{otherwise} \end{cases}$$ Define a new process $Z(t) = Y(t)-X(t-1)$. Determine and sketch the power spectral density $S_{zz}(f)$. The solution is ...
What information can i read from this spectrogram? I have 2 signals, the first one a sine and the second one a sine with noise
I'm building a neural network for instrument recognition based on the IRMAS data set. However, I'm a bit at a loss for what features to use. MFCC seems to be quite popular but extracting this per sample didn't give better results than random guessing, and I'm quite lacking in audio background. Any suggestions on good f...
MCPP uses a weird graph of human phychoacoustics measurements called MEL scale to process digital audio. Why is MEL used in DSP voice recognition if it's based on logarithmic human perception, and why is it effective? MEL theory gives the ratio that average humans logarithmically hear equal distance pitches, and the c...
I want to measure and log a relatively high variable voltage signal, with minimum impact on the original signal. Normally the signal should average 130volts and vary by +/- 20volts at 10Hz. However under different circumstances all these parameters are likely to change. I would like to log these changes, but the probl...
I have a problem with applying Butterworth High Pass Filter to my data. I would like to print filter for Bx and By matrix. As you can see I have both positive and negative values, how to apply math.fabs() to Bx and By to get only positive values? For my high pass filter I have those requirements: Fc = 2 Hz I would...
I know there is not possible to find the true noise of a measured signal. The only way to "find" the noise is to estimate the noise. Noise has the mean 0, but the variance varies. So assume that we have a signal which look like this: The clean signal is $y(t)$ and the noise is $e(t)$. In this case, $e(t)$ has the var...
I a new to MATLAB and i am trying to apply circle fitting technique to the following image. Image Expected Output I used the following code with no luck: [centers, radii] = imfindcircles(W,[30 65],'ObjectPolarity','bright'); figure,imshow(W);% title('Sobel gradient'); viscircles(centers,radii,'Color','b'); Note that...
Suppose I have some time series $s(t)$ which contains Gaussian white noise generated by a distribution $N(0,\sigma^2)$ Then I apply a filter to s(t) with a frequency response $H(\omega)$, giving me $s_H(t)$ What distribution does $s_H(t)$ have? I'm particularly interested in cases where $s_H(t)$ is band limited Gaussia...
I'm going through this article https://www.elttam.com.au/blog/intro-sdr-and-rf-analysis/ and I find it hard to understand the following part: However, in our case we might want to transmit this signal later and need to represent each symbol with 1’s and 0’s, for instance the short pulse symbol may be represented by 00...
If I have a continuous-time energy signal and multiply it with an impulse train, the frequency domain representation has infinite replicas. The total energy if we sum them up becomes infinite. What causes it to have infinite energy now? I understand the derivation provided in many texts but I am trying to get intuitive...
I'm new in DSP. I want to design single pass band FIR filter using LS method. I have this information : one pass band $[-0.1\pi , 0.3\pi]$ two stop bands $[-\pi , -0.18\pi]$, $[0.38\pi, \pi]$ weighting constant in : pass band : $a = 1$ and stop band $b_1=b_2=2$. In this case, can I use Matlab's firls function? Becaus...
$$\mathbf{Y}=\mathbf{X}+\mathbf{W}$$ $\mathbf{X}$ is input, an $n$-dimension equiprobable vector in a finite subset of complex space $\mathcal{A}^n \subset \mathbb{C}^n$ with norm $\sqrt{\rho n}$ (constant power), e.g. BPSK, QPSK, 8-PSK, etc. $\mathbf{W}$ is circularly complex Gaussian vector $\mathcal{CN}(0, \mathbf{I...
I observed that filtfilt suffers from an undesired behavior when I provide IIR bandpass filters having steep transition bands. Specifically, the output signal exhibits excessive transient response; nevertheless, this behaviour does not emerge if I use a 'home-made' version of zero phase filtering based on filter. I gue...
How can I infer the coefficients for an AR(2) model given an autocorrelation plot? What I have tried so far: I can see this a cos-wave of 0.4 Hz, and then i find the values for each step $(1, 0.9211, 0.6967, 0.3624)$. Since it is an AR(2) model I have to find to coefficients ($a$ and $b$). Then I can solve two equation...
Some extra info. that I think might help or make things clearer: The video has several other people in it also talking (I don't want to change their voices). I have some experience in editing videos(nothing major I've only ever used Flimora and Imovie)but I've never had to edit someone's voice.
I have a decoded PCM audio data obtained from the Web Audio API. I'd like to generate a chart that represents the volume level (perceived by humans) over time. volume| level| ****** | * * ** | * * * ** |** * *** ...
I have many information i want to be clear very well . The defining characteristic of FIR filters optimal in the Chebyshev sense is that they minimize the maximum frequency-response error-magnitude over the frequency axis. In other terms, an optimal Chebyshev FIR filter is optimal in the minimax sense: The filter coeff...
I have a voice data contained in a vector. Vector length is 118796 and sampling frequency is 8000 Hz. So it's around 15 seconds of voice data. When I doing frequency modulation with fmmod (Carrier 138 MHz, out sampling frequency 5*Carrier, freq. deviation 12.5 KHz) I getting the vector of the same size. [voice fs] = au...
I have found out 20 dominant frequencies of a song by splitting it into 20 sound-clips and applying Fourier transform on each one of the sound-clips. Now I am trying to reconstruct the song back from these 20 dominant frequencies. info_ = audioinfo('../wws.wav'); % 11 secs long song Fs = info_.SampleRate; chunkDuratio...
I've been wanting to know more about how sound is processed by a cochlear implant processor, how they are programmed, and how they stimulate the magnets and electrodes inside. How do you take pure tones of varying frequencies, noise signals, and complex speech sounds and turn them into a set of organised electrical si...
Given a signal you are asked to perform baseband QPSK (not on a carrier). Does this mean the following? In baseband QPSK the (possible) constellation points are $$\sqrt {E_s} e^{jn \pi / 2} \qquad E_s = A^2 T_s$$ and the frequency response has delta functions placed in the origin In QPSK modulation on carrier t...
I have started learning DSP on my own and I have this doubt. I have done some googling but haven't found an answer. I hope that someone here would give the answer. It will be of great help.
I want to find the derivative of an image along a radial direction. For instance, in the image below I want to find the gradient at a point $P$ of the image, along the direction of the circumference of the circle. Just like we do image intensity derivatives $\frac{dI}{dx}$ or $\frac{dI}{dy}$, all I want to do is to f...
So I'm currently working on a project where I need to find the frequencies for specific peaks in my FFT plot of an audio file. However, I'm not sure how to actually get the frequencies that correspond to the peaks I'm interested in. This is my code: https://pastebin.com/zZW8B5Th And this is a picture of my FFT plot: ht...
There are two kind of average power I encountered in random signal class and textbook: definition 1: average power =$$E[|x(t)|^2]=R_{xx}(0)=\int^\infty_{-\infty} S_{xx}(f)\,df$$ definition 2: average power =$$\lim_{T\to\infty}\frac{1}{2T}\int^{T}_{-T}|x(t)|^2\,dt $$ It seems that the two definition is different unless ...
From Kalman's seminal paper "A New Approach to Linear Filtering and Prediction Problem", it is clear that Kalman's exposition is based on the following fundamental assumptions: Measurements that are linearly related to the state. Measurements are corrupted by white noise: 2a: Serially uncorrelated noise. 2b: Zero mean...
How do I remove a shadow after MOG2 background subtraction using OpenCV Python? I used all morphological operations, gaussian and median blur, thresholding. it removes noises but deep shadow is resulting in foreground object.
I have to estimate location w.r.t a given map of the environment. The state is expressed as $ X = \begin{bmatrix} x \\ y \\ \theta \end{bmatrix}$ Given , $ X_{t-1} = \begin{bmatrix} x_{t-1} \\ y_{t-1} \\ \theta_{t-1} \end{bmatrix}$ and it's covariance $P_{t-1}, $ a 3X3 matrix . I have a measurement model which detects...
I began learning about DPCM and i've got one issue I am not sure about: Is the incoming sample m[k] (see image for reference) already quantizied or not? I think it is but with an (assumed) very fine quanitization. So the Quantiser block is doing a requantization with a more coarse quantization, right?
I am studying Perfect reconstruction of 2 channel filter bank for using Biorthogonal Spline wavelet for decomposing ECG signal. I am using Wavelets and Filter Banks By Gilbert Strang, Truong Nguyen to study perfect reconstruction. I am trying to understand the remove distortion condition, and it is given as: \begin{equ...
I have two questions: 1- If I want to transfer a photo via bluetooth, how should I find how long it takes to transfer? I mean the formula between the image size, bluetooth bandwidth and time. 2- If I want to transfer video in real time, how should I calculate the bandwidth is needed to transfer the video via bluetooth/...
I am trying to equalize the 16 Star QAM using known blind channel algorithms such as CMA,MMA,SCA,RCA,IRCA,CXA,SCXA.I now need to contruct a new contour for equalizing the 16 Star QAM.As it is in circular shape the CMA Contour is well suited.But I need another new contour to apply to equalize it.Are there any other cont...
I created a signal with lets say $\omega_1$ that is fixed at 1 bin in the FFT: $$A_1\cos(\omega_1t)$$ I was asked to find the closest $\omega_2$ to $\omega_1$ so that the signals $A_1\cos(\omega_1t)$ and $A_2\cos(\omega_2t)$ are separable. I only know the ratio $A_1/A_2$ in dB and the $\omega_1$ that I chose. $$s(t)=A...
To convert frequency to mel, we usually use formula: $$\mathrm{mel}(f) = 1127 \ln \left(1 + \frac{f}{700}\right)$$ I wonder where are $1127$ and $700$ came from? I've read the paper which Wikipedia think is the original of MFCC but I still didn't get the origin of those values. I hope somebody here can help me to unde...
When I try to calculate the $\mathcal{Z}$-transform of $4\delta[n-8]\delta[n-8]$, I put the statement into the formula of $\mathcal{Z}$-transform from $-\infty$ to $+\infty$, and I get the result $4z^{-16}$, but I can't be sure about it. I think that the ROC changes when I square the $\delta[n-8]$ location on the numb...
I have two variables of data (BxHPF and ByHPF), which are equall in number of data. I would like to make a loop, which takes first value of BxHPF and ByHPF compute them, then take next one from BxHPF and ByHPF and so on. For now I have: So I though about this way: Computing = (float(BxHPF[0])/float(ByHPF[0])) Dat1 = ma...
$2y[n-2]-2y[n-3]-4y[n-4]=x[n]-10x[n-1]-4x[n-2] + 4x[n-3]$ is the system that I'm looking for the response. I transformed this system via using Z transform: $$\frac{Y(z)}{X(z)}=H(z)=\frac{z^4 - 10z^3 - 4z^2 + 4z}{2( z^2 -z -2 )}$$ $$H(z) = 0.5z^2 -4z + \frac{-5}{z-2} + \frac{-1/3}{z-2} + \frac{1/3}{z+1}$$ How to find R...
How can I plot a space-frequency representation of an image in MATLAB? I know that there is a function called spectrogram() but it is useful just in the case of one-dimentional signals and not for images. Can someone help me please?
I am working on real-time implementation of spring reverb based on scientific paper called Parametric Spring Reverberation Effect by Välimäki, Vesa; Parker, Julian; Abel, Jonathan S. One block of this effect is a cascade of $100$ stretched all-pass filters. Single stretched all-pass filter is defined by: $$ A_{\rm low...
I have a fixed vector $\mathbf{s} \in \{\pm1\}^m$ and a random vector $\mathbf{d} \in \{\pm1\}^m$. I send either $\mathbf{x} = \mathbf{x_1} = [\mathbf{s}\space\mathbf{d}]$ or $\mathbf{x} = \mathbf{x_2} = [\mathbf{d}\space\mathbf{s}]$ over an AWGN channel to get $\mathbf{y}$. Then $\mathbf{x}, \mathbf{y}\in \{\pm1\}^{2m...
I know that that the poles of this system are: $s_1 = -1 + 2j$ and $s_2 = -1 - 2j$. I think to solve this problem I would need to find the laplace of this plot, with the formula: $$ W(s) = \frac{\rm zeros}{\rm poles} $$ Then I would need to get the inverse Laplace. I am stuck on how to get the zero when it is not p...
I generate a synthetic room Room Impulse Response(RIR) function to filter a speech signal, and want to reveal the RIR from the filtered signal by using complex cepstrum. Generating the convolved signal: sig= conv(speech,H); Obtain the cepstrum: eF = enframe(sig, 512, 128); for i=1: size(eF,1); cepF(i,:)=cceps(eF(i,...
Suppose we want to use a moving average filter (3-point moving average) for $X[n]$ (where $Y[n]$ is output). What are the differences among $Y[n]=\frac13X[n-1]+\frac13X[n]+\frac13X[n+1]$, $Y[n]=\frac13X[n]+\frac13X[n+1]+\frac13X[n+2]$, and $Y[n]=\frac13X[n]+\frac13X[n-1]+\frac13X[n-2]$ ?
I was interested to learn what theoretical limits have been determined so far for the 'multiple access channel' with additive Gaussian noise. This brought me to the 1989 paper by Sergio Verdu, named "The Capacity Region of the Symbol-Asynchronous Gaussian Multiple-Access Channel". Found it here. If anyone here is famil...
I need to get the difference equation of a specific elliptic filter. I calculated the transfer function coefficients in MATLAB with: %% Low pass design n = 10; passband_ripple = 1; stopband_attenuation = 60; f = 4750; fs = 44100; [B,A] = ellip(n,passband_ripple,stopband_attenuation,f/(0.5*fs),'low'); Ho...
Is the following signal periodic? $$ \sum_{κ=-\infty}^{\infty}\left[\mathrm{rect}\left(\frac{t+2κ}{10}\right)\right]+\cos\left(\frac{π}{75}t\right) $$ where rect is the rectangular signal
This question is somewhat related to the one asked here: How is multiplexing achieved in spread-spectrum modulations like CSS? I am looking at the bit error rate (BER) performance of communication systems based on chirp spread spectrum (CSS) like the one implemented by Semtech's LoRa CSS. Authors of the research paper...
In explication ''the geometric interpretation of least squares'' Typically, the number of frequency constraints is much greater than the number of design variables (filter coefficients). In these cases, we have an overdetermined system of equations (more equations than unknowns). Therefore, we cannot generally satisfy ...
I am little confused about why we need analytic signals so bad in time-frequency analysis. What might happen if I use non-analytic signals to do time-frequency analysis?
I'm pretty new to signal processing. My data is the $(x,y,z)$ acceleration of someone walking with a smartphone in his/her pocket. Goal Given two signals, determine if it's from the same person twice, or if it's from two separate people. Have some idea of the degree of confidence in the decision from 1. Attempt Seg...
There is a speech signal, $y[n]$, in the time-domain. To take it to the frequency-domain, DCT has been got from $y[n]$ (w = dct(y) in MATLAB). After it, I applied LPC on this signal ($w[k]$) in the frequency-domain to find the coefficients. Tthe following process was used: yfft = fft(w); yidft = ifft(yfft.*conj(yfft));...
I have an image which includes straight borders which I need to detect: The borders are thick, which causes hough transform to detect multiple lines for each border, as can be seen in the following image: In order to find the 'true' lines, I want to find all parallel lines (i.e. find the lines which converge into a va...
I have an audio signal that I am applying an analogue transfer function $H(s)$ to. I would like to approximate the change in gain ($\Delta \text{ Gain}$) as perceived by the listener for an arbitrary audio signal sent through the filter $H(s)$. I was thinking something along the lines of: $$ \Delta \text{Gain} = \frac ...
Studying DSP on my own. Taking an introductory class. Was given a formula for signal power $$ P = \lim_{M\to\infty} {\frac{1}{2M+1} \sum_{n=-M}^M} \lvert x[n] \rvert^2 $$ I do understand why the formula looks the way it does. But then we were given a formula for a power of a periodic signal, where $N$ is the period, $...
I have a picture and trying to swap the RGB channel into RRB, it's like I need to change all G pixels value into R. I did that by copying the R pixel value to G and store it into a new image file (Mat). Here's my code : ori.at<Vec3b>(i, j)[0] = image.at<Vec3b>(i, j)[0]; // B-->B ori.at<Vec3b>(i, j)[1] = image.at<Vec3b>...
I am getting really confused about the value of the first harmonic of a $50\%$ duty cycle $-1$ to $1$ square wave. By doing the math I found $\frac{2}{\pi}$, in my lesson and Wikipedia it's $\frac{4}{\pi}$. But now I checked with MATLAB and it's also $\frac{2}{\pi} \approx 0.6$ t = -100:0.1:99.9; % -> length = 2000 x =...
so how can i determine if a signal is smooth or not ? And if its possible to get something indicating the level of the smoothness of my signal. I looked at the r-squared and hurst exponent but i wanted to know if they where others methods.