instruction
stringlengths
31
27k
Let's say that I have a 2-FSK signal recorded so that the SNR is around 20 dB and the noise seems to be more or less white. The distance between tones is greater than the minimum distance needed for non-coherent reception. How would I go about determining its symbol rate? I had some ideas, but it was a while since I a...
I have a sound file with a computed spectrogram from 0 to 8000 Hz (spanning about 5 octaves). The spectrogram has 128 logarithmically spaced frequency bins. How can I reduce the number of bins so that I keep an equal bandwidth in octaves? Can I average adjacent bins? As an example, let's say I have 128 bandpass filter...
I am having some difficulty making an IIR filter in VHDL work as expected. I have implemented it by shifting the coefficients by a certain number of bits (in this case 27 bits). The outputs are then shifted down by 27 bits (divided by 2**27). I have used this technique before for FIR Filters and I had no problems with...
I am very new in signal processing and using digital filters. I have to use a low-pass filter to analyze my data in LabVIEW and have a question about it. Any help and advice is appreciated. I am trying to simplify my problem here: Let’s say there is a digital sine wave (made by LabVIEW) with $V_{offset}=1 \ \mathrm{V}$...
I have designed a second order butterworth filter. Sampling frequency: $4\textrm{ kHz}$, Cut-off frequency: $500\textrm{ Hz}$ $$e = \tan⁡\left(\frac{\pi \times f_c}{f_s}\right) = \tan\left(\frac{500\pi}{4000}\right) = 0.41421$$ Difference equation: $$y[n] = 0.0976\cdot x[n] + 0.1952\cdot x[n-1] + 0.0976\cdot x[n-2] +...
(c)A linear time-invariant system with impulse response $h(t)=e^{-\alpha t} u(t)$ is driven by the input $x(t)=e^{-\beta t} u(t)$ . It is assumed that $\alpha, \beta > 0$. (i) Using frequency domain analysis, find the output of the system. [Hint: $Y(f) = X(f) H(f)$] I'm finding in trouble trying to resolve this e...
Let say we have following image: made with following Julia-code: using Images using PyPlot using ImageFiltering function chessboardimg(m::Int, n::Int, blkwidth::Int, blkheight::Int, ) img = zeros(m, n) togglex = true toggley = !togglex for i=1:m togglex = true for j=1:n img[i, j] = abs(togglex ...
I'm looking into interpolating a signal by 2x and came into this matlab function interp: interp Interpolation — increase sampling rate by integer factor Algorithms interp uses the lowpass interpolation algorithm 8.1 described in 1. 1.It expands the input vector to the correct length by inserting 0s between the origina...
A sequence of data of length $N$ can be subdivided into equal sixed blocks each of length (size) $l$. For each block, $w$, we can calculate the entropy known as the block entropy. Considering, entropy calculation by varying the size of the blocks ie., the window size is different. The entropy of the entire sequence is ...
Is anybody familiar with Gustafson's algorithm for minimizing transients in forward backward filtering [1]? I'm trying to implement it and my first guess was to check Matlab's filtfilt.m, since they are referencing the paper. In the Matlab function also a linear equation system is solved in order to find initial condit...
Let's say I have a signal $s(t)$ and two filters $f_1(t)$ and $f_2(t)$, I also have a threshold $A$. Now I define $a_1(t)$ as $a_1(t) = \min(s(t),A)$, then I do the convolution of $a_1* f_1$. Now I also define $a_2(t)$ as $a_2(t) = \max(0, s(t)-A)$, (ie. whatever is above $A$) then I do the convolution of $a_2*f_2$. Th...
In this link on page 218, just before the first paragraph ends, it says: " We can interpret the power axes as one-half the square [...] of the modulus of the complex envelope." In the same paragraph, the average input power is stated to be $P_\text{in} = A^2/2$. Can somebody please explain to me, why there is no resi...
To my understanding hardware receivers for software-defined radio applications basically take the input signal, mix it with the tuning frequency to remove the carrier frequency and then sample the resulting voltage with a sampling rate that is just high enough for the bandwidth of the payload signal. They emit those sa...
I need to find Fourier transform of $$\sum_{n=-\infty }^\infty e^{-\lvert t-2n\rvert }$$ I found the solution online. But I think the choice of limits in equation (1) of the solution is wrong. It should be probably from $-\infty$ to $2n$ for the first integral and from $2n$ to $\infty$ for the second integral. But I a...
If a certain mother wavelet is defined and the optimal threshold shall be defined via Donoho, how can I define the optimal decomposition level to achieve the best denoising results.
Many OFDM wireless protocols (e.g. 802.11, DVB-T2, LTE, etc.) utilize pilot tones to provide channel state information for the receiver. Within the transmission, the pilot tones generally assume a BPSK or QPSK modulation depending on the protocol. Why do specifications have the pilot tones' phase follow a known psuedo...
Is there a rule of thumb for calculating the approximate filter order of a FIR/IIR based on passband vs sample rate? I seem to remember reading about it once in Undergrad. I'd think you could make a rough estimate like scaler * passband/stopband. I have been working on implementing different FIR/IIR filters and would ...
I am working with seismic ground motion records from the PEER database. They are acceleration measurements that are band limited to 50 Hz and sampled at 200 Hz. I use these records to drive an explicit finite element analysis of a structure to determine its response under the earthquake. This analysis runs with a 1e-5 ...
I have $N$ time series which have unknown time offsets relative to each other. I want to estimate the $(N - 1)$ time offsets, $\tau_{i,i+1}$, which maximise the sum of the cross-correlations between the time series. How should I do this? Notes: The MathWorks documentation provides an example of this. However, this exam...
I have two FFTs that represent two impulse responses. I want to interpolate between the two of them to generate a 3rd FFT in the manner shown in the diagram below. This is to be used in real time audio rendering filtering between two FFT filters. Linear interpolation between each of the FFT's complex coefficients does...
For 4-QAM symbol sequence, each symbol can be represented by $k=\log_2(4) = 2$ bits. 4-QAM constellation can be generated using s = round(rand(1,T)*2 -1) For 16-QAM, the symbol sequence takes 4 amplitude levels viz. $\{-3,-1,+1,+3\}$. Each symbol is represented by $k=\log_2(16) = 4$ bits. For 64-QAM, the symbol seque...
So I have an accelerometer, gyroscope, magnetometer and GPS. I would like to use a Kalman filter to optimally measure speed, position, acceleration and orientation. I have done research and I need to model the system mathematically, however this is the part I have got stuck on. Can anyone give me some pointers on how t...
In a typical compressed sensing scenario, $y=Ax$, where $x$ is a sparse signal and $A$ is the sensing matrix. To reconstruct the sparse signal $x$ from $y$, $A$ should posses the Restricted Isometry Property (RIP). Therefore, if a matrix does not possess RIP the reconstruction of $x$ will not be possible. How can we ...
I am trying to implement a box detection algorithm. In my pipeline, I start with image warping to simulate a frontal view of the shelf containing the boxes (assuming boxes are straight in that compartment). This then facilitates filtering extracted edges (ex. Canny) to only keep strictly horizontal and vertical edges. ...
Nonlinear amplifiers are characterized by their AM/AM and AM/PM. That's what I thought. But now I have a question: The amplitude and phase distortion characteristics, do they only belong to the fundamental signal component? I mean, to fully characterize my amplifier, are there AM/AM and AM/PM characteristics for the h...
It seems to me that this is a difficult mathematical problem where research is still carried on: Is there an efficient way to find fixed-point coefficients whose zeros are closest to those calculated from the given floating-point coefficients?
There are three techniques used in CV that seem very similar to each other, but with subtle differences: Laplacian of Gaussian: $\nabla^2\left[g(x,y,t)\ast f(x,y)\right]$ Difference of Gaussians: $ \left[g_1(x,y,t)\ast f(x,y)\right] - \left[g_2(x,y,t)\ast f(x,y)\right]$ Convolution with Ricker wavelet: $\textrm{Ricker...
I found a function called scipy.io.wavefile.read() which returns the sampling rate and an array. But in the documentation, it is not specified that whether the array returned by this function is of Amplitude or Sound Pressure Level. Which one is it?
There are numerous wavelet families that differ by a number of parameters (like the number of vanishing moments, symmetry, etc.). What are the known use cases where one particular family is known to be more suitable and provide better results? For example, Daubechies 9/7 are used in the JPEG2000 image format. As far a...
Is the system $y[n] = x[n] - x[n-1]$ stable or unstable ? If unstable, can you please give some examples of input signals for which the system becomes unstable?
I have two camera images taken from a camera mounted over a vehicle at time $t$ and $t+1$. I need to estimate the scaling and translation in the images in spatial domain itself so that information from two images can be fused to get a better image. I have camera calibration parameters, vehicle dynamics parameters for ...
For building a music recommender system(content based) which signal features should i use as feature factor ?? Will it be peridogram,spectrogram or fft or anything else ? This system will recommend music corresponding how much they are similiar. So which features correspond strongly to how much signals are similiar ? A...
I'm really new to DSP, I'm actually studying Computer Science and took an elective on DSP so my knowledge is pretty limited. I've learned that pure white noise signal for example has all possible frequencies, that means that it also has zero frequency so it has a non zero DC component(does that mean it?) but pure w...
I need to preprocess raw ecg data in R, here is a sample already standardized. I'm not an expert in signal processing nor experienced in working with medical data, so I need concrete answers ideally with code. Below is a plot of how the data looks like, so perhaps this can give an idea of the problems present. Quest...
So this is related to the Cookbook and I tried solving it maybe two decades ago, gave up, and was reminded of the unsolved problem. But it's pretty damn straight forward, but I still got slogged down in the muck. This is a simple Bandpass filter (BPF) with resonant frequency $\Omega_0$ and resonance $Q$: $$ H(s) = \fr...
For a given series, $S = \{-1,0,-2,1,etc\}$. The number of elements in $S$ is $N = 100$. Each $s_i$ belongs to a alphabet from a finite alphabet set $\mathcal{A} = (a_1=0, a_2=1, a_3=2, a_4=3, a_5=-1, a_6=-2, a_7=-3, a_8=-4)$. The cardinality of $\mathcal{A}$ is $m = 8$. Each $a_i$ is associated with a probability $p_...
Are there any advantages to use a window approach over Parks-McClellan (further abbreviated here as PMcC) or Least Squares algorithms for FIR filter design of a low pass filter? Assume with today's computational power that the complexity of the algorithms themselves is not a factor. This question is not comparing PMcC...
Often it is more desirable to have a roll-off versus frequency of the rejection in the stopband; for example resampling filters where all the alias image locations fold into the first Nyquist Zone. What is a VERY simple change you can make to the coefficient solution provided by the Parks-McClellan algorithm that will ...
Are there any "good" low-computational-cost approximations for parameterized Kaiser window generation suitable for small systems/languages that do not include Bessel functions in their standard library? (maybe only to 8 to 12-bit accuracy, and something that can be run in Basic on an Apple II, et.al.)
I am computing the Fourier series expansion of the given signal $x(t)$. In that I am having difficulties in calculating range of function $ \frac{1}{n\pi}(1-\cos(n\pi))\sin(\frac{n\pi}{2})$ (or) I am not able to get how can I arrive at equation (2) from equation (1) I have done some back calculation (and would like to...
The frequency spectrum of a time domain signal x(t) can either be written as X(f) or $X(j\omega)$. But how is the later correct? I mean, the frequency spectrum is clearly dependant on the frequency, not on a $j\omega$ part, is it?
I am looking at a datasheet where they show a graph: $V_{RMS}/\sqrt{Hz}$ as a function of frequency = VSD (voltage spectral density). The question is: how can a spectral density be in RMS? The root mean square is averaged over time or frequencies (Parseval's theorem)
I know that when we do convolution of $x(n)$ (Length $L$) and $h(m)$ (Length=$M$), length of output data comes out to be $L+M-1$, but when we break a large sequence of data and find output using Overlap Save Method, length comes out to be same as input. Why do the extra $M-1$ points are appearing in this case? In mor...
I've seen in many textbooks on Signals and Systems that an LTI (Linear Time-Invatiant) system can be described as a constant-coefficient linear differential equation, such as $$\sum_{k=1}^N a_k \frac{d^k}{dt^k}y(t) = \sum_{l=1}^M b_l \frac{d^l}{dt^l}x(t)$$ Later on, it is stated that the response of any LTI system can ...
I'm doing a project with an EEG to detect driver drowsiness and learned about EEG frequency bands (alpha, beta, gamma...). As the frequency bands are simple frequency ranges, I wonder if I can use several bandpass filters to get them (instead of using WPT / FFT)? Is this approach correct? Is there any reason not to do...
Question: I want to develop an algorithm or something similiar (or function?), based on my question. The following question is, how do I send power values as PWM-signals (Puls-Width-Modulation) from Matlab through Arduino UNO? Because, i want to send those signals to a vibration motor, which is controlled by the Arduin...
Based on Nyquist sampling theorem, sampling would have a convolution in frequency domain, and reasonably the bandwidth of each convolution would be as that of the original signal. Nevertheless, the discrete time Fourier transform of a signal ,which has been downsampled , has the $M$ multiples bandwidth of each convolu...
I have been trying to use spread spectrum technique for audio steganography. I read a lot about it.But i didn't find any information about the steganography scheme using FHSS(frequency hopping spread spectrum). Isn't it possible to do steganography in .wav files using FHSS?
I'm doing a project on intensity transformation using fuzzy sets. In the book Digital Image Processing by Rafael C. Gonzalez. The author says this Consider the general problem of contrast enhancement, one of the principal applications of intensity transformations.We can state the process of enhancing the contrast...
I've recently started a project about detecting driver drowsiness with an EEG and came across some terms I didn't quite understood: ...increase in theta activity occur... - ...low voltage theta activity during drowsiness induces alpha activity [1] ...by theta oscillations [2] ...drop of alpha waves ...automatically ...
I have the following plot which represents the RMS energy of a signal over time. The energy goes up and down with varying maximum amplitude. I want to keep the portions of the signal where the energy is quasi-steady (i.e. the top of each "hill", like the brown line). I cannot use thresholding because the local maxima ...
If I have transfer function coefficients, I can analyze the transfer function in the s-plane and/or the z-plane. If I wanted to demonstrate that the z-plane and s-plane responses are equivalent: Would it be possible to use the frequency warping relation (provided in the otherwise unused variable w.z in in the code) t...
Is it possible to calculate the FFT of a signal that was not sampled uniformly? I have an MPU6050 connected to an Arduino uno. I write the samples at the default frequency, approximately 20 milliseconds, but it's not always constant (see the image). Also see this related question. This is my first time I approach to ...
I was able to get a dataset with MFCC coefficients. However, depending on the length of my sound file I get a different sized matrix. As in, 13 (13 MFCC coefficients) by XXX, where XXX will vary depending on the length of the sound file. Does it make sense to 'normalize it' to keep XXX consistent? If so, how? Like in ...
I am currently studying for an exam in my Speech Processing course this Friday and I stumbled upon this question in one of the sample exams: The answer to this question was given as: Can someone explain to me why the pole is drawn in that location and why the reciprocal was taken?
I am trying to calculate the autocorrelation function of an image noise. Specifically, I want to calculate the NCORR parameter in the function deconvwnr(). I have knowledge about the noise, which is gaussian with mean 0 and variance 1. I found the examples in this website calculate the NCORR as follows: NP = abs(fftn(n...
Could someone please explain what simulated B-mode and phantom images are? I've seen them in several IEEE papers. How can one create these images? What is the formula for signal-to-noise ratio and contrast-to-noise ratio? Please share MATLAB code for the above ratios.
According to the Proof : \begin{align} X_n &= \sum_{k=0}^{N-1}x_ke^{-j\frac{2\pi k n}{N}}\\ X_{N-n} &= \sum_{k=0}^{N-1}x_ke^{-j\frac{2\pi k (N-n)}{N}}\\ &=\sum_{k=0}^{N-1}x_k e^{-j 2\pi k}e^{j\frac{2\pi k n}{N}} \end{align} Using $\exp(-j2\pi k) = 1 \quad \forall \ k$ \begin{align} X_{N-n} &= \sum_{k=0}^{N-1}x_k e^{j...
Is noise with uniform distribution present in some real-life applications? It seems that most of the internet sources describe uniform noise as something theoretical.
I met two definitions of word stochastic, the first one (cited from wikipedia Stochastic) The word stochastic is an adjective in English that describes something that was randomly determined The explanation of stochastic and deterministic what is used in textbooks really make sense according to definition above. Th...
I am a novice in image processing. As a part of my school project, I have to do the following steps in Matlab on the below image. Detect the edges of a leaf. Calculate the area of a leaf (excluding the stem portion) My friend suggested me an idea of calculating the total number of pixels in the leaf (excluding stem...
I have an application in which I have to process images taken through a mirror. The camera and mirror positions are fixed, and the object is always in the same position with respect to the mirror. The problem is that I get a ghosting effect because the image is also reflected by the transparent surface of the mirror. I...
So I remember seeing someone recommending a DSP book that had actual code for modulation and demodulation of a communication signal. Does anyone have any recommended resources they could point me towards that might having this? I've seem lots of things that have block diagrams, but no actual implementation of how it's ...
I want to implement the pathloss effect using MATLAB simulation. I use the D2D path loss model: $$148+40\log_{10}(d)$$ I did not find the right way to add the pathloss effect in the received signal, which is a vector of QAM randomly chosen elements.
If I want to simulate a digital oscillator (or phasor) to modulate an arbitrarily length signal: $$y(t) = \cos(2\pi f_ct)\quad\text{where}\quad t = \frac{n}{f_s}\quad\text{for sample}\quad n$$ What is the advantage of using a numerically controlled oscillator (Answered here) versus simply incrementing $n$ over the leng...
I'm making a guitar tuner for iOS.Due to the fact I'm Beginner I'm struggling a bit to gather all the resources and information about it. I know the theory like ( correct me if I'm wrong ) :- First I need to get the input from microphone. Then need to apply apply FFT algorithm to get the frequency Then compare the fre...
This signal represents a drawn line. For some reason, the device showed interference as shown in the figure below: The question is: how can I remove the interference, making the signal as continuous as possible? Any suggestions?
How will the signal $\sum_{n=-\infty}^\infty \Delta (t-n)u_{-1}(t-n)$ look like? I understand that $\sum_{n=-\infty}^\infty \Delta (t-n)$ is a periodic signal with period $1$, where the triangular pulse $\Delta(t)$ is shifted by $1$ units for each value of $n$. where, $$\Delta(t) = \begin{cases} 1-2\vert t\rvert,& \lv...
I would like to segment pages of a historic book, which is printed densely and shows disconnected black column separators, see below. What I would like to arrive at is the following segmentation. I have been playing with ocropy so far, which makes use of scipy/ndimage. But the tool used is not important, I'm interest...
As far a I understand WPT is a generalization of DWT in a sense that you get a whole binary tree of possible orthogonal decompositions where DWT is only a one branch. And WPT also downsamples a signal at every level by the factor of 2. Am I correct? But at the same time there are statements that WPT gives better prec...
Please let me ask your help on my problem. My following DFT program outputs: [Testing frequency's amplitude: $56.9708$, and its phase: $1.32018 \pi \textrm{ rad}.$] Testing frequency's amplitude should be $57$, then it is okay. But its phase should be $-0.68\pi\textrm{ rad}$. Obviously it is obtained by subtracting: ...
Some signal is decribed by a formula $$S(t)=S_0 e^{-tC}\text.$$ I have given $t_\text{min},t_\text{max}$ and number of points. What is the optimal way of sampling such a signal? How to choose the proper values of $t$?
I am recording acceleration data with an MPU6050 connected to a Arduino1 and stored on a SD. Here you can find the code. I need to calculate the FFT of an acceleration signal that was not sampled uniformly, so i have to resample my signal. After this suggestion I tried to study how to resample the signal. From Mathwork...
For a given quality of image (or quality of compression), Multiple 8x8 JPEG images can have the same DCT (Discrete cosine transform) matrix, for a given quality of JPEG compression. I want to find the number of those 8 by 8 JPEG files which have different DCT codes. I write the question in a different way: Assume a se...
I understand the advantages of SC-FDMA over OFDM and I also understand the disadvantage of additional complexity (FFT block), are there another disadvantages? Also, if $N$ has to be bigger than $M$ ($N>M$) then I don't understand why I don't lose rate as a result of padding with zeros instead of transmitting another da...
This question is based on , "A Symbolic Representation of Time Series, with Implications for Streaming Algorithms". Let, $N = w\cdot l$ where $N$ is the number of data points in a time series composed of symbols from a finite alphabet set $\mathcal{A} = \{a_1,a_2,...,a_n\}$. For example, for $n=2$ (binary source) : A d...
I am currently studying for an exam for a Speech Processing course I am taking and stumbled across this question in one of the sample exams: I began to plot the pole-zero configuration placing my poles on the unit circle at points +j and -j as well as placing my zero in the 0.5 location. When I compared my plot to his...
I'm seeing ripple in the time domain when resampling a "unity signal", that is, all ones, with lanczos filters. The ripple/error exactly resembles a cosine with a period of the sampling rate - ie. the error is largest at a fractionate sample offset of 0.5. Using larger $a$ for the lanczos kernel reduces the error, but ...
Say I have a signal: [1, 1 , 1; 1 100 1; 1 1 1];, I wanted its frequency response, then can I take its FFT? Why does MATLAB have two functions to do the same thing, fft2 and freqz2?
I have the following data collected from a heart rate sensor. The data is in bpm vs. milliseconds. All the data points below 80 is incorrect (errors/noise). When it plummets below 80, it's because the heart rate sensor fell off the subject. Similarly, although on this graph it is not there, there are often spikes that ...
EDIT: From here (https://www.mathworks.com/help/signal/ref/butter.html) it appears that an Butterworth filter has a non-linear phase lag at the normalized frequency of 0.5 onwards. Does that mean that if the signal has multiple frequencies beyond 0.5, its output after passing through this filter will be distorted by th...
For stereo cameras on the market, two cameras are always mounted side by side and with a displacement that is perpendicular to the cameras’ optical axes. I take this setup for granted. One idea came to my mind whether this is necessary? If two cameras are not parallel and have different focal length, camera calibration...
I have heard of three books of Proakis namely Communication System Engineering, Digital Signal Processing and Digital Communications. I love the way he writes and would like to read about continuous/analog signals and systems by the same writer. Some of it has been dealt with in his book 'Communication System Engineeri...
I am working with adaptive filters and similar adaptive models (mainly with gradient adaptation) for a few years. I and my colleagues always struggle to find out the correct size of regression vector. So far, as I find out by the hard way (experience): for filtration mostly works well (low MSE) with something about 10...
Therefore, any other frequency, no matter the amplitude, won't interfere or degrade original wave in the DSP frequency domain systems?
I'm using a sliding RMS mechanism to compute RMS of a signal, i.e. with a window size of N, I add the squared value of the new sample $x[n]$ to the running total while deducting the squared value of the $x[n - N]$ sample and then performing a square root to get the RMS value. This method works fine when a cycle's worth...
Different people reading the same sentences, we can know from the voice who is speaking. What makes the voice distinguishable?
I want to simulate a Pulse Doppler Radar with medium pulse repetition frequency (PRF about $100\textrm{ kHz}$, about $500$ pulses in pulse train). It's rather powerful, and should discriminate targets with $1\textrm{ m}^2$ RCS in ranges up to $200\textrm{ km}$. Okay, let's build its range-speed image (about $\pm 750\te...
I'm working on a voice biometrics project and am looking for some guidance on two key issues: First, does anyone know if a standard exists for voice biometric system accuracy? I have been unable to find any specific numbers, but it looks like most publications aim to achieve an accuracy of at least 80%. Second, what i...
I have probably amateurish problem. Assume that we have a USB tuner DVB-T + connected antenna. I would like to write a program that will detect the signals of at most a few milliseconds. Signal looks classically as follows: Someone can help me how to do it? I want to write it in C. Edit: I do not need, of course, the ...
I previously asked if it was possible to use encryption-grade randomness as a CDMA spreading sequence and learned that the codes must be orthogonal, not necessarily random. I've tried different ways of generating codes and very few can coexist without mutual harm. Everything I have seen on the subject says that you can...
The question is based on Book : Fundamentals of Statistical Signal Processing by Steven Kay, Chapter 4 : Eq(4.21). The expression for the variance of the estimated coefficients when the input is PRN as $$\textrm{Var}\left(\hat{h}_i\right)= \frac{\sigma_w^2}{Nr_{uu}[0]} \tag{1}$$ where $\sigma_w^2$ is the variance of ...
Talking about undecimated DWT let's focus here on SWT algorithm. SWT is said to be: numerically more stable due to Mallat algorithm. And the inverse operation is capable of returning the original signal which is not the case with CWT SWT is computationally faster than CWT On the other hand: SWT works on dyadic scale...
Does anyone know of a DSP that is cheap and has 8+ inputs (8 I2s mics) and that can perform beam forming calculations? I'm super new to circuit design so preferably one thats beginner friendly. Thanks edit: We are students who were kind of thrown onto this project for a class with little prior experience and one of th...
I have two C implementations of 4th order high-pass filter (fs = 16 kHz, cut-off=100 Hz, designed using Matlab butter() function): 1st. Done as standard difference equation implementation. 2nd. Done as product of two Biquad sections. The final implementation will be a fixed-point DSP code. Why is biquad implementat...
I am currently working on a Drone that navigates to different points that it detects on the ground. To go from one point to another in a smooth manner, I am employing a PID looks at the error between the current and the desired location of the drone. Currently this is a two dimensional problem. Soon enough, it is going...
If sampling frequency is fixed, how can I generate a frequency domain signal of a particular bandwidth from a time domain signal of dimension $1\times N$? e.g. if $f_s=100\,\text{kHz}$, how can I generate a signal of $30\,\text{kHz}$ bandwidth? or of $15\,\text{kHz}$?
Is there somewhere an implementation available for the reconstruction of audio from a spectrogram? (e.g. based on this approach). I could not find anything, but I think there should be an implementation somewhere. Where can I find it? Thank you
Given only a magnitude response $A(\omega)$ of a minimum phase filter, one can calculate the phase response using the Hilbert Transform: $$θ(ω) = -\mathcal{H}\{\ln(A(\omega)\}$$ This paper suggests that there is another Hilbert Transform relationship between magnitude and phase for maximum phase filters, but I can't fi...
Having an impulse response of an audio system recorded as a wav file, how to calculate the frequency response of the system with octave?