instruction
stringlengths
31
27k
In underwater environment, Why acoustic underwater communications are still famous more than magnetic induction communication however in magnetic induction underwater communication, higher data rate is offered, shorter propagation delay and highly environment-independent channel behavior? In other words, what are they...
If we measure the heart rate of a subject with two different devices, which have big different sampling rates then how we can compare their outcomes. For instance, one of the devices has the sampling rate of 1000 while the other one has sampling rate of 32.
Given the difference equation as []=5[]+5[−2] and []=cos(). I would like to obtain the transfer function h[n]. How is that possible manually and on Matlab? Manually it should be very easy yet I am stuck with a trivial part. I considered H(z) = Y(z)/X(z) then I preform z-inverse. The issue is that I am stuck with Y(z) ...
from spectrograms, how can you tell which peak is really a formant. Like why is the pink arrow the first formant. And in the spectrogram below, which has fewer samples, what makes a value the peak value?
question: my attempt: $(a)$ $\displaystyle\int_{-\infty}^{\infty} f(t) dt=2 u (t)+r(t)-r(t-T)+Ku(t-T)$ then we draw it's diagram and found it was unbounded so,we doubt how area can be zero for any value of $K$ so, we need help here finding value of K (which we think will come negative ) $(b)$ $\displaystyle\int_{0_{...
My question is a mix of signal processing and Matlab coding. I have an FIR filter with added noise $w_n$ $$x_n=\sum_{m=0}^{N_h-1}h_mg_{n-m}+w_n.$$ Now the noise $w_n$ has the autocorrelation $$E[w_nw_m]=\sigma^2e^{-|m-n|}.$$ How can I generate this noise in Matlab? Thanks in advance
To transmit a signal over wireless body area network, the signal is transmitted over a fading channel with additive white Gaussian noise. The channel model can be obtained from the IEEE standards. My question is about the range of values of the SNR for the additive noise. In some papers, I found that simulation is done...
I want to detect 6 peaks in a signal. I am open to any suggestions. There is one problem where my signal sometimes jumps high and stays higher than the rest of the signal. I don't know why this happens but would like a solution to lower the signal back to the points where the rest of the signal was lower, which might h...
I have multiple signals as shown in this image. I'd like automatically detect time for the earliest detection of the signal (approx 0.7e4 in S1-B3-B (orange)) and last detected occurrence of the signal (approx 4.2e4 in S2-B3-B (purple)). Is there a smart way to that? I'm quite new to signal processing.
I have a Biquad II filter implementation in my embedded environment and I'm trying to find some equations to generate the coefficients for it. I have already found the Audio Eq Cookbook, which simply describes how to calculate all of the coefficients for Type I. LPF: (Taken from Audio Eq Cookbook, Type I Equations) ome...
I'm currently trying to generate a set of audio files where some audio events (e.g. dog bark) are immersed in a background audio scene (e.g. crowd noise). I understand that if the event would have happened in the original scene, then there would also be some components due to the interaction between the sound and the ...
I understand why we shift the Fourier transform such that the 0-frequency is centered for visualization. In the shifted DFT(u,v) of an M*N 2-dimensional image, the top-left corner of the 4th quadrant is (0,0) frequency or (low u, low v) the bottom-left corner of the 1st quadrant, (M-1,0) or (high u, low v); the bottom...
(A follow up question can be found here: link) In an attempt to understand how the packet encoding blocks work I tried to mimic the experiment performed by Aaron, published in this post, but reduced the flowgraph to the components that interested me the most, namely the Packet Encoder, the Packed to Unpacked and the Pa...
I'm having trouble determining Fourier transform of signal. I have 2 ideas on how to solve this problem. Given the signal is periodic I could use formula for Fourier transform of periodic signals: $$X(j\omega) = \sum\limits_{k=-\infty}^{\infty} C_k \cdot 2\pi \delta(\omega-k\omega_{0})$$ where $\omega_0 = \frac{2 \pi}...
I understand for SU-MIMO Beamforming single layer maps to all antennas with phase shift applied to create beam. Also I understand in this case all beams will be carrying same signal (say s1). But in case of MU-MIMO how can s1 and s2 be transmitted from multiple antennas at the same time so that one of the resulting bea...
It's well known that you can estimate the Fourier Transform $X(f)$ of a signal $x(t)$ via its Laplace Transform $X(s)$, just by setting $s = j2\pi f$ to the latter, as long as the region of convergence includes the imaginary axis. However, I do not have a clear view of how (and when) we can obtain the Laplace Transfor...
y[n] = b0x[n] +b1x[n-1] I have this MA filter in matlab as following load handel; x = y; b0 = 0.5; b1 = 0.5; N = length(x); % Length of input signal y = zeros(size(x)); % Allocate space for outut y(1) = b0*x(1); % First sample, assuming x(0) = 0 for n=2:N % Remaining samples y(n) = b0*x(n) + b1*x(n-1);...
I'm attempting to reconstruct a signal from the DFT of the signal. I tried to do it by extracting the individual sinusoids and adding them up, but the answer I get is incorrect. s = [3 1 4 1 5 9 2 6]#Some random signal(first few digits of pi in this case) t = 0:(1/7):1;#Sampling at each of these equally spaced time int...
Could anyone explain me please how to produce descrete fourier transform of such signal? There are no anymore information besides the picture in this task.
After FFT I've set to zero some frequencies and I'd like to enhance the amplitude in order to recover the leak. I'd like to do a normalization in order to avoid distortion. I've done in this way but the new signal is between 0 and 1 and so the result is incorrect: maximum_data = np.max(fftdata) minimum_data = np.min(f...
Note: I know absolutely nothing about zero crossings nor signal processing in general. However, I am doing programming exercises that require them. I've searched around but I cannot understand most of the information I'm getting. Hopefully I get clarification here. Feel free to close if it is off topic. Here are two ex...
Suppose I have a real (physical) dynamical system with one capacitive sensor, and I also have the ability to extract data for this system in csv form. The system data output is shown below (graphs) for various sampling frequencies. As the system is real time and its output depends on the immediate environment (temper...
Here is what i gathered so far: Any sliding window classification, image filtering or similar can be fastly done by a FFT (flip the signal and do convolution). Also, if the template/filter kernel is separable it is possible to do fast correlation by simply separating into multiple kernels and applying then sequentialy...
I got 2 hdr rgb textures/signals. When fetched one gets bicubicly interpolated and the other bilinearly. So I was thinking I can store as YUV and store Y from each texture in the bicubic one and the distribution of the rest of the channels are not as important. Well another restriction is that the hdr output only accep...
While studying the Image Magnification in spatial domain, I have come across this definition of Image Magnification by Replication: Replication is a zero order hold where each pixel along a scan line is repeated once and then each scan line is repeated. And the definition for Image Magnification by Interpolation is g...
I'm trying to calculate the spectrum magnitude and phase of a signal, but when I plot them I get pretty messy results: The signal is displayed on the right, then I have the magnitude and phase of the fft in the centre and to the left accordingly. I would have expected to see just few peaks in both the spectrums but i...
I am trying to understand why 2D FFT is done on a Gaussian process in a particular code. From my understanding from these posts: https://www.researchgate.net/post/Why_would_we_want_to_do_Fourier_transform_of_a_Gaussian_signal Why use a gaussian low pass filter, when we can convolve with gaussian kernel Zero padding ef...
I'm new in image processing. Right now I know how to correct white balance and how to correct image contrast. But if I need to make this two tranformations. In which order should I do this?
I am trying to create a GNU Radio block that scans the active frequencies, let's say for FM/DAB channel. I have seen scanner implementations in c++/python but are not compatible with GNU Radio. Can someone guide me on creating a GNU scanner block?
In estimation problems, we may use Cramer-Rao Lower Bound (CRLB) to evaluate the best performance. But if there is no unbiased estimator can attain CRLB, what is the meaning of CRLB? To clarify the question, I present a simple question here: $\alpha$ is selected as the evaluating indicator of system $A$. We can obtain...
What does this notation mean $g(x) = S\{\delta(t) \}(x)$ mean, where $S$ is a "system", $\delta(t)$ is the impulse function and $g(x)$ the output function of the system? I am really not familiar with signals and signal processing. I know the definition of the impulse function $$ \delta(t) = \begin{cases} 1, \; t = 0,...
The problem may be summarized as follows: I have a stochastic signals and I want to measure an increasing delay, as depicted in the following picture. The picture represents the signal as it is being delayed. I pick one acquisition as a reference (e.g. black signal), and then cross-correlate with later acquisitions (re...
Using the below python code, I am able to plot a graph. Can anyone please tell me how to modify this code to plot the graph continuously in real time? from pylab import * from rtlsdr import * sdr = RtlSdr() sdr.sample_rate = 2.4e6 sdr.center_freq = 93.5e6 sdr.gain = 50 samples = sdr.read_samples(256*1...
I an interested in spectral analysis of a random signal. Assume the signal $n(t)\sim\mathcal{N}(0,\sigma^2)$ is followed by the white Gaussian noise with zero mean and $\sigma^2$ variance. The test signal is $z(t)=n^2(t)$. Obviously, $z(t)$ is the Chi-squared distribution with 1 degree of freedom. The histogram of $z(...
I found dfilt.df2sos in Matlab and trying to figure it out how do I do that in Python? Is there any function that works similarly with the Matlab function? I also tried to browse but I could not find a similar function in Scipy. More dfilt.df2sos https://www.mathworks.com/help/signal/ref/dfilt.df2sos.html Best,
I am trying to apply a low pass Gaussian filter on a signal and find the exact location of maximum/minimum in the resulting smoothed signal. I have to do it for a few values of sigma (Gaussian bandwidth). How is it possible to implement such Gaussian filtering and compensate phase shifts during filtering so that I can ...
Suppose one uses a vector network analyzer to measure the $S_{21}$ parameter of an RF mixer over a frequency range. Would it be appropriate to call this the “frequency response” of the mixer? I find this confusing because mixers are not LTI systems, and it is therefore meaningless to speak of the frequency response of ...
Let $ x(t) $ be a bandwidth limited signal such as $ \forall |\omega|>\frac{\pi}{T} : X^F(\omega)=0 $ while $ X^F(\omega)$ is the signal's Fourier Transform. Let us denote $y[n]=\int_{-\infty}^{\infty}x(\tau)sinc(\frac{\tau-nT}{T}) d\tau$ I noticed that my professor said that because the signal is bandwidth limited and...
In this system model,the received signal available for RF EH at each RX_k is given by However,its SINR formula is given by We can find that author said the j can't be equal to k,but their range are the same in the second formula .However,in the first formula,i am not sure that is the j equal to the j in the second ...
Are all-pass filter of the n-th order just a cascade of N all-pass filters of the 1-st order? There are some nice statements regarding zeros, poles, and gain for the 1-st order. Can those statements be applied to the n-th order all-pass filter too? For instance, the Pole is a reverse complex conjugate of the Zero. Obvi...
I am running PCA on a multivariate time-series dataset using observations across time (i.e. w/out time as an explicit variable) as the design matrix. Given this setup, I've found that it is difficult for me to interpret the covariance matrix derived from such a design matrix. For instance, if two variables (e.g. signal...
How can we determine if a filter is bandpass or stopband, just by looking at its pole-zero diagram in z-domain? For exmaple, if we have a system with third-order pole at the origin and a zero on the real axis at 0.5, what is the type of this filter? In general, what is the effect of zeros outside the unit circle on fre...
It seems to me they are two terms used to refer to the same concept, but, according to the Wikipedia page on Gaussian filter a Gaussian filter is a filter whose impulse response is a Gaussian function So, what is the difference between an impulse response and a kernel? I am particularly interested in knowing the diff...
A real-valued analog signal with a flat spectrum between f = 0 Hz, and fmax is sampled at a sampling frequency fs = 24 kHz. The sampled signal is then processed with an ideal lowpass filter with cutoff frequency = 0.25pi. How can we specify the range for omega in which aliasing can be torelated and also determine the m...
I was reading some of papers about the Active Noise Cancellation; in particular about the Filtered-x LMS algorithm, also known as FxLMS. It seems that classic FxLMS (also called Feedforward FxLMS) algorithm is suitable to cancel broadband noise (white noise), while its Feedback version (the Feedback FxLMS, also abbrevi...
Can someone please explain the answer to this problem: The sampling rate of a baseband signal shall be converted from 5 kHz to 7.5 kHz using the efficient polyphase implementation with a 'rotating' switch. How many polyphase components are required and how many steps must the switch be rotated?
Above image has handwritten hindi / deavanagari letters all on a single image. Task is to Prepare a dataset from the given assignment.jpg image using image processing tools Idon't have clarity whether i can use photoshop editing tools like adobe photoshop etc. If image processing tools mean opencv , is it really p...
Some time ago, while playing with all kind of approximation of common math functions, I came up to this idea to calculate a1 coefficient for a one pole low pass filter: \begin{array}{l}a1=-(1+x+\frac12x^2),\;where\;\\x\;=\frac1{fT},\;\\f=sampling\;frequecy\;(Hz),\;\\T=time\;constant\;(\mu s)\end{array} so the final fil...
Try to determine the start time and duration of each "beat" in an audio signal (circled in figure below). It looks like a simple question, and python or Matlab should have toolbox/functions to do this, just couldn't find them. I tried low pass filtering and freq analysis, but neither worked.
I have collected samples for 2 different languages. Now i need to extract MFCC features and identify which language using wave files. I need to do classification using R studio and perform an analysis on RR,EER,etc and finding out which classifier gives better results. Can someone help me to proceed with this.
I'm building a inductive vehicle loop detector. By measuring the frequency of a LC-oscillator where the cars will pass over the inductor of the LC-Oscillator. If the cars pass over the inductor the frequency will change over time according to one of the following profiles. The frequency will also slightly change / dri...
I am looking for a python or matlab code to take an input audio signal, process it and remove any background noise other than the infant cry such as vehicle noise or a human talking noise and get the output as a pure cry audio signal free from any background noise and save the new file.
Consider the context of image processing and computer vision, and, in particular, discrete Fourier transform. For example, in the sentence In the Discrete Time Fourier Transform the forward Fourier Transform correspond to a discrete function of a sequence $x[k]$, however the inverse transform still remains continuous:...
What is the relation between time, frequency, spatial and spectral domains? I think that time and spatial domains are the "original" domains (e.g. if the signal is a greyscale image, then the domain would e.g. be all possible grey intensities for all pixels), whereas the frequency and spectral domains are the "Fourier...
I am computing the link budget for a communication-radar (CoRadar) system. The formula for maximum distance, in communication, is: $d_{max} = \sqrt{\frac{P_t}{\tau}\frac{G_t G_{r, comm} \lambda^2}{(4\pi^2)FkT_0 B_w SNR_{comm}}}$ where, $P_t$ is the transmitted power $\tau$ is the duty cycle $G_t$ is the transmission an...
Could someone please help me with the following question? Below is the magnitude response of a real-valued causal linear phase FIR system of order N = 6. Determine the location of poles and zeros. I know that for FIR systems all the poles are located at the origin, so we have a pole of order six at the origin. Also fr...
in radar systems how does one measure the precision and accuracy on a radar? I'm confused with differen definitions in the references: Richards define (Principles of Modern Radar: Basic Principles - Chapter 18): Accuracy = Bias Precision = Standard deviation Skolnick define (Introduction to radar systems - Chapter 11)...
I am a little bit confused about the concept of sampling rate conversion. Consider the following question: Wideband telephony signals are sampled at a sampling frequency fS1 = 16kHz. To process these signals with an automatic speech recognizer, the sampling rate is converted here to fS2 = 11.025kHz, i.e., the wideband ...
I have implemented a loopback flowgraph intending to perform the following: FEC encode (repetition code) an input stream in16_2.dat Store the encoded stream as out16_2_fec_async_enc.dat FEC decode the encoded stream and store it as out16_2_fec_async_dec.dat Follows the implemented flowgraph: My expectation: I was...
I am very new to signal processing. I am trying to extract a signal from my data using otsu threholding but it's not fully accurate. In this case I know that there is going to be a single signal in the data. It looks something like this -- I get the histogram of the signal. It is a bimodal histogram. I give those coun...
I'm very new to signal processing. I have some data measured over time at 800 Hz. I'm interested in the high frequency signals. You can easily identify them in the image below (in this case, 3 signals): You can easily see that there is a visible trend in the noise. This trend is mostly different for every such data th...
I read this paper: https://arxiv.org/pdf/1305.2460.pdf And there is a formula about MMSE:$\mathbf W^*_{MMSE}= E[\mathbf s \mathbf y^*]E[\mathbf y \mathbf y^*]^{-1}$ $\mathbf W _{BB}$:Baseband combiner $\mathbf W _{RF}$:RF combiner $\mathbf W $:The combination of $\mathbf W_{RF}$ and $\mathbf W _{BB}$ $\mathbf W^*$ : t...
I am trying to write mathematically how to calculate the power of a finite signal. I know the general formula $P_{\mathrm{x}}=\lim_{T\to\infty} \frac{1}{T} \int_{t=0}^{T} x^{2}(t) \mathrm{d} t$ used to calculate the power of a signal which has infinite Energy and finite power. But how do you express it when the does no...
I am a beginner in digital communications: I am studying the spread spectrum communication and I have a question on the spreading signals. For example I have 2 spreading signals and I do a time frequency analysis. Should the spreading signals overlap in time? And if yes, why?
I'm building a circuit for an electret microphone and I want to build a bandpass filter around the op-amp. I was using this source until I have found that most sources ( e.g. here and here) indicate that RC filter needs to be grounded. I can't think of a way check this (FFT doesn't seem to indicate whether the first s...
I have 3D numpy array of probabilities between [0,1], I need to emphasize on some area with lower probabilities. I was suggested to apply a-law and mu-law. I am wondering if there is python library/code that I can use for this purpose. I would really appreciate if you share some ideas here. Thanks
In image processing, a Guassian filter is used to blur an image. A low-pass filter is a filter that attenuates the high frequencies, preserving only smooth variations in the provided image. Is a Guassian filter a low-pass filter because it smooths the edges (or, in general, the parts of the image where there is a high ...
When handling non-uniformly sampled data, we can use one of the following methods to estimate the frequency spectrum: Interpolation in time/space domain, then go for classical periodogram OR Use Lomb-Scargle periodgram So my question is how do we decide when to choose method 1 and when to go with method 2? Thanks
Is it possible to implement some sort of filter which adapts as a function of time? Specifically, say I have a "noiseless" model of some signal which has the same frequency components at the same times as the signal I expect to measure, but with different phase and amplitudes (thus invalidating simple matched filtering...
The image was from a question I posted on reddit, so ignore the title. I'm trying to write a program that plots these graphs I know that the first plot is just a plot of the source-signal so the "time" domain of the voice signal. I have that down. the 2nd plot is the frequency domain signal, which I should be able t...
https://www.analog.com/en/products/ad9675.html https://www.analog.com/media/en/technical-documentation/data-sheets/AD9675.pdf It says in the data sheet that the Anti-Aliasing Filter has : "Programmable second-order low-pass filter (LPF) from 8 MHz to 18 MHz or 13.5 MHz to 30 MHz and high-pass filter (HPF) " So does tha...
A continuous-time sinusoid of zero-to-peak real amplitude $A \le 2^{m-1}-0.5$ (e.g., for $m=16$, $A \le 32767.5$) is quantized to $m$-bit resolution by rounding it to the nearest integer (Fig. 1). What is the optimal amplitude for different $m \le 24$? Figure 1. For $m = 4$, a sinusoid of the maximum allowed amplitude...
(This is a follow up question to a previous question: link) I have implemented a flowgraph of a transceiver loopback inspired by the examples found at gnuradio/gr-digital/examples/packet, with a slight change - instead of driving the Packet_tx with: Message Strobe > Random PDU Generator > Packet_tx I am using: F...
Knowing that DFT of n-values real signal in 1d consists of n/2+1 different values where the second half of the spectrum is complex conjugate of the first one (Hermitian symmetry). However in the spectrum of 2d signal that I've made in Octave I see complex conjugates in both dimensions. However the FFTW manual states t...
When performing a conventional digital beamforming I see in some textbooks they show beam patterns as where the arrival angle ranges between -90 to 90 degrees. But then other places show the full 360 degree view sometimes in a polar plot like this My question is, when doing a simulation is it ever warranted to ignor...
Can anyone help, I'm trying to find a solution that would allow me the ability to look at a batch of .WAV files and detect ones which share a similar behaviour in the recording like the image attached. Recording -> Large Gap -> Recording Thanks!
Part of my project is to build heart rate monitor from Nano and a PulseSensor. I am having trouble working with the Fast Fourier Transform part of the code. This code here is from a library (arduinofft) that can be found in the arduino IDE. When testing the arduino the serial printer returns values of about 51 bpm, wh...
While learning sampling theory - I noticed that examples of continuous signal sampling always achieved the goal via multiplying the signal with a "Dirac Comb". I was intrigued by the requirement to use a Dirac Comb instead of a "Ones Comb" - I.E: multiply the signal by the value '1' at the sampling times. The explanat...
Could someone please explain in what case the phase of a real number is equal to -pi (and not pi)? I know that for positive numbers, the phase is zero. For zero, we define the phase as zero as well. And for negative numbers, the phase would be pi. But I was reading some script and there it says the phase of a real numb...
can you tell me how to write video data to file.. what is the alternate of these 4 commands in octave videoreader('bg.mp4'); readframe(v); videowriter('bg1.avi'); writevideo(newv,k);
This question might be a bit stupid, anyway, i'll risk it, since i want to get better understanding of this subject. Let's consider random signal x(t), and let's say that we know that it is ergodic by mean, and by autocorrelation (this implies that it is wide sense stationary). This means that time averaged mean of thi...
I was reading this paper on optical flow, which as apart of the algorithm makes use Walsh-Hadamard transform on image patches of size 2r+1. So far, where ever I have looked, I could only find that WHTs require matrices of orders of powers of 2. In a footnote, they have mentioned splitting the patches in the middle for ...
I have couple of audio recordings of length 5 -7 min. I also have corresponding text to each audio file. I am not subject matter expert on speech to text but I am vaguely aware that much smaller audio files (10 sec) are used to fine-tune speech recognition model . So I want to split audio files into meaningful partiti...
I'm using ffmpeg to encode audio files as AAC at 256kbps. However, the actual bitrate of the resulting file is rarely 256. It's usually a number close to 256 like 241, 255, 257, 254. In one case it was 125. What's going on? Is this is a property of AAC or ffmpeg? If I ask ffmpeg for mp3 at 320kbps I always get 320. I t...
In the 2D image processing, there are ways to find and match features of the image (like corner of the edges). However, I could not find the equivalent of that in the 3D-voxel data (Here voxel means a 3D grid with a gradation of values allocated to each box). So, Is there any algorithm for 3D voxel feature matching?
So I have a digital linear chirp signal: $$ x[n] = \sqrt{\frac{2}{N}} \cdot \cos\Big( 2 \pi \frac{f_{0}}{f_{s}}n + \pi \frac{B}{N} n^{2}\Big) $$ Where $f_{0}$ is the initial frequency, $f_{s}$ is the sampling frequency, $B$ is the bandwidth and $N$ is the number of samples. I want to simulate a Doppler shift. I am not ...
Is there a window with both a lower side lobe level and higher side lobe roll of rate than the Blackman window - even if it is poor or useless for some other reason?
I am new to DSP, I'm trying to implement a low pass filter in a microcontroller and I'm looking for examples on the internet. One of the simplest low pass filter (as its title says) is this. But I don't understand how is this a low pass filter? All that I see is just an equation y = 2x - 1 I made a simple example on ...
I am learning about HOG and I understand it from here. A well-explained page with an example. I am not understanding this concept that how it works A 16×16 block has 4 histograms which can be concatenated to form a 36 x 1 element vector and it can be normalized just the way a 3×1 vector is normalized. How this 36...
It's pretty clear that zero-padding an image before performing Fourier transform simply enlarges the magnitude image (stretching it to the new, padded size). What I can't understand is how it affects the phase... At least to me it does not look like simple enlargement of the phase image. Could somebody clarify?
In attached image why does the ROC have these values for $$ X(z) = \frac{1}{1-\frac{1}{3}z^{-1}} - \frac{1}{1-2z^{-1}} ~~~~~,~~~~~ 1/3 < |z| < 2 $$ and for $$ Y(z) = \frac{5}{1-\frac{1}{3}z^{-1}} - \frac{5}{1- \frac{2}{3}z^{-1}} ~~~~~,~~~~~ 2/3< |z| $$ Also why is ROC for $X(z)$ between 2 values.
Attached is image with solution and my attempt. I am trying to calculate the coefficients for partial fractions expansion of the following: $$ H(e^{j\omega}) = \frac{ \frac{1}{3} e^{-j2\omega} }{(1-\frac{1}{3} e^{-j\omega})(1-\frac{1}{2} e^{-j\omega}) }$$ and I don't get the same answer. Please help]1
I am trying to show the equivalence of the following Power Spectral Density definitions in Matlab: Definition 1: $$ P(\omega) = \sum_{k=-\infty}^{\infty} r(k)e^{-j\omega k} $$ Definition 2: $$ P(\omega) = \lim_{N\rightarrow\infty} E\left\{\frac{1}{N}\left|\sum_{n=0}^{N-1}{x(n)e^{-j\omega n}}\right|^2\right\} $$ So long...
I'm having trouble on computing the autocorrelation of the sinc function I want to compute $$R_{hh}(\tau)=\int_{-\infty}^{\infty}\operatorname{sinc}(t) \ \operatorname{sinc}(t-\tau) \ \mathrm{d}t$$ where $$\operatorname{sinc}(t) \triangleq \begin{cases} \dfrac{\sin(\pi t)}{\pi t} \qquad & t \ne 0\\ \\ \quad \ \ 1 & t =...
I'm learning Nyquist plots and something has been seriously bugging me when treating poles or zeros in the origin. Nyquist plots obtains information based on the argument principle which states "If f(z) is a meromorphic function inside and on some closed contour C, and f has no zeros or poles on C, then $${\displaystyl...
I'm aware if we have a pinhole camera model several parameters describe the specific camera (such as aspect-ratio, focal length, principal point, distortion parameters etc). There're standard procedures to estimate such parameters that one can follow. I was wondering however if I replaced the pinhole camera with a sphe...
In the original method for MFCC and any other method based on cepstral coefficients The original step is like this: |FFT|^2 -> Filterbank -> Log -> DCT but why not like that: |FFT|^2 -> Log -> Filterbank -> DCT I didn't find the first paper proposed MFCC, Could someone please share it with me? Thank you :)
Let $x \in \mathbb{R}^n$ be a $k$-sparse vector. Given $A \in \mathbb{R}^{m \times n}$, we have a measurement vector $y$ given by $$y=Ax$$ Let $\hat{x}$ be defined as follows $$\hat{x}:=\arg\min_{z\in\mathbb{R}^n}\|z\|_1,\ \mbox{s.t}\ Az=y$$ Then, which of these two would be called error rate? $\|\hat{x}-x\|_1$, or, $...
I am new in DSP. I am currently working with a project and I want to try which algorithm works better given different image noises. To test it out, I have been using the Gaussian noise in images. I have been using this equation for imnoise: f = imnoise(im,'Gaussian',0,0.001) And then increasing by 0.001 and testing....
For Continuous time aperiodic signals, the duality property of Continuous Time Fourier Transform (CTFT) is following $$\mathscr{F}\Big\{x(t)\Big\} = X(f), \qquad\text{then} \quad \mathscr{F}\Big\{X(t)\Big\} = x(-f)$$ Now we know while Dirichlet conditions are not satisfied for unit step function $u(t)$, so its CTFT ana...