instruction
stringlengths
31
27k
Lets say I have a system that is trying to find a small image (assume all images are grayscale) within in an image by using correlation. So this system has the baseline image, and I input 5 different images (the five input images are bigger or have more data points than the baseline image) and do correlation of my base...
In my stereo-rectified camera pair (not physical, but two positions of the same camera), when I project some 3D points in both images to find a rough disparity range, I often get a range that goes from negative to positive (e.g. -11, 24). I have no problem with ranges like (-22, -10) or (10, 15). Is that kind of range ...
I got an error: Error using - Matrix dimensions must agree. Error in check dists = sqrt((cols - centroidX ).^2 + (rows - centroidY).^2); How do I resolve that error?
I'm currently thinking about the design of a low-cost digital reverb guitar pedal, using a Teensy or Arduino. My goal is to achieve big 10-seconds long reverb. If I implement reverb with a mix of many delay lines, this will require to store in RAM at least 10*44100*2bytes ~ 0.8 MB of audio data (44.1Khz, 16bits, mono),...
Referring to this topic, I am interested in a deconvolution using Python. However, unlike the linked topic above, I want to deconvolve a 2D image. The scipy.signal.deconvolve function unfortunately does not support 2D deconvolution. This amounts to solving the following equation for f, when h is observed, n is the add...
I am struggling with a problem, and would be happy if you could assist me. I put an accelerometer sensor inside a spherical enclosure, and release it to the water. While it was translating in the flow, I recognized that the enclosure was also wobbling (like a kicked pendulum), which I think that it is likely caused by ...
I have a question: What is the difference between $ I \cos(t) - Q \sin(t) $ and $ I \cos(t) + Q \sin(t) $ except that they are phase shifted 90 degrees ? On the internet I can find both modulators with adding quadrature data and substracting quadrature data. http://www.ni.com/tutorial/4805/en/ at the end http:...
Lets say. I have an image of 100 samples, and I want to find the presence of smaller image of 24 sample using cross-correlation in the fourier domain. I use Bartlett's and Welch's method for PSD, where I split up the original 100 samples into 4 segments of 25 samples. Now I want to find the maximum or peak response, D...
I move a device by sending a sine wave proportional to the displacement. I would like to modify the amplitude and mean value dynamically. For example at the beginning I would like to go from : Signal(t) = 1 * sin(t) + 1 to: Signal(t) = 0.95 *sin(t) + 0.95 My issue is that I don't know how to do that without having a...
a triangular (bartlett) window has a kink (discontinuity in first derivative). thinking in the continuous (not discrete) case, my intuition is that the fourier transform of any window with a kink must asymptote to a non-zero value (rather than exponentially decay), since it should take infinitely high frequencies to b...
A taper function decaying to zero at ends such as a cosine window is routinely applied to the signal before bandpass filtering to reduce end effects. Obviously the window alters the waveform. So, as for the filtered waveform, how is it reliable near the beginning and end? how does the the decay ratio of the window (e...
I have a pre-designed in-series 14th-order IIR filter in second-order sections. Problem is, when I simulate and measure the behavior in my codec, there is a frequency shift downward (as compared to the MATLAB prediction). Is there a simple way to alter the coefficients in such a way to shift the center frequencies of e...
My understanding of sampling frequency is when we have an analog signal x(t) we convert it to a digital signal. Assume the sampling frequency is denoted by $f_s$ then the sampling time $T_s$. In my understading this is denoted the number of samples per second. In MATLAB programs, I have come across generation of base b...
I have a signal (in blue) that I would like to smooth out (in red, moving average). I would like to get red peaks to look more round than triangular and at the same time their width would become closer to the original ones. Do you know / can you suggest a filter that would yield such result ? Background: The input is ...
I'm trying to programmatically plot a sound wave that I have placed in a 2d array, however, I cannot consistently get the sound wave to reach the end of the window. For example, when you load a sound in audacity, you get this: In contrast, when I load a sound into my program I will often get something like this (red i...
I want to estimate time delay between two complex narrow band signals. I can use any correlation method. There are several methods in the literature about sub-sample time delay estimation. Generally this subs-sample delay estimation is done through phase estimation. My question is: are these sub-sampling methods using ...
I was reading from Internet about FIR filter design using MATLAB, and I saw parameters like passband frequency, stopband frequency, passband attuenation, stopband attuenation, etc. What made me confused was the parameter sampling frequency. I don't understand the significance of sampling frequency with respect to a fil...
I understand the Fourier Transform which is a mathematical operation that lets you see the frequency content of a given signal. But now, in my comm. course, the professor introduced the Hilbert Transform. I understand that it is somewhat linked to the frequency content given the fact that the Hilbert Transform is multi...
I have speech data that I can represent using matlab plot. however, If i want to display it on log scale(like cooledit or Audition), I can take something like data = audioread(pth); for j=1:length(data) if data(j) >0 data(j) = 20*log10(data(j)); else data(j) = 20*log10(abs(data (j))); end...
I try to remove from an image all stripes with slope between 110° and 120° (Fig. 1a) and my first idea was to filter my image in the frequency domain. As far as I remembered, the spectrum of those stripes should occupy a pie segment between 20-30° (i.e. the original slope - 90°), but to be sure I prepared an artificial...
The context of the problem is that I have several robots located remotely which give their position (x,y coordinates) every x seconds and send it to a centralized remote server. The value of the seconds, x, depends on the update frequency of the robot, so it can be 60, 70, 80 or whatever seconds. In this server, I take...
I am trying to find the time lag between two time series over t = [0,1000] using MATLAB (not that it matters). The first time series is simply t^2. The second is (t-15)^2 which is, of course, shifted to the right 15 units (e.g., seconds). My approach has been to find the cross correlation (computed using FFT) and then ...
I appreciate this opportunity to submit a query on this forum. When studying the continuous-time & discrete-time distinction, specifically with reference to discrete signals being identical when separated by 2*pi, it has struck me that a basic premise, per google calc, doesn't hold: exp(2 * pi * sqrt(-1)) = 1 exp(4 *...
I am currently working on a simulation of a virtual scene. I calculate the IR of the direct path and the early reflections and want to convolute them with the input signal. My problem now is that implementing such a software for real-time purposes would exceed my time limit I got for my work. So I need a third party C+...
Right now I'm working on a signal processing project, I'm not quite to the point where I'm implementing the DSP algorithms yet (still working on the low level hardware) although I'd like to get an idea of what I can do. I'd say the goal at best is to be able to distinguish between the two vocal types in this song. Bas...
In Z-Transform, For a real signal, $x(n)$ =$x^*(n)$ . Taking Z-transform on both sides, $X(z)$=$X^*(z^*)$ , which gives certain pole/zero condition similarly for a purely imaginary signal , $x(n)$ =$-x^*(n)$ , if we take Z-Transform on both sides , $X(z)$=$-X^*(z^*)$ which gives similar pole/zero condi...
I am working on a project where I need to implement road edge detection. This research paper suits my requirement in the best way, so I am studying it: http://imagine.enpc.fr/publications/papers/TIP10a.pdf But I cannot understand the Gabor Filter equation they have used and also the set of parameter values they have u...
Please refer to the paper Splitting the Unit Delay - Tools for fractional delay filter design by Laakso, Valimaki et.al. I am not able to visualize how the fractional delay is obtained by resampling the shifted version of the impulse response of the ideal filter as described in the following para. When the desired del...
I mean not the time-domain signal being periodic, but the Fourier transform being periodic.
Suppose we have measured the frequency response of a system that is known to be all-pole; measuring impulse response is not possible. What are the methods available, if any, to estimate the coefficients of the underlying IIR filter? EDIT: Frequency response exists only as measured data, so closed mathematical expressio...
PDF is here I have read this PDF. But i don't know what the Invariance means in page 3 and 5. Calculation/estimation of κ is NOT invariant and Invariant to viewpoint. What's the meaning of these sayings? When i read "Invariant to viewpoint", i think it means the k value is same when rotation and translation. But after ...
Can someone help me understand how did we get from the second line to the third one? $$\begin{align} u(t-1)*u(t) &= \int_{-\infty}^{\infty}u(\tau-1)u(t-\tau)d\tau \\ &=\int_{1}^{t}u(t-\tau)d\tau \\ &=(t-1)u(t-1) \end{align}$$
When applying Gaussian filters close to the borders of an image, algorithms usually zero-pad or replicate/mirror/wrap the borders. This is not good enough for my case, so I wonder if there is something better out there. As the idea of smoothing is to absorb the information of surrounding points, I wonder if it would ...
From what little I've been able to gather, the complex envelope preserves all information required for the reconstruction of the original signal and that it basically sends a low pass version of a bandpass signal.(Correct me if I'm wrong).I need an explanation for how the complex envelope is being created as per this ...
Higher-order generalized cosine windows define a useful parametric family of windows functions, embedding Hamming, Hann, Blackman, Nutall, etc.: $$w(n) = \sum_{k = 0}^{K} a_k\; \cos\left( \frac{2 \pi k n}{N} \right)$$ Are there non-separable 2D similar forms, i.e. not a tensor product of the 1D form, usable on the stan...
We recently performed a work on signal filtering/component separation (sparse signal/trend/noise). The cost function contains: A quadratic data fidelity term, Some smoothed $\ell_1$ terms for sparsity and positivity promotion. This was initially designed for Gaussian noise, and performed satisfactorily. Reviewers ask...
I have read the paper "Shape similarity retrieval under affine transforms", and use c++ to implement it.The step as follow; Calculate the first and second Gaussian Derivatives Convolving each coordinate of the curve with a Gaussian function,and calculate the first and second Derivatives of x,y Compute curvature ...
I need to do FFT on an audio file(to be exact it is a real number array of audio samples). But the output of FFT should be complex numbers. I have a hard time understanding how to convert this. For example: input is int input[N], and what to do next to get the output.re[] and output.imp[]? Should I treat input as a com...
I am studying H264 video these days. I know video encoder will do frame reorder for GOP with B pictures.I am not sure if my understand is correct! GOP input to encoder (it's raw data but I just map it as GOP for better understand). I(1) B(2) B(3) P(4) B(5) B(6) P(7) B(8) B(9) P(10) B(11) B(12) I(13) GOP output from ...
I want to be able to measure an object using the camera on my phone. How would I go about getting an objects width and height from a video? My first thought was some type of 3D tracking of the video. But that's complicated and I would like to make sure i'm on the right track. Basically, what would be the easiest way to...
[Nota: I have validated the only answer so far, yet more explicit versions are still welcome] The following question is detailed in 1D, with time as the ordinal variable. Similar questions could apply in other dimensions. In several signal processing techniques, such as blind source separation (BSS), filter banks, or d...
My starting point in what follows is a radially symmetric random field. Taking the Fourier transform of this (and plotting it in logarithm to highlight the patterns), I obtain the following image in Fourier space: As you can see, there is a radially symmetric part of concentric circles, superimposed with a cross-patte...
Okay, so in Logic Pro I can load up a Space Designer plugin (convolution reverb) with an impulse that's 9.1 seconds long, turn my mic on, and get real-time convolution reverb as the mic records incoming audio. My question is: How could this be possible? My I/O buffer size is 32 samples. Is my computer capable of perfor...
I have been reading several really good answers about how to obtain camera pose (rotation, translation, etc), such as this one and this one, but I am not sure how this applies to my problem. My problem: I have two images of a planar scene (terrain image from above), and I want find the motion that the camera has exper...
Okay, so I am trying to address a biological problem here. I have asked a variant of this question here, but I was not able to get to solving it. The question: Four objects are vibrating constantly with some variable frequency and amplitude. I have the X-Y coordinates of the objects w.r.t time. Now, I want to find if ...
This question is about 1-d signals. I have an array of size X with the signal on which I preform Fourier transformation using FFTW. Is there a way to use the frequency domain data from this transformation to get an array of size X * 2 that contains the time-domain signal resampled to twice the original sampling frequen...
I need the calibration matrix of my simulated camera, I am trying to fully comprehend and follow the steps from Step by Step Camera Pose Estimation for Visual Tracking and Planar Markers as well as Estimating Plane Pose Without Knowledge of Intrinsic Camera Parameters, but I still don't "get it". Ultimately, I want to ...
I have discrete signals whose values are between 0 and 1. I wish to post-process such a signal such that the mean of its values equals 0.5, yet keeping maximum and minimum values 0/1 intact. Intuitively, I think an 'element-wise' exponential would be the right approach, yet I can't seem to come up with the method to de...
I am searching for global purpose Dataset to test some image registration algorithm.. May you please give advice? I am looking for color or gray-scale dataset. I prefer it not to be medical or binirized. thanks EDIT: I found this dataset: http://www.robots.ox.ac.uk/~vgg/data/data-aff.html it seems good but it contains ...
If the probability of bit error for a square M-ary QAM is $P_M = (1-(1-P_\sqrt{M})^2)$ where $P_\sqrt{M} = 2(1-\frac{1}{\sqrt{M}})Q(\sqrt{\frac{3E_s}{(M-1)N_0}})$ and $E_s$ is the average symbol energy, can I assume that $E_s=10A^2$?. $2A$ is the minimum distance between two adjacent symbols.
Let's say I a perform convolution of an image with a Gaussian kernel of some size. Is it possible to produce the exact same result from a downscaled version of the image? If so, what's its minimal size? I'm not looking for an exact answer, some directions where I should start looking are enough. (I have some basic DSP ...
Suppose I have the following image. I want to extend/expand the grey background behind the model. The extension should only be upward and sideward. I don't want to extend downward because it will be ugly. The purpose is to make the image into size (w, h) where w is greater than or equal to current image width and h is...
An essential matrix relates corresponding points between two images assuming that a camera satisfies the pinhole camera model, and can be expressed as: $$E=K'^TFK$$ where K is the calibration and F is the fundamental matrix. There are many tools to compute the essential matrix, one of them using OpenCV's function findE...
I'm trying to understand impulse and unit step responses, but I'm not sure if my understanding is correct. In general, are the following statements true: a) The impulse response for a system $x(t) \mapsto y(t)$ is $y(t)$ when $x(t) = \delta(t)$ where $\delta$ is the Dirac delta, and b) The unit step response for a syst...
As can be seen from the figure below, I have plotted a signal before it is pulse shaped and after performing half sine pulse shaping using the formula $p(t) = \sin(\pi t/2T_c),\ 0<t<2T_c$ $p(t) = 0, {\rm otherwise}$ Now I am confused about how to interpret the signal after pulse shaping. For example, between 0 and 0....
I have three data sets from same source. I know they are interdependent and stochastic also. The datasets are of very high frequency (see the graph, X axis is time and Y axis is value). I want to represent these three signals in a single mathematical function. Is it possible? In the above graph, please see there is a...
I wish to determine the frequency, amplitude and phase of a sine wave with some noise and I can only have a fixed number of samples. Should I go for many cycles and a small sample rate or a few cycles and a large sample rate? I know that if I choose to use a DFT to determine the frequency then the spectral resolution w...
I have been using Fourier Transform Power Spectrum for estimating the dominant direction in some images. However, I am now working on extremely small images of size 8X8 pixel and I have found that even at this level there is some result regarding the dominant orientation of the image. As the image size is 8X8, the tot...
So, my understanding of stereovision is that you essentially have two cameras. Then, offline, you perform camera calibration with checkerboards to get intrinsic camera properties as well as the geometric transformation between cameras. Then, you can take a stereo pair of images, find the disparity map, and using some g...
I was told that this question is too broad. Maybe I don't understand what this forum is about. My question is basically the same. I am looking for references to range Doppler algorithms so I can learn how they work. I said monostatic radar because it is probably the most basic radar system. If someone can help, fine. E...
I am trying to implement MFCC by following this and I found that there is a step in which signals are divided into frames and then passed on to Hamming windowing process. The reason given there is to correct the discontinuity at the start and last samples of the frame. OK that sounds good, then the output of the window...
As far as I know, Image alignment just finds the best fit given two images of the same scene. Whereas Image rectification, with regards to stereo vision, warps the images so that the epipolar lines are all on the same level. Essentially all common pixels between the two images are warped to be on the same y axis. My qu...
It differs from human tracking in random environment in that detail that we have fixed environment. And players move pretty fast and it is important to resolve collisions and occlusions, keep track of right person. So please tell me what you think about this problem. Or what paper can be used to implement state-of-the-...
I greatly appreciate the opportunity afforded by this forum to submit a query. It has been suggested that for a sinusoidal input, represented as 2 phasors, into a Linear Shift-invariant system, the output... ...can also be written as follows: where $$H(\Omega) = \int_{-\infty}^{\infty} h(\lambda) e^{-j\Omega\lambda} ...
I am not specialist in DSP,I am dealing with geophysical time-series(electromagenteic sources).After converting to frequency domain,my friend is trying to filter with FIR(45-65Hz) to get rid of AC noise(50Hz).The questionis about the harmonics,how will FIR filtering influence harmonics?
I generated a time history of 200 points using the equation $$x(t) = A\cos(2\pi f t)+ B\sin(2\pi f t) $$ with $A = 1$, $B = 0.1$ and $f = 17.2 \mathrm{Hz}$ and a sample rate of 400 samples per second. The numerical Fourier transform of the time history has a modulus plot of: The question is how to get the frequency, ...
When sampling a signal, it is standard practice to use a sampling rate that is greater than two times the bandwidth of the signal in order to avoid aliasing. The result is then low-pass filtered (and sometimes upsampled prior to this) in order to get rid of the harmonics. Unfortunately, in control systems applications ...
So we're doing a project where we've decided on QAM-n modulation. I've read up a little bit on synchronization and found Barker sequences, which supposedly has nice autocorrelation properties which makes them good for synchronization. So one option is to use BPSK modulation only in the synchronization phase and then mo...
I run bandpass filtering via the butter() in matlab to apply butterworth bandpass filtering to find out the signals are centered at zero after the filter. Would this always happen for any kind of low/high-pass filtering and why?
This question pertains to frequency domain filtering. I'd like to multiply an IIR filter's frequency response by a buffer of samples that have been FFT'd. I get how I'd evaluate an FIR, I'd FFT and zero-pad it (is this assumption correct?). For an IIR would I just evaluate the impulse response of the IIR for a sequenc...
Some implementations of MFCC apply sinusoidal liftering as the final step in calculations of MFCC. It is claimed that speech recognition can be significantly improved. For instance, if $\text{MFCC}_i$ is a cepstral coefficient, and $w$ is a lifter, then $$\widehat{\text{MFCC}_i}=w_i\text{MFCC}_i$$ is a liftered cepstra...
We usually talk about "spectral analysis" but some resources (this paper or this doc) talk about "spectral line analysis". Does this make sense to you, i.e. are the 2 fields actually different or the 2 names refer to the same thing?
Any function $f \in PW_{\pi}$ (where $PW_{\pi}$ is the Paley-Wiener space), can be expanded in terms of the orthonormal basis $\{e^{i n x}\}_{n\in \mathbb Z}$ as $$\hat{f}(x)=\sum_{n\in \mathbb Z}\left\langle\hat{f},e^{i n x}\right\rangle_{L^2(-\pi,\pi)} e^{i n x}$$ where $\langle g, h\rangle_{L^2(-\pi,\pi)}=\frac{1}{2...
How can I perform the inverse z-transform on the following $H(z)$ to be able to calculate a real-valued impulse response $h[n]$? $$ H(z)=\frac{z^2}{z^2+0.8\sqrt{2}z+0.64} $$ My idea was to find an inverse z-transform on my list of transformations, which basically does what I want with a similar transfer function (nothi...
I have a PPG signal sampled at 50Hz and I want to filter the signal using Lynn's integer filter. I.e \begin{equation} H(z)=\frac{(1-1/z^m)^2}{(1-1/z)^2} \end{equation} Cutoff frequency is 5Hz, so this gives value of $m \approx 3 $ (it's a 3db cutoff) and hence the difference equation is \begin{equation} y[n]-2y[n-1...
I am not sure if this is the right stackexchange community for this question, but here goes. I am generating a Gaussian Random Field (GRF) of a pre-defined power spectrum. In the image below, the input power spectrum is shown (in each panel) as the solid, smooth red line. As a sanity check, I get the power spectrum of...
I am learning about control theory. Let's consider this system. $$ m a(t) + b v(t) + k x(t) = f(t) $$ $a$ is acceleration $v$ is velocity $x$ is displacement $f$ is external force In my textbook, in chapter about "state space model" , two state variables ($x$ and $v$) are necessary to completely describe this syst...
Lets say I receive the signal $$x(t)\cos(\omega_c t)$$ and I want to change the the carrier frequency $x(t)\cos(1.001\omega_c t)$ How can this be done? If I modulated it with a complex exponential, increasing or decreasing the modulation frequency would have been simple, however I could not figure out a simple way of d...
For increasing the image size from 8X8 to 32X32, I tried to do zero padding. The simplest concept of zero padding in Java for me seems to be the code as shown below in Java such that I can shift each point by 4 points while rescaling. for (int i = 0; i < imageWidth; i += 4) for (int j = 0; j < imageHeight; j +...
Let's say you have a system with 1 transmitter and 5 receivers. We'll use the MUSIC algorithm to determine DOA of incoming signals. If we have 1 signal (at 0° for example), it's easy to calculate RMSE vs SNR. Simply take the peak of the MUSIC spectrum (an angle) and find the difference between the actual target angle. ...
My initial image is a medical image and my main objective is finding directionality. The original size of my image was 8X8 and I have rescaled the image to 32X32 to increase my accuracy. My input image is Fourier Transform Power Spectrum and my main objective is finding directionality. I want to window my image of size...
I am not from an EE background, so I am looking for answers to some open-ended questions. I want to calculate how fast water is flowing during a flood. With or maybe even without debris in it. I have footage video from which I can extract sec by sec images of changing landscape. It can be considered analogous to a car ...
I was provided a report where the amplitudes of spectral harmonics have been extracted from several audio files. The amplitudes have been extracted using Audacity's spectrum visualizer, where the spectrum is provided in dB. I want to compute the ratio between the amplitude of the fundamental and the amplitude of each h...
I do Fourier Transform for an image, then consider line(slice) in FFT image. When that slice isn't parallel neither x- not y-axis, coordinates are not integer. E.g. slice can hold indices {(0,0), (0.25,1), (0.5,2), (0.75,3), (1,4)...}. When using nearest-interpolation, quality of whatever I do is pure. What techniques ...
The wireless encrypted communication works as sending the message signal (sinosoidal) along with 2 dummy signals(sinosoidal) of same frequencies same phase but different amplitudes(assume no interference among 3 signals), it is known that the message signal has highest amplitude as compared to other 2 signals. Now we h...
Perhaps a meta-question, but I'll post it here because some of you are bound to possess gold nuggets about continuing education. It might be closed for being subjective but I don't care because this community is small and this could be valuable info for visitors. Aside from reading DSP.StackExchange questions and answe...
This is a simple image classification problem. I want to categorize jigsaw puzzle images to difficulty levels (e.g, easy, medium, hard). I want to develop an simple algorithm for this classification, which is based on factors like large solid colored areas, repeating patterns on the image (more details). Such classific...
I've been looking at every tutorial and paper I can find, but I keep losing the intuition behind what's going on when they get into the matrix operations. There is a step in which the signal vector is multiplied by its hermitian transpose and the correlation matrix of the product is computed. What do both of these step...
I have been working on a practical implementation in Matlab of the algorithm Raanan Fattal suggested in the following paper. I couldn't understand the meaning of eq. 11 on page 5: \begin{equation}\begin{array}{llllll} U^{(i, j)}=g_{\sigma_{d}} * e^{\left(\left|D^{(i, j)}\right|-C^{(i, j)}\right)}.&&&&&(11) \end{array}\...
I know the power signal and energy signal's equation. $$ P=\displaystyle\lim_{T\to\infty}\frac{1}{T}\int_{-T/2}^{T/2}|x(t)|^2dt $$ $$ E=\displaystyle\lim_{T\to\infty}\int_{-T/2}^{T/2}|x(t)|^2dt $$ I am wondering whether $(x(t))^2$, instead of $|x(t)|^2$, is fine or not. I think $(x(t))^2$ and $|x(t)|^2$ are same, aren'...
I am using a Chirp-Z transform (aka. czt) to analyze a short length sample of a sinusoid. In scilab the code that I use to generate the signal is: sampleRate = 4000000 points = 2^8 t = (0:(points-1))/sampleRate y1 = sin(2*%pi*t*510000) When I take the transform I get: I expected to see only one non-zero magnitude sam...
High-pass filtering is often used in neuroimaging data analysis. Commonly, whenever a general linear model is fitted to the data (as for instance in statistic parametric mapping) a number of columns of the design matrix are assigned to discrete cosines (DC). See the figure below for a graphical example. I am curious w...
I've just finished covering convolutions in my signals class, and I've been playing around with the conv function in MATLAB, but there's something I don't quite understand. Say I have two discrete signals, $a$ and $b$ sampled at $dt$. As $dt \rightarrow 0$, the amplitude of the result increases. Since the convolution i...
According to L. Eyer et al. (1999), the correct Nyquist frequency of irregularly sampled data is $$ \frac{1}{2p} $$ Where $p$ is the largest value such that: $$ \forall t_i,t_i = t_1 + n_ip \\ \text{where}~n_i \in \mathbb{N} $$ However, the paper gives no information on how to calculate $n_i$, other than stating that:...
I have created a Octave code for MFCC calculation for speech recognition, which takes a wav file as input and then gives the MFCC as the output. But the final results are a bit confusing, so I am unable to verify if they are correct or not. My process:- Read the file, extract the samples, frequency. Perform pre-emphas...
If I have a signal represented by a Fourier series(like in the photo), which is sampled with $T_s$: $$x[n]=x(t=nT_s) = \sum_{m=-\infty}^{\infty}a[m]e^{j2\pi m(nT_s)/T_0} $$ How do I find its DFT? I can't understand that. Sorry for the English mistakes.
I've got the frequency response $H(e^{j\omega}) = \frac{2 + 3.125e^{-2j\omega}}{1-0.9e^{-j\omega}+0.81e^{-2j\omega}}$, and I'm trying to figure out how to plot the magnitude response and the phase response in Matlab. Is there a simple way to do this? Thank you in advance. This is my first post here, so please tell me i...
Matlab and Simulink Communications Toolbox digital demodulators are defined to only work on the complex envelope representation of a baseband signal. To obtain the time-domain representation of this signal, I believe one takes the real part of the complex envelope. Given just this real part, how does one convert the t...
I am making a project where I can identify leaves by taking a picture of them and a database. I will use their widths to determine their shape. So, I worked across the stem of the leaf each width and plotted them onto the following graphs. The data of my graphs are located at: https://docs.google.com/spreadsheets/d/1H...
I am trying to find the minimum-phase system of the transfer function $H(z) = \frac{2 + 3.125z^{-2}}{1-0.9z^{-1}+0.81z^{-2}}$. I know I need to find and remove the allpass (basically reflect the two zeroes on the imaginary axis inside the unit circle?), and I've gotten so far as this: $H(z) = 2\frac{1 + \frac{3.125}{2...