instruction
stringlengths
31
27k
As part of my thesis,I want to write in Delphi the algorithm to calculate the reverberation time using interrupted noise method. Delphi, Signal processing and accoustics are new topics for me. Room is excited with a sound and the response is recorded as a wav file using the microphone of my mobile. Sampling rate of my...
I believe I am familiar with simulating $E_s/N_0$ by adding noise to the output of the matched filter, but what would be the correct way to simulate $E_s/N_0$ starting with the analog signal at the receive antenna and corresponding to a transmitted signal of the following form: $$x(t)=\sum_k x_kp(t-kT)$$ where $x_k$ ar...
I am trying to determine an estimate of the H1 transfer function between two acceleration signals in Python. To do this, I am calculating Pyx using scipy.signal.csd() and dividing it by Pxx calculated using scipy.signal.welch() I have used the same method in MATLAB, calculating Pyx using cpsd() and Pxx using pwelch() a...
I'm trying to implement a deep learning based dereverberation algorithm. The network I am using is inspired by the U-net. The idea is to supply the reverberated spectrogram as input and 'clean' it with the network, minimizing the MSE compared to the clean spectrogram. My problem, however, is the normalization of the sp...
In 1 they say that the energy of $\psi_\lambda(t)$ is concentrated in an interval of length $2\pi Q/\lambda$. I understand the inverse proportionality between the frequency band $\lambda/Q$ and the time support but I'm missing where that formula is coming from. I thought that the precise relation depends on the specifi...
What's the impact of a specific filter $\phi$ when building the wavelet scattering transform? I mean, if I compute the MFCC choosing different windows, (Hamming, Blackman, etc.), the behaviour concerning time-warping deformations changes. For instance, I got the best result (a pretty linear variation of the distance) w...
While simulating the SDFT ,rSDFT and Goertzel DFT i got phase responses to be different for SDFT and rSDFT. As Goertzel and rSDFT have are derived from same SDFT structure why there is so much difference in phase response values. Although warping phase gives same graph but i am interested in absolute values.
I am reading Introduction to Digital Filters by J.O Smith III, which is an amazing book. The part for which I have a question is quoted below. By virtue of Euler's relation and the linearity of the filter, setting the input to $ x(n) = e^{j\omega nT}$ is physically equivalent to putting $ \cos(\omega nT)$ into one cop...
I have a measured FRF by impact testing and I have computed the IRF by ifft(). Now I want to compute the inverse IRF. I have read many posts in this forum about inverting FIR filters. As far as I understood, I must check where are my poles and zeros to see if my inverted FIR filter will be causal and stable. My initial...
From my experience and work, I know that getting distance estimates just from accelerometer and gyroscope is an extremely difficult task, especially when you are swimming. I have also seen that even though an apple watch asks you to set pool length for indoor swimming, it is able to accurately show the distance I have ...
I am interested in the following area: Digital Communications and Signal Processing, especially used for VLSI design of communication systems. (Some sub-topics may be MIMO communications, channel estimation, coding, symbol timing/carrier recovery algorithms etc...) I would like know the leading journals and conferenc...
I am currently trying to develop a GNU Radio block which takes a tagged stream as an input. The tags keeps the length of the packets. But the distance between the tags and the packet length are not equal due to the burst type of data transmission. The block is planned to work like this: 1.It looks at the tags on the st...
Short background: I want to implement a lowpass butterworth filter in C/C++. The end goal is to use this in a low-latency Python program, for which of course scipy.signal exists, but I want to be able to change the cutoff frequency (smoothly) at each time step. Where I am right now: I found a really helpful article on...
I haven't seen this issue ever explicitly discussed. Briefly, reflections cannot be avoided in a quarter wave transformer due to the characteristic impedance not matching the source or the load. In the resting state, one a frequency has been applied for a certain period of the, the full matched power will always be bei...
I got a Transfer function problem and I am confused in finding a solid solution step. Below is the problem description: 1st and 2nd order discrete-time filters with different pole-zero locations shall be considered for below: Determine the transfer function and compute the orders M, N of the numerator and denominator,...
Is it possible to visualize signal in frequency domain for frequencies bigger than $f_s$? I'd like to get the plot of some example signal like that: I tried to create some signals in Python with different relation of signal frequency and sampling frequency, but I wasn't succeed(( original code: f_sampling = 2e6 f_sig1...
for a school project, we were supposed to filter out 4 rogue cosine waves of a given frequency. I created a filter of my own by choosing zeroes and poles by hand. Here, I made 4 poles and 4 zeroes (and a conjugated pair to each one): I put these zeroes in one array, all these poles into another, and by using np.poly on...
Given a set of images $ \left\{ \boldsymbol{x}_{i} \right\}_{i = 1}^{N} $ how could one cluster them in an unsupervised manner? What are the useful features / tools to do so? For instance, will extracting the images mean and variance be a useful method? Update: Let's take an example! I have MNIST database. It contains ...
I am very new to DSP, and I am trying to implement a BFSK signal with python, but for some reason, the wave is not "clear", and there seems to be a lot of "discontinuities phases" in the transition between the two frequencies. Here is the signal plotted with mathplot and you can clearly see that: The code I used to ge...
I have a trivial fourier transform question. I have a correlation function, C(t), with complex components in the time-domain, and dt. I would like it in the frequency domain, C(w), like from Numerical Recipes: I believe this involves an inverse fourier transform and grid-shifting. I know numpy iFFT divides by seque...
I mix audio(16bit,16khz, little-endian, mono,frame-duration:60ms) packets after dividing the short values by participant count so it never gets clipped. but before that, I need to apply a certain gain to all incoming voices so that they stay at the same level. and even after mixing I again have to apply certain gain to...
I have some numerical data, which has 3 input vectors and 1 output vector. I have to use all the inputs to represent the output. I am new to dsp and struggling to understand how to do this. X1: Mostly -80 to 80. Few outliers till +/-100 or +/-200 X2: Mostly -4 to 4. X3: Mostly -1 to 1. Most are 0.0 something. The data...
From what I have learnt from control systems classes, the dominant poles of a system are those that can be used to analyze a higher order system in terms of the formulas of a 2nd order system. I took the following system as an example: $$G(s) = \frac{s^2 + 2s + 3}{10s^3 + 0.1s^2 + 23.3s + 30}$$ and tried verifying some...
From the Wikipedia, the XBee paper, the BlueBee paper, and the WeBee paper, I learned that: In the 2.4 GHz band, the bandwidth of each ZigBee channel is 2 MHz. For receiving a signal over one of these channels, a ZigBee receiver should sample the signal with a sampling interval $T_{s} = 0.5 \mu s$. However, according...
I am analyzing pressure data sampled at 1Hz. The times series exhibit "ramps" (a linear increase in pressure followed by a sudden drop) for which I would like to automatically detect the start and stop times. Please note that these pressure events are not periodic: My first attempt was to use SciPy's find_peaks functi...
Consider we have two time series and for each of them , we know the phase (Phase1 and Phase2). We want to compute phase difference between these two time series. We define the phase difference as (Phase1 - Phase2) and we wrap the results to the range of [-pi,pi]. Based on this definition of phase difference, how can we...
I am new to audio signal processing and I wanna do real-time noise cancelation for a participant in a conference. I am capturing audio at 16bit, 16khz, little-endian config. I tried to use the webRTC noise cancelation module as always but failed to integrate it. I have found some other solutions out there like RNN(Recu...
Assumed we have those three audio streams available for listening to: MP3 with a bitrate of 128 kbit/s AAC with a bitrate of 192 kbit/s OPUS with a bitrate of 64 kbit/s I assume that OPUS offers the best compression ratio and therefore would deliver the best audio quality in case of all bitrates would be the same. Ho...
Do any examples of digital SSB modulation exist? If not, is it implausible for some reason? The closest thing I can find is something like 8VSB which comes very close to being single sideband. I read on Wikipedia regarding NTSC (analog VSB) that VSB was chosen over SSB because of issues with attenuation of low baseband...
I am new to the world of digital filters and am educating myself with the book Introduction to Digital Filters by J.O Smith III,. The author derives the frequency response of a very simplistic filter: $$y(n) = x(n) + x(n-1)$$ $$H\left(e^{j\omega T}\right) = 1+e^{-j\omega T}$$ where the phase response is $\Theta(\omega)...
I understand from this other question that prior to implementing a fixed point IIR filter on a particular microcontroller target it's best to create a model using a DSP tool and compare the output to an "ideal" double-precision floating point version. I see there are tools such as Fixed-Point Designer for MATLAB and Si...
I'm curious, what would be the correct approach for state estimation for hypersonic Missiles? Would it be exclusively GPS and IMU? Historically these are what was used, but I have also seen ground stations with radar or broadcast triangulation used to track missile and provide a target tracking feedback loop. Given the...
I want to write a program that can calculate the attack, decay, release times and sustain level of the audio signal coming from let's say an analog synthesizer. (the envelope which modulates the amplitude of the signal created by oscillator) The first thing comes to my mind was to extract the ADSR durations by observin...
I also did't understand why they propose a scaling factor of simply 1/N to the FFT, while the matlab function for PSD using periodogram method scales the FFT by 2/(Fs*N)? Scaling psd is not multiplied by fs/N. fs/N is frequency bin width. square of fft is divided by fs/N. then we will get psd. I saw in periodogram mat...
I would like to compare between two signals (original signal and its encoded version) and plot the scores) as we do with STOI and PESQ. should we calculate the THD for each single signal separately then subtract the scores?
I'm working on a audio dereverberation deep learning model, based on the U-net architecture. The idea of my project came from image denoising with auto-encoders. I feed the reverberated spectrogram to the network, and the network should give me in output the cleaned version. I train the network with pairs of spectrogra...
Let's say I have a LTI system described by following transfer function $$G(s) = \frac{(s+1)}{s(\frac{s}{10} - 1)}.$$ As soon as I run following Matlab code s = tf('s'); G = (s + 1)/(s*(s/10 - 1)); bode(G); I receive following Bode plot The magnitude part is in accordance with my expectation (rough sketch created by h...
OFDM Basic Query- x[n] produced at output of IFFT is in discrete time, so we can use DAC and then RF Upconversion (multiply it with LO Frequency say f) and send it, why are we doing RF up conversion in Inphase and Quadrature phase then adding it and sending it? Can someone please explain.
I'm very new to Fourier transform and I want to plot the Fourier transform of an image in Matlab. I've seen many examples and in all of them, the fft() of the image is a black picture with some white parts in the center. But when I plot the fft() I get these pictures: This is my code: clear all; img = rgb2gray(imread...
My book says: The width-1 NRZ pulse is $$ \mathrm{rect} (t) = \begin{cases} 1 , \qquad -1/2 \leq t \leq 1/2\\ 0, \qquad \mathrm{otherwise} \tag 1 \end{cases} $$ The unit-energy width-$T$ NRZ pulse is $$ \frac{1}{\sqrt T} \mathrm{rect}(\frac{t}{T}) \tag 2 $$ I need help who to derive the unit-energy. With $\mathrm{re...
I've implemented Miller Puckette's time-domain pitch shifting algorithm (http://msp.ucsd.edu/techniques/v0.11/book-html/node125.html) in PureData's help files in C++ (my code here: https://github.com/aparks5/synthcastle/blob/main/src/pitchshift_timedomain.cpp) I've been playing around with it, and noted that introducin...
I have problem with how achieving the compensation (reduction) for the output signal emission that occurs when change abruptly the coefficients of the digital filters. for the better compensation,Is it possible to conduct experiments for different signals?
I am faced with potentially having to compute LLR = log(P / (1 - P) ) , where P is a given probability that a bit received is 1. A polynomial "series expansion" for ln(x) is the logical solution. However that will require a number of primitive sum/multiply ops to get the value. Scaling that to Gb/s rate, and that may b...
I had two vectors of data and I computed their correlation using corr(f,g) = ifft( fft(f) .* conj(fft(g)) ) / cov(f,g). I cannot figure out whether to use the real or absolute of the result. The two vectors are observation data, not signals. From their individual plots, I can see that they are negatively correlated but...
This is a cross-post from CrossValidated SE where I did get no definite answer. Consider a signal $X$ filtered by a kernel $p$ with finite support $[t_0,t_1]$ and $\int_{t_0}^{t_1}p(t)\,\text{d}t = 1$, yielding the response function $$\overline{X}(T) = \int_{t_0}^{t_1} X(T + t)\ p(t)\ \text{d}t$$ The response function...
I wanted to calculate the BER curve for an FSK audio modem transmitting via the speakers and receiving through the mic of the computer. I am using Aaron Scher's FSK loopback flowgraph The thing is, whenever I run this (i.e audio source and sink working simultaneously), I only get aUaUaU as output. If I save the audio s...
In homodyne reciever, we read about LO Leakage causing DC Offset. Say my output at downconversion is in analog voltage range +5 and -2, and there is a DC offset of 1 unit So, it can be added right? To make it +6 and -1 But everywhere i see DC offset shown in frequency domain is there any practical interpretation of it ...
I have the following signal and it was plotted with a sampling frequency (Fs) of 5Khz and F0 was then varied for 0.5Khz, 2Khz, 3Khz, and 4.5Khz. I obtained aliasing when F0 = 2Khz and 3Khz only. Correct me if I am wrong, however I know that the normalized frequency (f) = F0/Fs and I know that aliasing can be avoided if...
I am in trouble computing a PSF of an optical system in optical turbulence. Background The optical transfer function (OTF) for an imaging system in optical turbulence can be modeled as the product of the atmospheric OTF and the diffraction OTF: \begin{align} H(\rho)=H_{\text{atm}}(\rho)H_{\text{dif}}(\rho) \end{align} ...
Can you please guide me on the information to calculate SNR for OFDM Reciever? Is OFDM Pilots used for it? And do we need to follow channel estimation like steps of interpolation to determine it? I'm a little confused and where do we calculate it- Baseband Analog or Baseband Digital portion. Please point me to answers ...
There is alternative definition for SNR that mention in Signal-to-noise ratio It is: $$SNR = \frac{\mu}{\sigma}$$ i.e. mean per standard deviation, Is it possible to convert this SNR value into dB unit, without knowing the power of the noise?
What kind of audio signal features/properties are appropriate for signal similarity measurement invariant to imitation? Basically I would like to do the following: Having a template (e.g. a spoken word from a politician or from an actor as a recording) Another person trying to imitate the template (same word spoken) E...
I have a noise power density of -174dBm/Hz and a bandwidth of 180kHz. How to convert the resultant noise into watt. I am confused. First, multiply (-174dBm/Hz) by 180000, then convert the result into watt? First, convert (-174dBm) into watt, them multiply it by 180000? Thank you,
I wanted to understand better how zero padding affects a signal: Which is just N ones. where $ N > 0$ is an Integer $$ X[n] = 1, 1, 1, ... 1 $$ Zero padding it gives: $$ X[n] = 1, 1, 1, ... 1, 0, 0, 0, .. 0 $$ Which is N ones, and K zeros. I know that Changing the Length of the signal by adding K zeros gives us a diffe...
I'm trying to find some information that explains how phase spectrum compensation of non-stationary signals methods works, but I can't find an exact description of the procedure. I can't understand what transformation do the phase of the noise signal undergoes. And how exactly does it depend on the SNR? I would appreci...
I'm new to GNU Radio and signal processing. I don't know if the following is a simple question, but I have been scratching my head about it. I created a simple flow graph with a random source (0-3) and created a signal out of that using QPSK. I also added a noise source and added both together. The noise amplitude is c...
In the paper Hyperbolic Position Location Estimation in the Multipath Propagation Environment (Direct PDF link) at page 2, the Chan's method is presented. But, the presentation is made for a 3 base station system. My question: How to use Chan's method when the system is made up of $N$ base stations with $N>3$?
I have a question about the decoding of convolutional codes with the MAP (BCJR) algorithm. Let $\mathbf{u}$ denote the uncoded bits and $\mathbf{v}$ is the coded bits. Here is the point! Let $\mathbf{v}$ is modulated with any arbitrary linear modulation (M-PSK, M-QAM) and transmitted through an AWGN channel. The receiv...
I have two pandas dataframe, one with time in seconds and one with the actual audio data (values from -1 to 1). The audio data points are not equidistant, this why I need the list of time in seconds. Here is a short example of the two arrays: time in seconds: 0.000934 0.004197 0.005921 0.006978 0.007306 0.009449 0.01...
i'm doing overlap and save method at frequency domain to do this, i added one block back and forth at filter and signal respectly The problem is my filter is bessel function and that is look like this but zero padded bessel function filter is when i using this padded filter, distortion arise at certain frequency i can...
These are Things I studied. $ E[X]:-$ THis gives us Average value or Dc value $E[X^2]:-$Total power $\sigma^2=E[X^2]-E[X]^2$:-Ac power From Autocorrelation $R_x(0)=E[X^2]$--Total power And $ \lim_{x\to \infty}{R_x(\tau)}=$Dc power Question The Autocorrelation fuction $ R_x(\tau) $ of a Wide-sense random process shown i...
Filtering noise leads to a change in the overall RMS of the noise as demonstrated by the following code-block. which uses scipy's firwin2 to calculate the taps. The first set of taps (taps1) generates a large notch from 1 to 40 kHz whereas the second set of taps (taps2) generates a small notch from 4 to 7 kHz. import m...
I would like to extract the amplitude value from a wav file. Using Python I can extract the raw data into an array. How do I go about extracting the amplitude value of each sample?
Cheers, I am given the following graph for $x(t)$: and I am asked to find the fourier tranform by using the integral property and knowing that $F(Π(t)) = sinc (\frac{\omega}{2\pi})$ The solution I saw stated that we can see that $x(t) = \int_{- \infty}^tΠ(ρ)dρ$, but I just can't see why that is, could that be explaine...
I am working with complex samples, I have a main signal at 630KHz, my Fs is 1.26MHz and BW is 12.6KHz. If I plot a frequency-magntitude spectrum it looks like this: As you can see along with my main signal at 630KHz, there is data I want to filter out so I'm using BPF and I saw the DSP IIR Realtime C++ filter library ...
Cheers, I am trying to find the fourier transform of the signum function, which is $$ \operatorname{sgn}(t) \triangleq \begin{cases} 1 \qquad & t>0 \\ 0 \qquad & t=0 \\ -1 \qquad & t<0 \\ \end{cases} $$ I rewrite this as: $$\operatorname{sgn}(t) = 2u(t) -1$$ and find it's first derivative which is: $$\operatorname{sgn}...
For clarity, Nearly same colors of pixels belong to a category. Another nearly same colors of pixels belong to another category. The distinction depends on nearly same RGB values of pixels.
Related to this question on using the Windowing method for FIR filter design versus the optimized algorithms such as least squares (firls in MATLAB, Octave and Python scipy.signal, my usual "go-to" for filter design), I ran into another interesting case where, as far as I could tell, could not be resolved with the lea...
I'm a beginner in image processing and I have to create a segmentation algorithm to detect lungs from an image . Image given : And after removing the noise from the image and applying a threshold the image should look like this : I would like to know if there is a specific approach that is used for lung detection and...
Assume there are given two Gaussian random vectors $\boldsymbol{x}$ and $\boldsymbol{y}$ of equal length $N$ with corresponding means $\boldsymbol{\mu}_x$, $\boldsymbol{\mu}_y$ and covariance matrices $\boldsymbol{C}_{xx}$, $\boldsymbol{C}_{yy}$ as well as their cross covariance matrix $\boldsymbol{C}_{xy} = \boldsymbo...
How to choose scaling factor for calculating PSD? Because I saw abs(fft)^2 scaled by fs/N (frequency binwidth) and also 1/fs*N. obviously output amplitude values will be different. So I want to know which scaling factor will choose? or in which situation each scaling factor will take? I am showing matlab program from g...
So I was digging around 5g technology, and apparently, many people say that high-band 5g can't penetrate buildings, trees, even rain. However, the atmospheric attenuation around 30 GHz does not seem to be a lot (eyeballing gives me 0.15 dB/km): So my question is, why can't high-band 5g travel far? Are there attenuatio...
I simulated a discrete sample of a variable whose autocorrelation function (ACF) should theoretically be composed of a sum of exponential-like functions. My goal is to represent it in the frequency domain because that is how it is done experimentally. This is theoretically achieved by calculating the Fourier-Laplace tr...
Suppose I have a data stream that is sampled at a certain frequency, i.e. 1 GHz. I now want to perform a FFT on that data stream but since the hardware I have is limited to a maximum clock frequency of 250 MHz the data arrives in packets of 4. In other words, each clock-cycle, 4 different samples arrive. Is it possible...
I am studying about scalar vs vector quantization, and I have an assignment to implement (in MATLAB) a scalar quantizer , using the Lloyd-Max algorithm, and a vector quantizer via k-means clustering. The vector quantizer works in the R2 vector space, so its input is a tuple of samples (input vector) and its output is a...
I am trying to predict epilepsy using spectrograms and a convolutional neural network. So far I have achieved a validation accuracy of 86% which i feel like is pretty good. Lots of the papers doing similar deep learning are using an very high frequency resolution in their spectrograms. However I keep reading that when ...
I'm reverse-engineering DSP code and there's a steady-state Kalman filter in it. Because it is a steady-state Kalman filter, the matrix $K$ is fixed. However, I'm a puzzled about the state update equations . The reverse-engineered state update equation is the following : $$s[n] = (A-KH^T)s[n-1] + K u[n]$$ where $u[n]$...
I'm relatively new to image processing but am working on a trading card sorting machine, and would like to detect holographic cards. I'm currently identifying cards using ORB matching (moved from p-hashing the cards) and the current system works quiet well. The issue is I cannot identify holofoil cards as being holofoi...
I am writing the theoretical background in my thesis but my thesis is more centered on deep learning and the signals that I am using for classification were filtered through the [b, a] = butter(n,[Wl, Wh]) and after with the function Y = filter (b, a, X) made by another author, I saw by typing: help butter at the comma...
Exponential sweep sine (ESS) is a good excitation signal to measure the impulse response of an acoustic system, such as loudspeaker - room - microphone system. An ESS has the form of $$ x(t) = \sin\Big[\frac{2\pi f_1 T}{R} (e^{tR/T} - 1) \Big] $$ where $t$ is the time variable in second, $T$ is the duration of the sine...
A simple question that I am not able to find any solution online or in the literature I have. What does it mean when it something is written as dbFS / LSB, for example The lock level is stored in −dBFS in a resolution of 1 dB/LSB or resolution is 0.5 dB/LSB Any explanation would be helpful. thanks
I'm working on a project related to fingerprinting of audios with different sizes. The library that I'm using is called Dejavu. Generally, it is the implementation of this paper that hashes the relationship between peaks of audio samples and uses it for further identification. Because the number of peaks in an audio sa...
I have a .h264 video file with a separate text file containing timestamps for each frame in timestamp v2 format. Where the starting frame doesn't necessarily start with a timestamp value 0. I want to containerize both files into a VFR .mp4 container where the PTS frame values are populated from the timestamp text files...
I've managed to use SSB digitally to create frequency envelopes such that I can increase frequencies at any arbitrary rate given by my envelop. But I am unable to manage a downward frequency shift. Looking at the theory of SSB it seems possible to shift downwards but im not sure how. I'm open to using other methods of ...
Fs = 16000;Channels = 1; bits = 16; r= audioread('myWAVaudiofile.wav'); duration = 3; sound (r,Fs,bits); t = 0:1/Fs:(length(r)-1)/Fs; subplot (2,1,1); plot (t,r,'LineWidth',1.5); xlabel('time (sec)'); ylabel('Amplitude'); title('Time Domain plot of the Signal'); n = length (r); F = 0 :(n-1)*Fs/n; Y = fft(r,n); F_0 = (-...
we are trying to develop a flowgraph for cubesat operation. Our flowgraph for includes both downlink and uplink parts in one flowgraph. It uses SoapySDR as a driver of an SDR. Most of the used blocks are included in the core of GNURadio. Few blocks from gr-satellites by Daniel Estévez are used. Data input and output is...
I have EEG data. I have 51 values(complex numbers) that are supposed to represent the frequency. I plot the absolute values. They have negative values and have an imaginary component as well: array([ 209.28168 +0.j , -9.189357 +165.30928j , -73.242516 +16.988483j , -56.90396 -6.681808j ...
From a bird's-eye perspective, do CQT, FFT, and NNLS algorithms provide different "perspectives" on the original signal? Does each preference some features of the original signal? I'm using Sonic Visualizer ( https://www.sonicvisualiser.org/index.html ) with VAMP plugins to perform MIR (Music Information Research) on ...
I am currently on a university course doing a telecommunications module. I have been doing some past papers today and came across a question around peak output voltage of an optical receiver and have 0 clue how to do. I have attached the question for reference, not after the answer really, just more a walk through of h...
Say, for LTE BW 20 MHz, I have total 2048 SubCarrier at IFFT Input leading to 2048 Output (Complex) at IFFT Output, and in 1 OFDM Symbol (useful symbol length) of time 66.67 usec, the sampling rate will be determined to be 30.72 MHz. So is all this extension of 1200 Active SubCarrier by adding 848 null SubCarrier just ...
This is a a continuation of the discussion from Unsupervised Clustering of Images. Image that we have MNIST database and we want to separate all the images like this. But we want to use Linear Discriminant Analysis (LDA) instead to see how the results differ. Question Will LDA perform better than t-SNE/UMAP if we know ...
I have a modem which accepts a voice in GNU Radio, digitizes and compresses it (codec2) and transmits it using USRP on one laptop and receives it on another laptop. When I use "Wave File Source" in the transmitter everything is OK and I clearly hears the voice from "Audio Sink" at the receiver, but as I switch to "Audi...
Suppose I have some process which is governed by: $$ \vec{x_{k+1}} = A\vec{x_k} + B\vec{u_k} + w_k$$ where $u_k$ is the input, and $w_k$ is process disturbance. This process is continuous time in nature, but I am modelling it in discrete time, and don't have access to $A$. Suppose I have some estimate of the model, $\...
I got the following code: import numpy as np from skimage import data def plot_spectrum(fft_im, vmin, scale_factor): fshift0 = np.fft.fftshift(fft_im) #shifts the zero-frequency component to the center of the spectrum # (log10(|(fft*(10^6)-1) / ((10^5)+1 ) / (10^5)|) + 5 ) )* 1 / (scale_factor+1) magnitude...
I have written a simple biquad filter class but when I check its frequency response, I get different results with different methods. If I check it "empirically" (by taking the FFT of its impulse response) then I get the expected results. However, when I check it "analytically" (by plugging coefficients into the trans...
For a linear process relating a variable $Y_i$ to random, independent variables $X_i$ using the equation: \begin{equation} Y_i = aY_{i-1} + (1-a)X_i \end{equation} which has the solution: \begin{equation} Y_n = a^nY_0 + (1-a)\sum_{i=0}^{n-1} a^i X_{n-i} \end{equation} it is relatively straightforward to investigate how...
I have a signal that is the sum of 3 signals that has just passed through a transmission channel. I need to put filters to this signal (bandpass and lowpass) and then apply demodulation and get one of the start signals. I have these functions: bandpass and lowpass in Python, and I would like to know what values to assi...
I've been given the task to find the Fourier Series Representation. All I'm given is this $$x(t)= \begin{cases}-t & \text { for } 0 \leq t<1 \\ 1 & \text { for } 1 \leq t<2 \\ 0 & \text { for } 2 \leq t<4\end{cases}$$ and I have no idea as to how to go about it. In the lectures we were shown $$ x(t)=\sum_{k=-\infty}^{+...
I have a question that might sound silly but if I have a real and even signal x(t) can I define the FT and DTFT of the negative frequency if I can show: $$X(-\omega) = \int_{-\infty}^{\infty} x(-t)e^{-j\omega t} \,dt $$ And similary fir DTFT Thank you in advance!
GIVEN: in linear 1DOF mechanics / vibrations processes, ones that characterize a system’s state variables (position u & velocity du_dt) as effected by a causing force f. Simply: $f= m\cdot {ddu}_{ddt} + c\cdot {du}_{dt} + k\cdot u$ where m=mass, damping=c, k=stiffness are STATE PROPERTIES, d(du/dt)/dt=acceleration, du/...