instruction
stringlengths
31
27k
I am implementing a FMCW radar using bladerf sdr: When reading the output from the vector sinks, the outputs are not synchronised.How should I synchronise them? is it possible to do so using gnuradio only or should I write some HDL code? EDIT rx signal: tx signal: The object distance is only few meters. The x scale ...
I want to design a band pass Chebyshev Type II filter using analog prototyping. The order of filter is 20 with a value of 60 dB stop band attenuation and 0.75 dB pass band ripple where, Pass band edge = 800 Hz Stop band edge = 2000 Hz Sampling frequency = 6000 My Matlab code is below clc; close all; clear all; Rp = ...
I have a continuous system described as: $$y(t)=2x(t)+0.5x(t-2)+0.25x(t+2)$$ and I'm trying to understand why the system is stable. I know that a system is unstable when you provide an input and as a result the output is not bounded. So, when I looked at the system I set $t=\infty$ and assumed that the output goes to i...
I've been learning about the (Fast) Fourier Transform and it's uses. Using the formula: $$FFT(concatenate(IFFT(signal), 0^\text{increase}))$$ I was able to go from this signal: to this: by settings $increase = 10000$ - introducing 10,000 samples. Is this a good, general way to do upscaling? Is this how it's done in p...
I am solving one of the question from signal processing about calculating the 3dB bandwidth of the filter. But I am stuck once I got the magnitude response of the filter. Can someone help me with this? Thanks
Is there a simple way to generate a skew-normal shape? Shouldn't be perfect, I just need a rough approximation of it to test peak-detection algorithms. I tried generating the signal according to the continuous formula: y = 2 * gaussian(x) * cumulativeGaussian(skewness * x) But the problem is (I think) - we can't imple...
Generated a 1kHz square wave in Audacity and normalized it to 0dB (fs = 44100Hz): Added a 24dB/oct high pass filter (std Audacity plug-in), cutoff frequency set to 100Hz. Result: Zoomed version: Why "clipping" so badly? EDIT: When normalized to -3dB before filtering there's no "clipping" present. Filtering same sign...
I've been working with even length audio for a while, so I've had no problem finding the Nyquist frequency in the FFT spectrum, as it's shape is: $$(\text{dc_component}, f_1, f_2, ..., f_{N/2-1}, f_\text{NYQUIS}, -f_{N/2-1}, -f_{N/2-1}, ..., -f_1)$$ However, an odd number of elements doesn't fit this. What's the layout...
I've received my transmitted signal that I sampled it on 20480000 frequency , transmitted frequency 868MHZ , bitrate 100KHZ , I see the "bits" that Im transmitting in my plot in matlab it looks like: so what Im now going to do is doing LPF in the cutoff frequency = bit rate and that's in order to be able to do zero cr...
I have converted a gray-scale image to binary using im2bw() now i wanna do the opposite. How can I do that in MATLAB?
I have a .wav file of a piano being played at 220 hertz. When I tone this up to 880 hertz, it begins to sound "stringy". However, if I were to use the piano plugin in fl studio and play it at 880 hertz, the piano would still sound normal. My question is why a piano starts sounding stringy at higher frequencies(although...
On page 2 of the slide, I don't understand the example. Like $j$ and $s$ are both on the x-axis, what does j+s mean? The filter is $(f(−1), f(0), f(1)) = (−0.5, 0, 0.5)$. How can we use it? Could anyone explain how we get $r(j)$ with numbers?
The triangular function is defined as follows: $h_l(x) = \begin{cases}1-|x|,&|x|<1;\\0&\text{otherwise}.\end{cases}$ According to ccrma.stanford.edu: "If the output of the interpolator is also sampled, this can be modeled by sampling the continuous-time interpolation result, thereby aliasing the $\text{sinc}^2$ frequen...
What is the proper formula for converting ordinary frequency to normalized edge frequency in matlab for use in filter design commands like cheby2 etc The wikipedia page shows three different formulas for normalized frequency,i higlighted all those in attached snapshot And Matlab magnitude plot has written (x pi rad/sa...
On page 22 of the slide, the 1D array is [1, 1, 1, 1, 1], but the dots are uneven. Then why their values are the same? What's the value of the point that the arrow is pointing at? Though it gives Moving average in 1D: [1, 1, 1, 1, 1]/5, what exactly is that value?
I've been scanning all of the FFTW documentation, trying to figure out how to inverse FFT my FFT spectrum. The documentation only mentions how to inverse FFT real-to-complex transformations, using the opposite c2r transform. There are no FFTW_INVERSE flags anywhere but I suspect that the FFTW_FORWARD/BACKWARD transform...
I'm trying to write my own high quality audio sample rate converter. I barely know anything about signal processing though so I need help. From what I understand I need to sum together normalized sinc functions that touch every sample to find the value at any arbitrary point. I'm guessing this is hard because that woul...
Now, I am working on OFDM equalization, according to what I understood, Adding CP into the OFDM block change the convolution from linear to circular. That circular convolution enables using point-wise equalizer or one tap equalizer such that ZF or MMSE equalizer. ZP-OFDM is a different scheme, where the CP is replaced ...
So, I`m currently working on program for computing spectrogram in real-time, using signal from a microphone. And now I want to add "scaling" feature, that allows to look at the spectrum more closely without losing frequency resolution (example was created using simple DFT) : This feature could be easily done using DFT...
The samples of a signal $x[n]$ are i.i.d. and follow a triangular pdf with $a = 0,\ b = 2,\ c = 1$: The DC-power of the signal is $$\mu_x^2 = \big(\mathbb{E}(X)\big)^2 = \left(\int_{-\infty}^{\infty} x f_x(x)dx\right)^2 = 1$$ the total power of the signal $$\mathbb{E}(X^2) = \int_{-\infty}^{\infty} x^2 f_x(x)dx = \fra...
I am reading Proakis book "DSP using Matlab", 3rd edition. I am reading chapter 8, section 8.3, p. 402, and I am confused regarding the equation of poles (roots of denominator of system function) eq 8.47. How this equation has been derived from eq 8.46 especially highlighted line how the right most side of eq 8.47 $Ω_c...
Im transmitting by cc1350 launchpad microprocessor digital RF Packets, transmitted modulation FSK. bit rate of transmitting is 50Kbouad, frequency of transmitting is 868MHZ . Im sampling the signal(RF PACKETS) that Im transmitting by a dongle SDR-RTL and it samples on frequency 2048000Hz , I want to decode the RF pack...
I am using matlab wavelet toolbox to denoise physiological signals, I am plotting the denoised signal on top of the original noisy signal and making sure spikes were not removed as a measure of effectiveness as well as plotting the FFT of the two signals (original and denoised). Is this a correct way to check my result...
I had to make a bunch of band limited digital triangle waves recently, so I went to (where else) wikipedia for the equations. I noticed that there is a constant amplitude scalar of 8/pi^2 (~.8106). And indeed this does bring the amplitude range down to about +/-1. The wikipedia article doesn't explain the theoretical r...
The question: Consider transmitting the results of $1000$ flips of an unfair coin where the probability of heads is given by $p_H$. The information contained in an unfair coin flip can be computed: $p_H\log_{2}(1/p_H)+(1−p_H)\log_{2}(1/(1−p_H))$ For $pH=0.999$, this entropy evaluates to $.0114.$ Can you think of a way ...
The system consists of multiple low-pass filter and noise, $h_1$, $h_2$, $h_3$, ..., $n_1$, $n_2$, $n_3$, ... At the transmitter, the power of signal is fixed; and at the receiver, MMSE equalizer is used to minimize the MSE. My question is that if we can pre-emphasis the signal in the transmitter to improve the overall...
I was trying to understand the 2d dft(discrete Fourier transform) and discrete spatial Fourier transform (dsft) of images. But while understanding the graph i didn't understand that how come ($\pi,\pi$) is high frequency component and not ($2\pi,2\pi$) is the highest frequency component.
Trying to solve the following problem about bandpass signal sampling. I have a signal whose Fourier transform is such that $X(w)= 0$ if $w>w_h$ or $w<w_l$. The reconstruction is done using a bandpass filter rather than a lowpass and asks me for the minimum sampling frequency $w_s$ given that $w_l > w_h - w_l$. I follow...
I am solving the following problem as an exercise. I have a signal $$z(t) = x(t)\cos(wt) + y(t)\cos(ut)$$ and we assume $x,y$ to be band-limited continuous time signals. In the frequency domain we have that both signals are $0$ if the frequency $\omega \geq \omega_{max}$. We try to reconstruct $x$ by passing $r$ throug...
When we have say Delta at time $t_0$ on continuous time: $\delta(t-t_0)$. If we want to move it $t_0/2$, can we scale the time and squeeze by 2 instead of shifting? How does scaling in time of a shifted function look like? Is it $f(a(t-t_0))$ or $f(at-t_0)$?
I am trying to understand the basic categories of DSP filters, and it seems that the two main groups are FIR and IIR, however I'm not sure how to categorize high pass, low pass, band pass, and band stop (the 4 basic filters I learned about in university) and I can't find material on this either even though it seems so ...
The rayleigh channel is a single tap. 1. h=1/sqrt(2)*randn(1,length(txSig_cp))+1i*randn(1,length(txSig_cp)); fading=h.*txSig_cp; 2. h=1/sqrt(2)*(randn(1,1)+1i*randn(1,1)); fading=conv(h,txSig_cp); Which one is correct? or both also wrong. Because I have obtained different results when compared t...
I am trying to understand how to interpret a spectrogram image plot: (1) what does the yellow band and its corresponding color code with a high positive value indicate? There are so many yellow bands in comparison to blue. The legend shows that the yellow bands have higher positive values, so is that higher frequency? ...
Suppose, I've a 3d world point $P$ and I want to project it onto the image plane of camera, I can do it as follows $$M = \begin{bmatrix} R & t \\ 0 & 1 \\ \end{bmatrix}$$ $$p = K \cdot M \cdot P$$ where $K$ is the camera intrinsic matrix and $p$ gives my image point in homogeneous coordinates. Now, I want to do the sam...
In the literature, I see "corner detector" and "feature detector" are interchangeably used for these methods e.g. Harris, Shi-Tomasi, FAST, etc. What is the difference between a corner detector and a feature detector? Are corner detectors (Harris, Shi-Tomasi, etc.) one kind of feature detector?
Is there any possible periodic signal can exist(even mathematically) whose period gets change after differentiation?
I have signals belonging to diseased and healthy samples recorded from multiple electrodes. These signals are taken monthly and are of arbitrary length (say 4-5 mins). I am planning to do a power spectrum analysis (comparison between healthy and diseased). Now to do this two methods come to mind. Take the normalized p...
I have two EEG signals that are simultaneously recorded during the night (sleep). Imagine one device recorded from channel F4 and the other from Fp2. Now I would like to check the similarity of these signals, so, the first step is to sync them which has been done successfully using cross-correlation :) I can also repor...
The following sequence is given which is supposed to be time-variant: $$y[n] = \sum_{k=n_0}^n x[k]$$ I'm having difficulties proving the time-variance or finding a counterexample for it being time-invariant. My idea (which proves it being time-invariant?) is: \begin{align}y_1[n] &= T\{x_1[n]\}\\x_2[n] &= x_1[n-n_0]\end...
I have multiple time series coming from pings of phone applications in a specific area. I am suspecting that the signal is sometimes bigger and sometimes lower not because the actual signal is bigger but due to technical things (like more people downloaded the application, or the application optimized something in thei...
my friends and I have no idea whether to diagnose to have the specific output from the formula below: The question is that Assume we are given a specific input signal x[k]x[k]. Explain and justify whether or not there is a unique output y[k] satisfying this difference equation. Would somebody please answer this quest...
I need to improve my model of Convolutional Neural Network (CNN). The goal is to recognize facial expression. I've been using some strategies like dropout for regularization and Adam optimazer, but i can get a good accuracy. Therefore I'm trying to implement PCA. I use to filters for convolution, max pooling after each...
I have tried to make a function to implement Low pass filter using butter worth technique,and i have taken code from different places in article 8.3 of proakis book,"DSP Using Matlab 3rd Ed" I have made a single function combining all those code sections ,my function is running and give correct output [C,B,A] matrix as...
I am trying to perform convolution in MATLAB of an anechoic speech signal (2.1 s) and a impulse response (20 s) using the following code: [y_anech,fsSig]=audioread('MA03_03.wav'); %speech signal fsSig = 48000 [y_IR,fsIR]=audioread('IR.wav'); %reads the Impulse response, fsR = 44100 %%% Resampling the speech signal [...
How to do this entirely in the time-domain, without using frequency domain? Let's say I have a continuous-time system that is a differentiator, and X(t) is WSS: $$x(t) \rightarrow \boxed{\frac{d}{dt}} \rightarrow y(t)$$ I can change the differentiator operator into convolution as follows: $$X(t) \rightarrow \boxed{\fra...
Are there any advantages of undersampling or oversampling in signal processing point of view?
in my lecture notes about image sensors (CCD, precisely) I have read the following statement: The transfer function $F(\omega)$ of the image sensor is related to its spatial resolution function $F(\omega)$: for the pixel scanning time $t_p =1/f_v$ (the pixel spaced by W and $f_v$ = video frequency) the scanning speed ...
Let $$n(t) = Re\{z(t)e^{j2\pi f_ct}\},\ $$ where $z(t)$ is the low pass equivalent of white noise $n(t)$. We know the autocorrelation of $n(t)$ is $$R_n(\tau) = \frac{N_0}{2} \delta(\tau),\ $$ $\delta(\tau)$ being the Dirac delta function and the PSD is $S_n(f) = N_0/2$. From Proakis' Digital Communication book, I lear...
I cam across a question in my DSP book asking this: 1). Express $X_2(e^{j\omega})$ in terms of $X_1(e^j\omega)$ without explicitly computing $X_1(e^{j\omega})$. ($X_1(e^j\omega)$ represents the DTFT of $x_1[n]$) \begin{align} x_1[n] &= \left[1 \ 2 \ 2 \ 1\right]\\ x_2[n] &= \begin{cases} x_1[n] & 0 \leq n \leq 3\\ x_1[...
Setting: signal sampling rate 1000Hz, DFT 1s 1000 samples. This yields frequency resolution 1Hz. I know, this is the limit of meaningful frequency and when I want to read 0.5Hz then either sampling rate should be doubled or samples acquisition doubled. What bothers me is that when I compute DFT of 0.5Hz in given settin...
I know that if a system is asymptotically stable then after infinite time its output contains only characteristic of input signal and it is also known as steady state and there are no transient component left in output, and if system is asymptotically unstable then whatever will be input is its output will become inf...
I aquire typically 2D time traces which I process by a 2D Fourier transform. The aquisition is done line by line. First, I let the signal evolve for t1, then an action is performed that possibly changes its frequency and during t2 I sample the signal again in increments of dt: | <<<----->>> | -------> start ...
I have been trying to understand how the conversion from PDM to PCM happens so that I could interface with a microphone. I have been doing some research online and I found that the most common way to do this is to use an FIR filter and a decimator. I am having some trouble trying to determine the size of the FIR filt...
There is this method for to set 0dB gain to be at wanted frequency (fc) (Octave/Matlab example for biquad LPF): % needed for Octave ------------------------- pkg load signal % ------------------------------------------- clf; % calculate coefficients -------------------- fs = 44100; % sample rate fc = 700; %Hz fpi = pi...
I am new to this forum. I am just trying to understand how to calculate delay (in terms of samples) between two signals using cross-correlation function. I wrote a small Matlab code in order to understand this. But I am finding difficulty in understanding the results. clc; fm = 1000; //message signal fs = 10 * fm; ...
I have a very large input that I'm Fourier-transforming. Currently, I transform the entire signal and then downsample the result. Although the transform of the large input is expensive, my results maintain full accuracy - before downsampling. If I simply subsampled the signal being transformed, the frequencies would ob...
What is meant by "monotonic" in context of filter As shown in attached snapshot
I have sampled my transmitted signal, it's looks like sinusoidal , frequency sampling is =2048Khz, bitrate of transmittion=100Kbaud , and my problem is that I have designed in matlab my LPF filter which it's : d=designfilt('lowpassiir','FilterOrder',1,'PassbandFrequency',50e3,'SampleRate',fs); signalfiltered=filter(d,s...
I'm working on a project, where we're recording sound with a piezo-disc which looks a little something like this: Now, unless we're doing something horribly horribly wrong, I've discovered that we're only recording the magnitude of sound, since a piezo-disc emits a response to pressure, regardless of direction. This i...
In case of communication in MISO system, if we have a system of 4 x 1, which means 4 transmitter with 1 receiver. Will the received signal be a vector of dimension 4 x 1 ? Or it will be 1 x 1 since the transmitter are sending to the same receiver? Thank you
The magnitude of 2nd order low pass filter is given as $$|H(\omega)|^2= \frac{1}{(1-(\frac{\omega}{\omega_o})^2)^2+(\frac{2\zeta\omega}{\omega_o})^2}$$ Now in order to achieve maximally flat within pass band, we take the derivative of this equation and set it to zero to find the extremums. \begin{equation*} \frac{\...
I am working on OFDM over harsh channel, so the channel coding is an essential thing for achieving a reliable communication. According to my reading, LDPC is almost the best channel coding we can use for channel coding, but I have a question regarding that kind of coding. Assume we are using LDCP with rate $1/2$ which ...
I am trying to solve exercises from the book Understanding digital signal processing 3 Ed - Richard Lyons. I will repeat the question as it is in the book: 3.3 We want to calculate an N-point DFT from a one-second compact disc (CD) audio signal of duration $x(n)$, whose sample rate is $f_s = 44.1 \text{kHz}$, with a s...
I have 2 signals. One is $x(n)=(-0.5)^nu(n)$ and the other one is $y(n)=0.8^{n+2}u(n-1)$. I know that for the first one it is $X(z)= 1/(1+0.5z^{-1})$, but what about the other one? I know $y(n)$ is time shifted but i don't know how to find this z-transform. Any help would be appreciated!
There has been a number of posts here I've browsed through that explain implementations of normalized cross-correlation in Python. One such implementation that is frequently cited is found below. def normxcorr2(template, image, mode="full"): template = template - np.mean(template) image = image - np.mean(i...
Since DMRS is also being used as a reference signal in PUCCH and PUSCH channel, so why an extra SRS signalling is required.
I have seen number of approaches that have been introduced in the literature for spike detection including, amplitude thresholding method, Nonlinear Energy Operator method, and template matching method. However, If I am to use the amplitude thresholding method, how can I identify a suitable threshold value for my datas...
in which: $x_{c}(t)$ is a continuous-time signal $X(j\Omega)$ is the Fourier Transform of $x_{c}(t)$ $\Phi_{xx}(j\Omega)$ is the Power Spectrum Density of $x_{c}(t)$ which defined as Fourier Transform of auto-correlation of $x_{c}(t)$. in other words I want to know when it is said that a signal is band-limited which ...
It's very easy to make a filter in Scipy or many other tools, but implementing this filter in fixed point in C or VHDL/Verilog is always a chore. I mean, in theory it's just a matter of adequately rounding and scaling the coefficients and then scaling the result back down. In practice "adequately" is a big word. It see...
I understand that I would need to calculate inverse Discrete Time Fourier Transform (iDTFT) to find $h(n)$. Since $h(n)$ is real, iDTFT of the imaginary part of $H(e^{j\omega})$ gives the odd part of h(n) and iDTFT of the real part of $H(e^{j\omega})$ part would give the even part of $h(n)$ (Correct me if I am wrong ...
I am trying to implement the LDPC code for OFDM system, where I input data should be binary of length $1024$ and the output coded data of length $2048$ (means of rate 1/2). As known in Matlab integrated function, we build the encoder and decoder, respectively, as: ldpcEncoder = comm.LDPCEncoder; %Encoder ldpcDecoder ...
I am calculating the numerical Fourier transform of an exponential decay exp(-|t|) and compare it to the analytically calculated result, a Lorentzian. I find that the numerically calculated spectrum contains systematically larger amplitudes than the analytical one and that this deviation increases with frequency. I'm u...
I have 2 seperate files called: spectrogram and phases. Spectrogram contains magnitude information of audio and phases contain the phase information of each windowed area. I need to reconstruct the audio using these information yet i am completely lost. Can you put me into the right direction. How can i do this?
I couldn't find any solution for this that would work for me I'm working in python. I have two similar signals that I can plot Force x Angle. (problem simplified) One plot (angle x force) has length 10000 and the other 40000 (hypothesis/problem simplified). I would like to check for similarity in these two signals in r...
There are many techniques in signal processing that use eigen analysis (MUSIC, SVD, eigen decomposition, etc) that result in signal and noise subspaces.The mathematical definitions for signal subspaces are abundant, but what is the intuitive, tangible explanation of what a subspace is representing? More importantly, ho...
I have a question regarding an implementation of a modulator. I guess some people here have an FPGA background. I would like to implement a QPSK modulator of  31 Mbit bitrate using a 125 MHz clock. I plan to generate the bitrate clock using MSB with a 32 bit phase accumulator also what can be called an NCO. A 125 MHz c...
Since the process can be applied in either domain to increase the sampling rate in the other domain, I am trying to apply zero-padding in frequency space to recover a 'cleaner' interpolated signal in temporal space. To do so, I insert zero-valued frequencies in the spectrum at the location of higher frequencies, which ...
$$x(n) = \{ -1, 0, 1, 2, 1, 0, 1, 2, 1, 0, -1 \}$$ Let $X(\omega)$ be the DTFT of $x(n)$. I need to find the phase of $X (\omega)$ without computing $X(\omega)$. I notice that $x(n)$ can be a type I linear phase filter, but not sure if that is used in solving the problem.
I am reading the proakis book"DSP USING MATLAB 3rd Edition" In chap 7, article 7.3, i came across example 7.8,where i saw formulas for pass band ripple and stop band attenuation I have highlighted them in attached snapshot but i couldn't find out how they were calculated Please also include reference of these formulas ...
I am trying to learn digital filter design. One of the concept is quantization of filter coefficients. I used Designfilt to design an lowpass IIR filter and obtained coefficients. Now I want to quantise the filter coefficients to 10 bits. How can I do that. filterObj = designfilt('lowpassiir', 'PassbandFrequency', .45,...
For example, I'm given a sequence x(n) = { 3, 5, 1, 4, -3, 5, -2, -2, 4 } whose 9 point DFT is X[k]. Without computing IDFT, i need to find the sequence y(n) whose 9 point DFT is given by $Y[k] = (-1)^k ~ e^{j \frac{\pi}{3} k}$ . How do I approach this question?
I'm looking to compute an IDFT but my input is very sparse: Example: IDFT length: 7,408,800 (complex floats) Sparsity: 96.61% to 99.99% I found this Sparse FFT website but it looks like the library deals with sparse inputs to standard DFT - not IDFT - also it doesn't look like it is not for consumer use. Are there a...
Let $x[n] = A\delta[n] - \frac{\sin(\frac{3n}{2})}{\pi n}$. Determine constant $A$ such that for all $n$ $$x[n] = x[n] \star x[n] \tag{1}$$ I think it's not possible since $(1)$ leads to $$X(e^{j\omega}) = X(e^{j\omega})X(e^{j\omega})$$ And this means $X(e^{j\omega}) = 1$ or $X(e^{j\omega}) = 0$. Also $$X(e^{j\omega}) ...
I am trying to get a piano A4(440 Hz) sound from the MATLAB. I have looked at this link https://www.mathworks.com/help/signal/examples/generating-guitar-chords-using-the-karplus-strong-algorithm.html which uses the Karplus-Strong Algorithm to get a vibrating string effect. Then, an IIR filter to get a guitar sound. But...
Suppose I have an analog signal I want to transmit. After sampling and quantization, I can map the samples to bits. So now I have a bit stream that represents the original analog signal. My questions are Why do we choose to map bits to symbols before transmitting? And what exactly are these symbols? One can understan...
In most books, impulse response of LTI systems are calculated by assuming initial rest condition, but how to calculate response of an impulse input if there are some initial conditions present ? My approach - first calculate zero input response (only using initial conditions that are given) and then calculate zero sta...
In case of FIR filter design, is the following relation always applicable or there are other relations/formulas also? If window length is denoted by $M$ ,then filter order will be $M-1$
LoRa integrate data into symbols by selecting the starting frequency of an up chirp. The resulting up chirp traverses across BW and arrives at the same place it started. At the demodulator, this chirp is multiplied by a down chirp followed by the fft to extract the data bits. I tried to do this myself on paper but I ca...
Image pyramids are created by applying a lowpass filter (Gaussian) and then decimating the image (keeping only every n'th sample). In The Pyramid as a Structure for Efficient Computation the start image is 257x257. Then the next level is 129x129, 65x65 etc. Without decimation, one could get the same image size by apply...
I want to know what is the difference between white noise and WSS white noise. is there any difference between them or they're equal? and what about white Gaussian Noise?
I read in a book that the output of a decimate filter can be calculated at output sampling rate. In this way the number of filtering operations can be greatly reduced. But I am wondering how to implement that in practice. The built-in filter functions provided by Matlab and a lot of realtime DSP libraries are optimized...
I know that directly zero DFT bins outside a frequency band has the side effect of introducing ringing, as this post says Why is it a bad idea to filter by zeroing out FFT bins?. But what about calculating the power by summing the PSD in a frequency band. In my opinion, this is similar to first setting the out-band PSD...
I am using a camera and a Deep Neural Network to predict one angle. This network received as input the frame, and calculates the mean and the variance associated to the prediction (which is basically its uncertainty), so that the output of the systen consists of a normal distribution. I want to use this extra informati...
Recently, I am building an application in Octave and I saw some algorithms about speech recognition spread around the net, but most of them were implemented in Python, MATLAB, C++ and no one in Octave. I already came to test the MATLAB one in the Octave IDE but there are lots of packages that exists in MATLAB and there...
Reading about singular value decomposition (SVD) in the context of signal processing applications, one can separate the signal from the noise into orthogonal subspaces. On the surface this sounds like using the decomposed output of the SVD is more optimal than matched filter (or correlation) for detection, demodulation...
I have this concrete problem where I know the 3 coordinates of a triangle $ABC$ in a $xyz$ frame reference and I need to estimate the position $P$ and direction $\vec{n_{p}}$ of a stationary camera with known focal distance $f$. For this purpose I have the image from the camera where I know $H$, $W$ and the respective ...
Just briefly looking up some research papers on audio data and I have come across some papers that use STFT as a preprocessing step to using CNN. Why is this the case? What are the advantages and disadvantages of doing so? Some research papers that use STFT; https://arxiv.org/pdf/1712.02898.pdf https://www.ncbi.nlm.ni...
A square wave is a sum of sinusoids so surely it should be represented as individual discrete impulses in the frequency domain, where all other frequencies are 0. Why instead are those intermediate frequency components not 0, and form a continuous sinc shape? I know that the continuous fourier transform of $A\text{rect...
i am trying to build complete tx and rx path which can support varies data rates. for example if my data rate have to support from 10 kbps to 1000 kbps. Can i keep the baseband processing fixed for all the data rates same. what i mean is using a CIC filter in tx and rx which always results in processing 4 samples/symbo...
I have the following input-output relation for a system: $$y(t) = Odd Part Of [x(t)]$$ My question is: Is the system causal? What my approach has been: I expressed $y(t)$ alternatively as: $$y(t) = \frac{x(t) - x(-t)}{2}\tag{1}$$ Here, when I substitute $x(t)$ with the impulse function, I get the impulse response as $0...