instruction
stringlengths
31
27k
I was trying to generate a signal like this: I have done this so far like this: clc; clear all; close all; t = 0:.1:10; f=.5; y=.2*sin(2*pi*f*t); plot(t,abs(y)); axis([0 10 -2 2]); grid on; What can I do to get desired output?
We know that a discrete-time system with a (Z-transform) transfer function that has a pole of magnitude 1 (i.e. $|z|=1$ is a pole of the transfer function) is marginally stable if the pole at $z=1$ is a single pole and unstable on every RoC otherwise. My question is: Suppose a transfer function that has two simple pole...
I have been breaking my head for a long time. Please help with this..any input would be helpful! I am trying to implement a OFDM system using SDR (USRPN210 for Transmitter and USRP2 for receiver) using Simulink and my laptop (core i5). Baseband specifications: OFDM signal sample rate = 25.6MS/s No. of samples in one ...
Given a 2-D parameter vector, $\mathbf{X} = [x_1, x_2]$, let the corresponding $2\times2$ Fisher Information Matrix be $\mathbf{F}$. The Cramer-Rao Lower Bound (CRLB) is the inverse of the FIM. I obtain the following matrix by inverting $\mathbf{F}$ as: $$\mathbf{C} = \begin{bmatrix} \mathbf{C}_{1,1} & \mathbf{C}_{1,2}...
Is $x(t)=t \cdot u(t)$ a power signal or an energy signal? Please "show" me why - preferably using equations.
If I have two sets of samples $a$ and $b$ and I have already calculated $A = FFT(a)$ and $B = FFT(b)$ is it possible to calculate $FFT(a + b)$ without performing another FFT?
I am wondering if there is any downside to blacking out the target object when it appears in negative samples during Haar Cascades training. Basically, If i want to detect a human nose. Can I just get lots of face images and black out the nose for the negative samples. I would then get lots of cropped pictures of the n...
First of all, it's a rare topic in google, so I can't find intuitive explanation about step-invariant, so I don't understand actually what it is, except to solve zero order hold transfer function. In this pdf, page 15 to 18 I've been learning about zero order hold (ZOH). http://www.engr.usask.ca/classes/EE/480/notes/my...
If $h(n)$ is the impulse response of the discrete LTI system, $x(n)$ is the white noise process with variance $\sigma_x^2$ and $y(n)$ is the output, prove that $$\mu_y = \mu_x \, \sum_{k=0}^\infty h(k)$$ where $\mu$ represents the mean. My approach: $$\mu_y= \mathbb{E}[y(n)] =\mathbb{E}[x(n) \star h(n)]$$ Where, '$ \...
I am trying to implement a FIR filter on FPGA and trying to have a solid understanding of the FIR filter tap delay and sampling frequency. Does the “one tap” delay equal to “1/Fs (sampling frequency)”? If I have N-tap, the total delay will be N/Fs? If the Fs sampling frequency is increased, the “one tap” delay is decre...
I have 2D grayscale image representing terrain heights. I am in search for (fast) algorithm to minimize profile curvature of this image on selected scales (in scale-space sense). Profile curvature is function of partial derivatives: $$P_c = - \frac{(dx^2 \times dxx + 2 \times dx \times dy \times dxy + dy^2 \times dyy)}...
I am new to DSP and leaning about amplitude modulation. I am trying to demodulate a 5 Hz signal that is modulated by a 50 Hz carrier. I am trying to extract the carrier, not the the 5 Hz signal. A simple band-pass filter at the desired frequency frequency did not work and I am not sure why. I understand that phase lock...
I'm trying to calculate the output given an impulse response $h(t)=e^{-t}u(t)$ and input $x(t)=\cos(2\pi t)$. I know I need to use the convolution but given that cosine is periodic, I don't see how I would get an answer to converge. Am I thinking about this the right way or missing something?
I calculated FFT for a speech wav-file using scipy.fftpack. How do I read (understand) the return of FFT? I have read that it supposed to be like so: y[0] is 0Hz loudness, y[1] is 1Hz loundess, ... y[n] is nHz loudness ... But seems like it is not like that exactly. Q1: What will I get when I do abs(y)? I know that we ...
I believe that there is no connection between the sampling frequency used for converting an analogue filter to digital filter and the one used to sample a signal that the filter will be used on. But I would like to confirm this from someone who knows. I like to confirm that sampling frequency(e.g when using bilinear o...
For example, let's say a causal LTI System is described by the following equation: $$y[n] - ay[n-1] = x[n] - bx[n-1],\quad n \in Z$$ Is there a way to determine (in this case) the stability of the system without using the $\mathcal Z$-transform? (Solving the problem using the $\mathcal Z$-transform would be a classical...
I'm working on a DSP lab and I can't figure out how to apply the filter I've created to a sound. The only thing I found online that did something to my sound was signal.filtfilt but that seems to just output silence for some reason. import matplotlib.pyplot as plt import numpy as np from scipy import signal import lib...
How can I perform cyclic (periodic) convolution between two matrices in Matlab? And also, what would be the normalization term?
Is it possible to make 3D point cloud with RADAR? Both LIDAR and RADAR are EM waves, but with different wavelength. So, if it is technically possible to make point clouds with LIDAR, why is it not possible to do the same with a RADAR? Is it because, the RADAR cannot have narrow beams like LIDAR? Or the problem is more ...
Assuming you'd like to estimate the probability of detection of a target for a monostatic radar. For estimating detection SNR of a monostatic radar for given target rcs signature, do you use the energy or power form of the SNR equation? Budge's Radar Equation Notes Energy form of the SNR equation: Power form of the SN...
Assume a monostatic radar is transmitting a pulsed waveform. The pulse has been modulated by a Barker code with$\ N$ chips or bits. The waveform chip rate is $\tau_c $, the radar receiver's detection bandwidth is $\beta_c = 1/\tau_c$, and the waveform's pulsewidth is $\ N*\tau_c$. I've heard conflicting opinions about ...
I have been trying to find an article where it is described how real-time (or close to real-time) signal processing from a microphone is able to detect that an audio source is playback of a recording rather than natural source thanks to (for example) missing frequencies in lossy encoding. Ideally it would be something ...
I'm working on an implementation of time-varying resampling in python. I've got the windowed sinc interpolation itself working nicely, but can't figure out where exactly to sample my input data for correct results. Given a curve of speed factors speeds (where 1.0 means no speed change, 2.0 slows down and .5 speeds up t...
i want to mute a particular frequency range in real time audio for eg: in audio signal frequency above 3 kHz should be muted for specific interval of time.
The idea of OFDM is to spread data across multiple overlapping subcarriers. As they are orthogonal it is still possible to demodulate them. That means, all other subcarriers are 0 at the evaluation point of a specific subcarrier. Orthogonality is achieved by generating a rectangular subcarrier pulse. By applying a IFF...
It seems that as a general rule, for digital IIR filters of order more than 2, one is encouraged to use a cascade of second order sections, for reasons connected to the poor stability of high-order filters. See, for example, my question What is the largest "safe" order for the digital Butterworth filter of a given sign...
I have a series of signals sampled at 1200 Hz that are 200-300 samples long. I'd like to analyze them in the frequency domain in 1 Hz bins in MATLAB. I'm primarily interested in the frequencies below about 20 Hz, since this is where virtually all of the signal power is contained. However, I'm finding conflicting opini...
I am trying to understand the QPSK fundamental and when I read that the phase shifts are 45°, 135°, 225°, and 315° in QPSK, I can not figure it out how. In other word, I do not understand how the wave form creates 45°, 135°, 225°, and 315° angles. It seems to me they are 45°, 315° (Since falls in 4th quadrant), again 3...
Wikipedia, fount of all knowledge (Ha! LOL), gives a formula for a pulse wave here: The formula is: $$f(t)=\frac{\tau}{T}+\sum_{n=1}^{\infty}\frac{2}{n\pi}\sin\left(\frac{\pi n \tau}{T}\right)\cos\left(\frac{2\pi n}{T}t\right)$$ Given that the first term adds a non-zero value $\frac{\tau}{T}$ to the $\sum_{n=1}^\infty...
I had to work with sound(denoising algorithms), when I read about an algorithm it said that we do DTSTFT(Discrete-time short-time fourier transform) we will create an overlap between each "chunk" of data, for example if I have $$s=[1,2,3,4,5,6]$$ I divide it into $$s^{(1)}=[1,2,3,4]\\s^{(2)}=[3,4,5,6]$$ and then I use ...
Both of zernik moments and Local binary pattern (LBP) are feature detectors and can achieve rotation invarient. How can they achieve rotation invarient over an image? What are the advantages of applying zernik moments to an image? What are the advantages of applying LBP to an image? What is the computional cost of each...
Consider a signal $$ x(t) = \cos(175\pi t) $$ which is sampled to produce discrete time signal $$ x[n] = x(nT_s) $$ The fundamental period of $x[n]$ is $$ N_0 = 7 $$ Given this, what is the smallest possible sample rate $T_s$? (Ans: 1.6327 ms). I would assume that this is related to finding the Nyquist frequency. I was...
I'm new to Kalman filters so this might be a stupid question. I created a Kalman filter that takes in time series observations and estimates the mean of that time series. This is simply modeling a random walk. However, I also want to be able to estimate the standard deviation of my observations, similar to how I'm usin...
I'm trying to understand about deciding FFT length(size) and relative factors. what If I got the streaming adc data as the below, 1624 20850 10314 -15042 -18908 3717 21175 8479 -16411 -17907 5796 21308 6493 -17713 -16662 7687 21241 4468 -18724 -15291 9750 20929 2392 -19649 -13833 11508 ... Q1. My first question is fro...
I have an IQ data of QPSK signal , when I apply a PLL loop I obtain constellation in figure below. What is this phenomenon, and how can I obtain the good constellation?? The second figure is about variation angles, is there any idea about the red countoured effect? after adding symbol syncronisation , i obtain const...
I'm experiencing a weird effect on my captures. It may just be due to my bad dsp understanding. I'm using an E310 SDR platform to capture a multitone (4 carriers) signal: Fc = 150 MHz Bw = 286 KHz fs = 3 Msps (I tried several values ranging from 300 ksps to 3 Msps) format = short (IQ components, 16 bit each) Time of c...
Suppose that $\theta_t$ is an exogenous variable with known Gaussian process. Next, suppose that for any index $i\in [0,1]$, $$ a_{i,t} = (1-\beta)\mathbb E[\theta_t|\mathcal I_{i,t}]+\beta \mathbb E[a_t|\mathcal I_{i,t}],$$ where $a_t=\int_0^1 a_{i,t} di$, and $$\mathcal I_{i,t} = \{\dots,\theta_{t-1}+\epsilon_{i,t-1...
I am using Alan Oppenheim's Signals and Systems and I am a bit confused by the notion of discrete-time periodic exponentials as basis signals for the discrete-time Fourier Series (and later the DTFT). For the discrete-time Fourier Series we use the basis signals $$\phi_k [n] = e^{jk\frac{2\pi}{N}n} = e^{jk\Omega_0n} ,$...
I have a script where i want to change the noise floor to about 96 dB (visual purpose). The script containing basically a sine wave with after wart do FFT over it. The script is in python and as follows: import numpy as np import matplotlib.pyplot as plt from scipy.signal import get_window from scipy.fftpack import fft...
Suppose that we have the signal $$x(t) = e^{j\omega t} + e^{j\frac{3}{2} \omega t},$$ and we want to find a Fourier Series representation for that signal. Is this possible? According to my understanding, since the ratio of the frequencies of the two complex exponentials above is a rational number, the signal is periodi...
Suppose we have the signal $$x(t) = e^{j\omega_1 t} + e^{j\omega_2 t} + e^{j\omega_3 t},$$ where all the frequencies are rationally related (that is, the ratio of any pair of frequencies is a rational number). How do I prove the fact that the fundamental frequency of the expression above is given by $\omega_0 = \gcd(...
One can easily draw (pseudo-)random samples from a normal (Gaussian) distribution by using, say, NumPy: import numpy as np mu, sigma = 0, 0.1 # mean and standard deviation s = np.random.normal(mu, sigma, 1000) Now, consider the Fast Fourier transform of s: from scipy.fftpack import fft sHat = fft(s) Considering "the ...
I am facing a confusion on understanding system open-loop transfer function stability from its Nyquist plot. According to the formula, for open loop transfer function stability: $$Z=N+P=0$$ where $N$ is the number of encirclements of $(0,0)$ by the Nyquist plot in clockwise direction. Now how can I verify this formula ...
I have an input-output data set where the input is current and the output velocity. I am interested in the transfer function from current to acceleration though. So suppose: $H(s) = \frac{I(s)}{V(s)}$ where $V$ is velocity and $I$ is current. I thought that the solution would be to $H'(S) = \frac{I(s)}{sV(s)} = \frac{I...
Why does halving a floating point time series (audio) cause the noise shown in the spectogram to change? From having a look, all the steps from getting the first half of X, stft() and amplitude_to_db() output the same values except in the last two frames closest to the halving point (which is expected but not expected...
When we play several audio streams what is responsible for mixing them in single audio playing via speakers? Clearly it should be either OS combining the sounds or hardware getting multiple data streams. Any references will be much appreciated.
I have a vibration signal that i need to convert from time domain to frequency domain using fft in python. from scipy.fftpack import fft yf = fft(df["x"]) plt.plot(df["x"]) And i would like to plot it without DC value at 0Hz. So i neglected yf[0] and took N/2 frequencies to plot as per Nyquist theorem. But I am havi...
The solution to a linear constant coefficient differential equation of the form $$\sum_{k = 0}^{N} a_k y^{(k)} (t) = \sum_{k = 0}^{M} b_k x^{(k)} (t)$$ can be written as $y(t) = y_{ZI} (t) + y_{ZS} (t)$ (sum of the zero-input response and the zero-state response) or $y(t) = y_h (t) + y_p (t)$ (the sum of the homogeneou...
I am trying to find a general way to find system stability.I have applied these methods and struck in confusion For eg: If $$y(t)= \int_{-\infty}^{t} x(\tau) \sin(4\tau) d\tau$$ then find whether the system is stable or unstable? Process (1): If $$y(t) = \int_{-\infty}^{t} x(\tau)\sin(4\tau) d\tau$$ then $$h(t) = \in...
I have seen the mathematical proofs that show that the delay of an FIR filter is half the filter order, i.e N/2. Yet I am still confused: When I look in the time domain, the output of the filter is: \begin{align} y[n] &= b_0 x[n] + b_1 x[n-1] + \cdots + b_N x[n-N] \\ &= \sum_{i=0}^{N} b_i\cdot x[n-i], \end{al...
Last year Apple releases their new phone Apple X that has an exciting feature called Animoji. I am so fascinated by this technology that I really want to make my own version of it. But the problem is I am really new in image processing stuff and I've no idea about the technology behind Animoji. So what is the technolog...
When talking about general periodic continuous-time signals for which $$x(t + T_0) = x(t)$$ where $T_0$ is the fundamental period we define the fundamental frequency $\omega_0$ as $\omega_0 = 2\pi/T_0$. The way I interpret this is that $1/T_0$ is the frequency of the signal in cycles per second and there are $2\pi$ ra...
I have been reading Peebles Probability, Random Variables, and Random Signal Principles and it claims that second-order stationarity is sufficient to guarantee: $E[X(t)]$ is a constant $R_{XX}(t1,t2) = E[X(t2)X(t2)]$ depends only on the difference $t1-t2$ of the two arguments and not on the individual arguments $t1$ a...
My audio DSP algorithm processes input sound file (45 seconds, 16 kHz, mono). After simulation is done, gprof profiler tells me: Cycles: total = 6846310893. My target DSP processor is 600 MHz and executes 1 instruction per cycle, meaning it is 600 "MIPS" (millions of instructions per second). How much will this algori...
It has been so long since I studied this at University, so I'll better ask here if I'm doing something really wrong here. I'm using a USRP frontend for L1 band surveillance. I want a 20MHz bandwidth, but I found through testing that it's better to use a sampling frequency slightly higher than twice that bandwidth (I'm ...
I am looking for some suggestions regarding clustering. Lets say I have 5 subjects (1, 2, 3, 4 and 5) 1 says 2 and 3 are similar to 1 2 says 1 is similar 2 3 says 5 is similar to 3 4 says no one is similar to 4 5 says 3 is similar to 5 So we have a matrix like 1 - 2 3, 2 - 1, 3 - 5, 4 - 0, 5 - 3 I need to cluster s...
I know how to change the phase of a complex number by multiplying by $\cos \theta + i \sin \theta$. And I understand that the phase of a sine wave is reflected in its Fourier transform. So, I am trying to phase-shift a signal by changing the phase of its Fourier transform.. This works for "synthetic" Fourier transfor...
I am new to sparse channel estimation algorithms and reading research articles. One such paper is blind sparse channel estimation using a modification of the BOMP technique titled, "Blind Acoustic Source Separation Via System Identification for Leak Detection in Pipelines." How are the impulse response/coefficients ma...
Could you help me? How can I understand the function of the filter coefficients practically? In the simple case, it is the impulse response of the LTI system. but how do they work?
I have some problem with understanding the phase noise definition formula. please see this image: I can't understand the paragraph that I show ? near it. How is it possible to get phase noise > 0 dB when the power is less than carrier signal? In this image. what is difference between A.11 and A.12 formula? and how do...
I want to derive the property of the Fourier Transform that states that if $X(j\omega) = \mathcal{F} (x(t))$ then $$\mathcal{F} \left( \int_{-\infty}^{t} x(\tau) \mathrm{d} \tau \right) = \frac{1}{j\omega} X(j\omega) + \pi X(0) \delta(\omega).$$ I started as follows, since $$x(t) = \frac{1}{2\pi} \int_{-\infty}^{\infty...
I am a complete novice to the world of signal processing, and I am an environmental engineering grad by degree (i.e. zero background in signals/systems). We acquired a couple sensors and a data recorder at work and I am required to analyze the data we measure. Pertaining to that, I have two questions: Is anyone here f...
Consider we need the magnitude spectrum of the signal. Signal is recorded in $N$ trials to a certain stimuli. Signal varies from each trial because of noise. So, to estimate the actual magnitude spectrum, there are two approaches: Avg. in temporal domain: Average out trials in temporal domain to obtain signal of less ...
I need good reference books/tutorials/doccumentations on sonification. Please suggest me some books or other references from which I can learn about sonification and algorithms of sonification. Thanks.
When creating a block diagram in a well-recognized structure (Direct Forms 1&2 in particular), does one remove branches where the coefficient is 0? This picture includes a coefficient of $b_1=0.00$ . Should the branch be removed or is it reasonable as well to still include it, so the structure is kept and people can e...
I have two signals, a measurement and a reference which I have performed an FFT on. They have both been windowed with a Hanning window, and now I would like to deconvolve these to get the impulse response. I have followed these steps: Divide my reference FFT by my measurement FFT. (Point division of complex numbers...
The picture above is the block diagram of an echo filter. My question is, how does the delay, and gain block affect the output signal? I think that when the input signal is outputted with a delay from when the user and a smaller amplitude.
question: If $x(t)$ and $y(t)$ are two periodic signals(both with period T) with Fourier coefficients $c_{n}$ and $d_{n}$ respectively then, Fourier coefficient of $z(t)=x(t)\cdot y(t)$ is: (a) $\dfrac{c_{n}d_{n}}{T}$ (b) $T c_{n}d_{n}$ (c) $c_{n}d_{n}$ (d) $c_{n}*d_{n}$ my attempt : let, $x(t)=\sum_{-\infty}^{\infty} ...
common TDE problems algorithms(such as GCC) often require audio signals in different mics concurrently, however, is it possible to estimate audio signal time of arrivals(ToA) in different mics separately in the noisy environment in order to estimate TDoA&TDE? Also, since memory space limitation, cross-correlation rela...
I have the signal $s(t) = \cos(2\pi f_1t)$ and I am looking for its components vs the Fourier basis, over the interval $[0, T]$. The formula for computing the coefficients is $$ s_n = \int_{t_0}^{t_1} s(t) \frac{e^{-j\frac{2\pi}{T} nt}}{\sqrt{T}} dt $$ and in this case $t_0 = 0$ and $t_1 = T$. The solution seems to be ...
I work with a Electrophysiologist Team and i have seen something who interrogate me (i'm a noobs in DSP). They acquires a signal into a brain structure (an LFP to be precise) : in a first time they apply a zscore(standard score) normalization on the raw data then they computes a spectral estimation with a CWT(continuo...
I know that the duty cycle measures the width of the signal in percentages. But why does it decrease the signal width with decreasing duty cycle?
I don't know if it would be straightforward enough to chalk it up to this being a real system. Thus there's friction and physical mechanics of gears and teeth pulling.
Blind channel equalization methods equalize the channel without using the source data and without knowing the impulse response of the channel. Consider the channel to be a single input single output FIR system. The popular methods for blind channelequlization are Constant Modulus Algorithm and Least Mean Squares. Certa...
I am analyzing a signal in MATLAB by taking its fft. The singal has $200$ samples and I am currently taking nfft = 256. I understand that this would result in zero padding. Now, I want to try to reduce the nfft to 128, 64 etc. I wanted to ask what will happen to the fft. Matlab says for Y = fft(X,n), If X is a vector ...
Hello I am trying to do sound classification in matlab. I have different samples of sounds for 2 seconds. How can I proceed with that. The sounds I am using are churchbell, footsteps, trains, sirens and people talking. Thanks
I have multiple images like that shown below in which there are essentially two different brightness levels. I've looked into histogram equalization techniques in scikit-image as well as several background subtraction techniques in ImageJ, neither of which seem to be effective over the parameter ranges I've tested. I'v...
Why are most common or standard (is there actually a standard?) PRBS uneven in their number of state bits, e.g. PRBS7, PRBS15, PRBS23, if there are plenty of generator polynomials that have even, byte-multiple numbers of bits, like 8, 16 and 24? More generally, how have the common sequences, denoted with the aforementi...
Of late, there has been some interest in cooperative estimation algorithms in robotics, where the information sources are usually sensors such as cameras. When multiple robots observe surrounding environments through cameras, they can share information about salient features and correct the poses of each other. At the ...
Context: I'm trying to improve a pose estimation model so that it works better when my camera is in Infrared mode. Unfortunately I only have RGB images to train on. I realize that you can't convert RGB to IR directly, but my hypothesis is that converting the RGB images to look more like IR, and then training on a data...
I'm trying to use the work (Neural Networks) done in this repo: https://github.com/jtkim-kaist/VAD It says this: Note: To apply this toolkit to other speech data, the speech data should be sampled with 16kHz sampling frequency. I've got speech data at 48khz. I've read in places that reducing sampling rate is a comp...
I was given the above homework problem and I know how the step response is achieved, but I'm not sure how to set up the integrals in order to evaluate the problem. I've attached my work, but it is wrong because I keep getting the wrong answer. The solution is given as $$S(t) = u(-t)e^t + u(t)(2-e^{-t})$$ *Note: We have...
Trying to wrap my mind around the concepts of this one... Consider the following impulse response $h[n]$ for a linear, time-invariant system: $$ h[n] =\left\{\underline{1} , -2, 2, -1\right\} $$ where n=0 starts at 1 for h[n] (a) Is the system causal? Why or why not? (b) Is the system stable? Why or why not? (c) ...
I have extracted SIFT features (keypoints and descriptors) of training set and saved in an inverted index form. My question is how can I calculate the coordinates of each visual features in an image from the center point? I need this information to calculate a similarity between query image and retrieved training imag...
I have an audio file say myfile.wav I trained a neural network based on fft features, and it is giving pretty good results for detecting particular classes of sounds. I want to expand above experiment to include more sophisthicated features like MFCC along with simpler features like RMSEnergy and so on. Using libros...
Consider the LTI system given by: $H(z) = 1 - \frac{1}{2}z^{-1}+\frac{3}{4}z^{-2}$ Let $x[n] = (\frac{1}{2})^nu[n]$ be the input to the system. We want to find the output for $n = 0,1,...,N_a$, using the DFT of a relevant portion of the input and samples of $H(z)$ on the unit circle, at $z = e^{j\frac{2\pi}{N_b}k}$, fo...
I've tried both using scikit.samplerate.resample and scipy.signal.resample. With neither of them can I achieve the result I want. Scipy.samplerate: file1 = '../machine_learning/voice_snippets_stepvoices/t10_9steps.wav' file2 = '../random_data/t10_9steps.wav' sr, y = scipy.io.wavfile.read(file1) secs = len(y)/sr # Nu...
I have a quadrature (IQ - 0..255) data byte stream that I receive from an rtl-sdr dongle as IQIQIQIQ..... That means that negative values are < 128 and positive values >= 128 I am attempting to decode a 2FSK signal: To normalize the data I do the following and get a resulting complex number with values ranging between...
For any discrete input signal between +1 and -1, what is the theoretical maximum DFT? If the input is a cosine of $N$ samples with amplitude $A$, the peak spectral magnitude is $A*N/2$. But what about any arbitrary waveform? A square wave with the same amplitude as the cosine is composed of various sines, the fundame...
I am trying to solve it by using the properties but I can’t seem to find the same solution as on my book.
I'm trying to apply Fourier analysis to a specific problem I have. I have essentially an integral like the following $$ \int_{\Omega} f(t) g(t) dt $$ And I'm trying to assume that $g$ is a narrow band signal (namely the Fourier transform is defined on a compact set). I want to prove that if $g$ is really narrow band th...
I went to myfonts.com/WhatTheFont to get the font from a text to train tesseract. I realized that the font recognizer did actually better OCR than when I used tesseract on the same image. So any idea how could I find out what OCR tool or library they're using? They do have a forum but it's not a support forum, it's mor...
What I understand is for Explicit Transmit Beamforming scenario, the Transmitter sends an NDP packet(aka HT Sounding) which consist of OFDM training symbols in packet preamble (HT-LTF) which are randomly generated +/-1 for each subcarrier(say 56). I do not have much knowledge on this, but if anyone can help me to under...
I've inherited some matlab code and I can't really understand what the resultant signal really means. The input is audio and the code first performs an STFT/spectrogram (sliding window FFT of size 1024 with 50% overlap, hanning window applied). The output is then filtered to the range (using Matlab notation) to the ran...
I want to do noise shaping in a 100kHz, 16 bit application, so as to shift all quantization noise to the 25khz-50kHz band, with minimal noise in the DC-25kHz band. I set up mathematica to create a 31-sample error filter kernel via reinforcement learning which works well: After a little learning, I can get about ~16dB e...
What is the transfer function of this system y(n) =2y(n-1)? Here there is no input dependence. If you give one output sample, all the future output samples are determined by multiplying with 2.
I'm new to matlab. I want to process my smart-phone accelerometer data in matlab. I know Matlab let's you connect your phone via USB cable to see accelerometer data in realtime. But according to some reasons I don't want to use this method. Instead I've developed an application that saves accelerometer data. I want thi...
Goal Substitute outliers in a time series by most recent valid data Problem The time series (end-of-day stock prices) has several 'uncomfortable' properties: It is non-stationary and can have components of low and high frequency (trends and sudden price moves) There can be missing data for some days, typically single ...
Suppose we have a continuous time-interval $I=[a,b]$, and a signal $x \colon I \to \mathbb{R}$. A procedure that is sometimes carried out (e.g. when doing bispectral analysis) is to partition $I$ into $k$ small sub-intervals $[a\!=\!a_0,a_1],[a_1,a_2],\ldots,[a_{k-2},a_{k-1}],[a_{k-1},a_k\!=\!b]$ and take the Fourier t...
For the butterworth filter, in Matlab command: [B,A]=butter(2,0.5,'low') I find this result: B = [0.29289 0.58579 0.29289] A = [1 -3.33067e-16 0.17157] From here I cannot reach the Normalized Butterworth polynomial: G = [1 1.4142 1] Nor the poles: P = [-0.7071+i0.7071 -0.7071-i0.7071] Which is the relation...