instruction stringlengths 31 27k |
|---|
I measure magnetic fields with high precision, in a gradiometer setup with fluxgate magnetometers, sampling at 2000Hz. I can have big data sets if I want to - one is 600000+ samples long. I need to find the phase and amplitude of a 50Hz sine signal. However there are other (low frequency - 2.145Hz) stronger signals sup... |
I am writing a sound generator that needs to scan through audio samples at an arbitrary rate. When the sample is played at it's original rate, it sounds fine. But when I change the playback speed, it produces aliasing noise.
I read this answer and it seems that I need to use Lanczos resampling to get a better outcome (... |
I have attached a snapshot from "signal processing first "
Where author says that properties of LTI systems are same as properties of convolution as shown in attached snapshot
Are these properties exactly same for both cases,convolution and LTI systems?and we don't need to apply any scaling etc?
|
The Fourier transform of the convolution of two signals with stride 1 is equivalent to point-wise multiplication of their individual Fourier transforms. I need to perform stride-'n' convolution using FFT-based convolution. For some reasons I need to operate in the frequency domain itself after taking the point-wise pro... |
if $\mathbf x$ is $N\times 1$ sparse vector, and $\mathbf A$ is an $M\times N$ matrix with $M<<N$, and we measure $\mathbf y=\mathbf{Ax}$, then compressed sensing theory tells us that we can exactly recover $\mathbf x$ from $\mathbf y$ under some conditions for $\mathbf A$ like RIP.
But what if $\mathbf A$ is an $M\t... |
Background : This is my first question in this forum, and although I read several threads on this side and googled a lot I could not find the answer to my question (maybe it is too basic)?
For anyone reading this thread with a similar question: The code is now adapted in a way that the answer is partly given in this qu... |
Let $T$ be the window duration, $N$ be the DFT size, $F_s$ be the sample rate, and $F_{max}$ be the frequency of the highest bin. In the context of image below:
halving the $F_s$ (keeping $T$ constant and N constant halving N) would remove the right half of the bins (halving the maximum frequency)
halving $T$ would ch... |
I have developed a spectrogram in Python using Scipy.Signal.Spectrogram. But I need a complete understanding of data. Here I am not asking about plotting and color selection etc. I am more into data (numbers). I am attaching a picture, please have a look :
In image 1, you can see that I have an array of frequency mapp... |
I'm trying to model a sensor system that has an averaging behaviour. The frequency response is almost identical to a box filter and looks roughly like this:
Transferring this into a discrete time model would require a box filter of non-integer length - e.g. $N=2.5$ samples. Now I am looking for ways to model this syst... |
I encounter a curious situation wherein the recording device of my EEG data appears to affect how many transients of definition "x" I find, especially strange since the amplitude criterion is relative (standard score instead of voltage).
One crucial difference is that the devices use different A/D resolution (12 vs. 22... |
This is a "DSP Puzzle", Please preface your answer with spoiler notation by typing the following two characters first ">!" as the intention is for readers to think through what the solution might be first (the ones that want to participate, others can hover over immediately to see the solution).
A second order "type 2"... |
I am learning signal processing and need some help with this question
$h[n]=-x[n]+2x[n-1]-3x[n-3]$
Given the following input signal $x[n]$ calculate y[n] the output of the system $x[0]=2, x[1]=0, x[2]=1, x[3]=-1$
What is my first step?
|
Looking at FabFilter's ProQ3 plug-in, they have an option at the bottom of the window to switch between Zero Latency and Linear Phase modes (and I think a Natural Phase option too).
I'm familiar with BiQuad filters, I'm pretty confident I understand them quite well... but I don't know how FabFilter achieve these differ... |
I read the Wikipedia documentation and it's not clear to me what is the full scale concept. What is the meaning of changing the full scale? How I can preserve data in that scale?
|
I'm trying to perform a state estimation on quaternions to predict the future orientation of a human head. The only sensor data I can obtain (from the AR headset) is the current orientation of the head, sampled at 200 Hz i.e. I don't have access to any gyroscope or acceloremeter data. After getting the state estimation... |
I created a wav file by "audacity" app on my mac and imported in MATLAB. This is the simple code I wrote to read the file. But as it reads, it plays so much slower than its actual speed. Does anybody know how to solve this problem? Thanks.
d = audioread('HelloWorld.wav');
sound(d)
|
Is my understanding correct w.r.t Q format.
signed Q15.1 format means, 15 bits for fractional and 1 for integer bits
SO max range is - 2^15 / 2^15 to + (2 ^ 15 - 1) / 2^15
signed Q7.0 means, 7 bits for fractional and 0 for integer bits,
So max range is -2^7/2^7 to + 2^7 - 1 / 2^7
signed Q7.1 means, 7 bits for fracti... |
I have this data that need to be downsampled so that it can be fed into a classifier. The issue is that I need to downsample from 1000Hz into 20Hz. If you see the graph below, the blue line is the original data, and the red line is my attempt at downsampling... which looks awful.
Is there any way I can downsample this... |
I am trying to understand the terminologies in QAM. This is the information that I have:
number of symbols -
bits per symbol -
samples per symbol -
I understand bits per symbol but I am confused with number of symbols and samples per symbol. I read that samples per symbol is sampling rate but what is the purpose of it.... |
I have the following phase noise plot (-100dBc/Hz @ 1MHz offset and -130dBc/Hz noise floor):
The integrated phase jitter for this phase noise is around $4.6^\circ$. According to my understanding the spread of the constellation due to phase noise is equal to the integrated phase jitter.
But I see that the spread is mu... |
I want to work on co-frequency and co-time blind signals separation or carrier-in-carrier signal separation project. In articles published under the heading of blind separation of these signals, it is always assumed that one of the signals is known and the other signal is obtained by using that. I couldn't find an arti... |
This is meant to be a puzzle so please preface your answer with spoiler notation by typing the following two characters first ">!"
An often mentioned negative side of the zero padded OFDM is that it does not have the elegant and simple form of a modelled circular convolution between the channel and IFFT frame that a c... |
I am trying to understand how to get time as I already have sample rate. I want to draw a graph of sample rate vs time. I have information such as carrier frequency, channel bandwidth. Can that be used to get time.
So far, I have understood this: Samples per symbol and number of symbols for QAM
In order to get the tim... |
I'm working on a DVB-S2 receiver and I'd like to be able to test a part of the DSP chain with real-world signals, but getting good sample streams from a digitizer is not terribly easy.
Can anyone point me to DVB-S2 sample streams available on-line, i.e. digitizer output? I'm particularly interested in adaptive/variable... |
What's the expected behaviour of Wiener Filter for different taps (memory filter) , when input signal is a sinusodial tone?
Do you have any idea how I can plot or simulate Wiener Filter's behaviour (estimation basically) for different value of parameter M ?
I hope my imlementation is correct. M is the filter's memory ... |
I try to compute 2D DFT in a greyscale image with this formula:
I write the code bellow with python
def DFT2D(image):
data = np.asarray(image)
M, N = image.size # (img x, img y)
dft2d = np.zeros((M,N))
for k in range(M):
for l in range(N):
sum_matrix = 0.0
for m in range... |
Assume that we have an unknow dynamical system and we only want to estimate its parameters. The system can be discribed as:
Continous time:
$$G(s) = \frac{3s + 5} {5s^2 + 3s + 2}$$
Discrete time with sampling time $h = 0.5$:
$$G_d(z) = \frac{0.36735z -0.15316}{z^2 -1.6551z + 0.74082}$$
My goal is to find the amplitudes... |
From what I understand quantization takes an analog signal and assigns numerical values to it as convert it to a discrete signal. However coding converts a signal into binary. It seems like coding is a part of quantization--if you're assigning a value to an analog signal, and you're using a computer, you'd necessarily ... |
I have a small misunderstanding of cross power spectral density between two complex signals. I know that it is the Fourier transform of cross correlation between two signals. Let's say the complex signals are of the form (a+ib) and (c+id). Then the cross-correlation should result in something like
The real part result... |
I am having the FFT results of two distinct voice signals. Let's say the FFT results of these two signals are of the form (a+ib) and (c+id). Now, I want to calculate the PSD of each signal and also the Cross PSD between them. I'm calculating PSD and Cross PSD as follows.
PSD of signal 1 = a * a + b * b;
PSD of signal 2... |
I am an undergraduate student who is trying to classify motor imagery from EEG data!
I have no experience working with EEG or any neuroscience background, I only have a very basic knowledge of how EEG, ERD/ERS and frequency domain work from the papers I've tried to read but don't understand and the basic idea of what t... |
Let's say I have a transfer function which is a unit step function.
$H(s) = \int_{0}^{∞}e^{-st}dt$
But when we write,
$H(s) = 1/s$ it is only true when $Re(s) > 0$
So after we derive the Laplace Transform for the unit step, we forget all about how we derived it and how $H(s) = \infty$ for all $Re(s) \leq 0$
What makes... |
I am doing an experiment where i have to excite a plate and scan a region on it using a laser signal.
I am acquiring the signal from the laser continuously using an NI daq tool. i then have to divide this signal into a set of discrete intervals, (each corresponding to a 1 mm segment in the scanning region), in which ... |
I am trying to send QAM data through AWGN channel and I have 256 samples/symbol, I have the following code:
data = randi([0 3], 1, 2^12); % Generate data
dataMod = qammod(data, 4); % Modulate data
dataMod_u = upsample(dataMod,256); % Upsample
b = rcosdesign(0.25,8,256,'sqrt');
dataMod_f = filter(b, 1, dataMod_u); % Tx... |
I'm trying to design a FIR lowpass filter using Hann windowing in Python but I don't know where to start from... I have fc1,fc2, ft, rp and rs as parameters. This is my Python code:
import myDSP
import matplotlib.pyplot as plt
import scipy.signal as signal
import numpy as np
... |
I am new with Matlab and doing some work on Amplifier and Bipolar Shappers Amplifiers. Adding Noise to a Time Domain Signal is quite easy and I have done it multiple time as:
T=10/wu;
N=100;
time=1:1:N;
time=T*time/N;
noisevec =0.55e-3*sqrt(0.707)*randn(size(time));
y22t=y2t+noisevec;
But Now I want to add a particula... |
Suppose $x[n] = e^{j\omega n }$. I've seen following statement many times in the different sources:
For the discrete-time sinusoidal signal $x[n]$, as $\omega$ increases from $\omega = 0$ toward $\omega = \pi$, $x[n]$ oscillates progressively more rapidly. However, as $\omega$ increases from $\omega = \pi$ to $\omega ... |
I am having a doubt reading about delays in signal processing.
Let there be an input to a LTI system with frequency response $H(f)$, given signal $x(t) = a(t)\cos(2\pi f_ot)$, where $a(t)$ is a narrowband envelope and of bandwidth $B$ Hz, such that $f_o \gg B$.
The output $y(t)$ is given by $$y(t) =\lvert H(f_o) \rvert... |
I am banging my head against (specific aspects of) CDMA for a few days. At the basic level I am confused about the interrelation between implementations that are modeled as mixing and fully digital implementations. Example:
Mixing could use the the matrix $[ 1, 1 ; 1, -1]$ (appears in the example of https://en.wikiped... |
I've got a WAV file with a rectangular pulses coding zeros and ones. By specification, a 1 bit is a 320 microseconds wide rectangle, and a 0 bit is a 640 microseconds.
So basically the idea is to detect "zero points" where the signal comes over the time axis. When I get it, further processing is trivial.
The naive appr... |
I'm trying to implement 2 lowpass filters and see the difference between them from plots( one FIR filter that needs to be designed with the Hann window method and another IIR filter using Chebyshev type I). The problem is that I can't make 2 correct plots to see the difference between them and I don't know exactly if t... |
I'm trying to write a program in Matlab that samples (using Nyquist theorem) and recovers signal. However, I cannot write sampling part for sum of 2 signal.
f1 = 30;
T1 = 1/f1;
amplitude1 = 1;
f2 = 60;
T2 = 1/f2;
amplitude2 = 1;
signal1 = amplitude1 * sin(2*pi*t/T1);
signal2 = amplitude2 * sin(2*pi*t/T2);
signal... |
(This is a followup question to Is this a "valid" CDMA modulation?)
Is it possible to find a CDMA scheme in which the receiver can only have a simple slicer?
In other words, for the receiver, the signal should look like an ASK-like signal, i.e. it can detect a bit of 1 (above the average) or a bit of 0 (below the avera... |
I am trying to remove an artifact from a VHF transmitter (programmed at a frequency of 148535; 1.5sec between 200ms pulses; 1.7sec peak to peak) from a sleep recording (polysomnography recording with electroencephalogram, electromyogram, electrooculogram, and electrocardiogram sampled at 500Hz) of a wild animal. There ... |
Suppose that system has the input/output relation as follows
$$\sum_{k=0}^{N}a_k \frac{d^ky(t)}{dt^k} = \sum_{k=0}^{M}b_k \frac{d^kx(t)}{dt^k}$$
Where $a_k, b_k \in \mathbb{R}$.
Obviously we need additional conditions to determine completely the input-output relationship for the system and those auxiliary conditions ... |
I'm trying to change the frequency of an audio signal from 22050hz to 500hz. I'm using librosa to read the wav audio and pass the custom sampling rate as 500. Once read, I'm saving it back to audio file. The frequency of the signal has been updated (verified using fft) but the problem is that new signal is inaudible (n... |
Goal:
I have an unknow dynmical system $G(s)$ and I want to find it from measurement data, output $y(t)$ and input $u(t)$. The data is frequency responses.
Method:
I begun first with creating the data.
$$u(t) = A sin(2\pi \omega (t) t) $$
Where $\omega(t)$ is frequency in Hz over time and $A$ is fixed amplitude.
Let's ... |
The signal that I produce above. What is the reason for it to slide to the right? In oversampling at Nyquist rate can I make like below picture ? do you think the signal i produced at nyquist rate is correct, why so on the right? I was expecting to draw as below picture.
(Blue is the my signal, Red ones sampling and ... |
I have a code below that identifies the edge of the text image. Input image is:
Output display is:
I want to select random points near the edge border of the text. I was thinking to identify if the edge pixel is part of the horizontal or vertical line. If it is part of the horizontal line, I can choose a vertical ra... |
Consider the causal function,
$y[k] = 2x[k] - 40x[k - 1] + 10y[k - 1]$ $16y[k - 2]$;
where $y[k]$ is the output and $x[k]$ is the input. Assume that the system is initially at rest.
Please someone help me find $H(z)$ and $H(k)$ from given equation. I have an assignment due to tomorrow
|
I try to understand how works polyphase method in term of frequency response of partial filters.
Of course, the common is that the filters operate at low frequency, but what differency between them. How it works?
|
I'm seeking a good advice for a filter. Can you help me?
Right now I made my own simple filter. Not sure what I'm doing, but it seems to work.
function testFilter (t, y, p)
% Forward filtering
% Do first filtering by jumping k/2 elements in the future
l = length(t);
ye = y;
for i = 1:l
sum = 0;
... |
T = 3*(1/25);
fs = 1000;
t = 0:1/fs:T-1/fs;
x = sawtooth(2*pi*25*t,1/2);
x = (x + 1)*0.5;
subplot(3,1,1)
plot(t,x)
grid on
xlabel('Time t (sec)')
ylabel('Amplitude')
This is my code and my signal. I want to find its fifth and seventh harmonics. How can I do that ? I cannot find any source or any example for this. Can... |
Before you read my problem, I've summed up my experiments in a notebook available here.
So, I have a few noisy samples (~50) of a pseudo sinusoidal signal for which I use a traditional discret Fourier transform in order to extract the amplitude and phase of the fundamental (real signal is much noisier).
fft[1]=5.0, 60... |
I have implemented the WSOLA time stretching algorithm for audio data, but there are still many artifacts from the stretching.
I don't actually care about maintaining pitch and am totally ok with the "chipmunking" effect. What options are available for time stretching in this case? Are there any algorithms I can use t... |
I need to detect the PSK modulation posted on my previous post (phase difference detection) with 8 to 16 phase constellations (depending on selected baud rate) over a max $60^\circ$ PSK phase range. For communication start and end the Tx generates carrier with $\Delta(\phi)= 0 \text{ or } -180^\circ$ to enable Rx to sy... |
I am using a mean centered signal and applying fft to it, however the dc and nyquist values are a lot higher than all other values. Wondering if I am doing anything wrong or need to add anything else. The first image is the signal and the other is the fft output.
load Dog_1_interictal_segment_0001.mat
%interictal_se... |
I have a white noise generator circuit which involves a Zener diode meant to undergo breakdown across a resistor $R1$, and am trying to compare power spectral densities and autocorrelation of the output I get. I recorded the data on an oscilloscope with microsecond, milisecond, and half second timescales.
First, I tr... |
I have implemented QPSK but I have to make changes to OQPSK.
On the transmit path I am clear, as I have to delay Q channel by 1/2 symbol.
My receiver costas carrier recovery will not be the same. I have not found much info about this.
What changes are required?
Gardner timing recovery will be same as qpsk except the Q ... |
I have $x(n)$ = {$4,-1,-3,1$} and $h(n)$ = {$2,1,3,5$}.
I would like to know how can I check whether
$h(n)$ is stable filter or not and
$h(n)$ is causal filter or not?
|
I am preparing a proposal for satellite transponders and need to choose transponder architecture. Based on primary research I realized that the regenerative transponders have a better characteristic.
I am looking for a reference to extract the transponder characteristic(for example BER and SNR relationship).
Does anyb... |
I want to work on co-frequency and co-time blind signals separation or carrier-in-carrier signal separation project. In articles published under the heading of blind separation of these signals, it is always assumed that one of the signals is known and the other signal is obtained by using that. I couldn't find an arti... |
I've implemented 2 filters in Python I would like to know if they look OK or not.. I've implemented an lowpass FIR Hann Filter and an lowpass IIR Chebyshev type 1 filter. My plots look like the following: Time amplitude and frequency spectrum:
Hann Window:
Cheby 1:
Is there something that I did wrong, that I shoul... |
What is meant by phase response of a filter? Often it is associated with restoration of signal shape,so if a filter has linear phase response, its output looks like input otherwise output is distorted if the filter has non linear phase response
Example of linear phase response filter is FIR filter and IIR filter is e... |
I am trying to implement a digital communication system as a learning exercise. For error correction, I am using two concatenated codes (RS and convolutional). However, I read that, in order to reduce the damage caused by burst errors (and in some cases controlling the DC level of the output signal), it is a good pract... |
What is the Fourier Transform of $\rect(2Bt)\cos[{\omega}_Ct + k_fm(t_k)t] $?
I got the following as the solution:
$$\DeclareMathOperator{\sinc}{sinc} \frac{1}{2} \frac{1}{2B} \sinc(\frac{\omega+{\omega}_C+k_fm(t_k) +}{4B}) + \frac{1}{2} \frac{1}{2B} \sinc(\frac{\omega-{\omega}_C-k_fm(t_k) +}{4B})$$
However, in the boo... |
Is it possible for multiple users to simultaneously transmit on the same subcarrier in a MIMO-OFDMA system?
|
I wonder to which extend it is possible to combine a self-clocking code (like Differential Manchester encoding) with synchronous CDMA, and how it would be done?
Suppose I want to receive some bits from devices where each of them has sufficiently synchronized clocks but the receiver of the bits does not (and hence suffe... |
T = 3*(1/25);
fs = 1000;
t = 0:1/fs:T-1/fs;
x = sawtooth(2*pi*25*t,1/2);
x = (x + 1)*0.5;
subplot(3,1,1)
plot(t,x)
grid on
xlabel('Time t (sec)')
ylabel('Amplitude')
I want to take DFT(Discrete Fourier Transform) of my signal using FFT and FFTShift and find frequency spectrum. However,the graphics I found did not seem... |
Using a pole zero placement method, design an infinite impulse response band-pass filter with center frequency of $\pi/2$ radians per second. Hint: Use two poles and four zeros.
|
I am confused about the delay concept in the ambiguity function. The FFT of slow time is the doppler frequency. However, people usually relate the range-doppler domain with the ambiguity function domain. However, the range corresponds to the fast time.
|
Currently learning about PSD curves to which I have a query regarding the attached curve.
Why is the RMS value greater than its mean square value. I understand the RMS to be the the square root of the area under the curve and thus should always be less than the area of the curve.
What am I missing?
Thanks
|
Consider the following vectors in $\mathbb R^4$:
$$\mathbf{v}^{(0)}=\begin{bmatrix}\frac{1}{2}\\\frac{1}{2}\\\frac{1}{2}\\\frac{1}{2} \end{bmatrix} , \mathbf{v}^{(1)}=\begin{bmatrix}\frac{1}{2}\\\frac{1}{2}\\-\frac{1}{2}\\-\frac{1}{2} \end{bmatrix}, \mathbf{v}^{(2)}=\begin{bmatrix}\frac{1}{2}\\-\frac{1}{2}\\\frac{1}{2}... |
I have to find the characteristic function of a random Gaussian variable of $$ \sigma_z (w) = E e^{i w z } $$. This is the variable and I know , from the theory that the characteristic function of this variable is the Fourier transform of the probability density. From theory I read that the probability density is $$\f... |
I made Channel equalization with matlab,
You can find the code below.
clc; clear all; N = 1e3; MQAM = 2;
d = randi([0 1],N,1);
x = qammod(d,MQAM,'gray','InputType','bit');
h = [0.1 0.5, 0.1 0.2];
r = awgn(complex(filter(h, 1, x), zeros(size(x))), 10, 'measured');
eq = comm.DecisionFeedbackEqualizer;
eq.Constellation ... |
I have to calculate the analytic expression of Fourier transform $$ x(t) = t{\rm rect} ( t- \frac{1}{2} ).$$ First I made the graph of these two signals and I obtained the graph I posted.
Now I wrote the analytic form of this graph that is $$ x(t) = t $$ for t from 0 to 1 and $$ x(t)=0 $$ for the rest. Now I should... |
A narrowband FM is approximately given by:
$ x(t)= A[\cos w_ct - k_f a(t)\sin w_ct] $
where
$ a(t)= \int _{ -\infty } ^t m(\alpha) d\alpha$
How does frequency multiplying $x(t)$ by a desired multiplier result in WBFM?
Please show the mathematical steps.
|
I have a stream of data over time that I have fed into a Kalman filter. This data represents the vertical displacement in time of a vehicle's rearwheel as it travels over a bump in the road. The wheels are being detected through video processing.
How can I fine tune my algorithm to reduce the sawtooth jitter that the K... |
I know that discrete signals have finite precision. But does that means that those signals can have only integer values(for example,2,3,4 etc) but not decimal values(for example 2.1,3.2,4.2 etc)?
|
I have a bunch of phone interviews where there is large sound volume difference between two voices in some of the interview audios, because they were recorded only on one side of the phone. May I ask what is the preferred procedure for reprocessing these audios so they are fit for downstream machine learning feature ex... |
I meet a confusing thing in image processing recently....
Assume the image $x \in \mathbb{R}^n$, with its derivative (difference) matrix: $D^+ = \begin{bmatrix} D_h \\ Dv \end{bmatrix} \in \mathbb{R}^{2n\times n}$ ($+$ means forward difference), also equal to $\nabla$. Therefore, it is natural to define the divergence... |
FIR filters are generally stable and have linear phase response. These two characteristics are often desired in dsp
So why do we need and use IIR filters,despite the fact that IIR filters often have issues in these two characteristics of stability and linear phase response ?
|
My Question is related to the implementation of the paper Segmentation by retrieval with guided random walks: Application to left ventricle segmentation in MRI
After careful reading of the code of the random walkerAlgorithm on scikit-image library website, I tried to implement the Omega, Laplacian, and A matrices from... |
I have a speaker emitting low-frequency sinusoidal wave and I have physically marked a curved edge on the speaker driver as shown in red in the image below, which I would like to track:
I detect the movement of the speaker driver using a Dynamic vision sensor(DVS) based event-based camera which can capture changes in ... |
I am reading gonzalez chapter1 As shown highlighted in attached snapshot, what is meant by this mid level task: description of those objects to reduce them to a form suitable for computer processing,
please kindly elaborate/explain this statement,preferably with example
|
In an OFDM receiver, how could we find the start of the symbol for FFT operation.
I know the CP-based method to find the start of symbol. However, what if the sampling is off by some duration. We will not get the same digital signal at the transmitter. How serious is that issue? Is it simply addressed in the channel ... |
I am trying to learn how to implement the FFT as a way to approximate the continuous-time Fourier transform, and as a "nice easy example" I have chosen to test it with a simple Gaussian pulse in the time domain, given by
$$
x(t) = A \exp \bigg(-\frac{t^2}{2\sigma^2} \bigg), \tag{1}
$$
and I know that the analytic cont... |
What is the difference between edge detection and contour detection?
Apparently both techniques are used to detect boundaries of close shapes(whether oval shape or r rectangular shape)
|
for an assignment, I'm supposed to work with matlab, with the image below.
The task is to convert this image to a grayscale version (which wasn't a problem) and then to alter the image with imadjust so that only the writing and the arrows (not the shells) are visible. Since both the shells and arrows are yellow, I'm wo... |
I am doing a project to filter out a 1kHz noise inserted to a 30sec .wav audio file.
To filter out the 1kHz noise, I am required to design using two Butterworth filters connected in parallel where one is a low pass and the other is a high pass Butterworth Filter.
I have tried to notch out the 1kHz noise by setting th... |
Any help to get me started is appreciated. I have an array of values for the 4-QAM where attach is a copy of part of the values of the array. I want to know how do I get the bits 0 and 1s from those values. I would be using python to program. Thank you very much
I have searched the forum and the post below is somethin... |
My system is described by the following ODE:
$$
\frac{\mathrm{d}y(t)}{\mathrm{d}t} = a-y(t)x(t)
$$
Where $a$ is a constant and x(t) is a poisson process so that:
$$
E[x(t)x(s)] = qI\delta(t-s)
$$
The solution is of the form:
$$
y\left( t \right) = e^{-\int^t{x(z)dz}}{\int^t{a\,e^{\int^z{x(w)dw}}}dz+ c}
$$
I would like ... |
I am trying to understand & implement simple toy AGC system . Few questions while reading about it,
1) How POWER metric came into picture, why not other metric like absolute value to control amplitude of input signal?
2) What's the role of LPF(Low Pass Filter) in AGC? LPF is an attenuator or blocker to high frequency c... |
An FM signal is given by
$$ s_{FM}(t) = A_c \cos [\omega_C t +k_f \int _{-\infty}^t m(\alpha)d \alpha] $$
Let $ \int _{-\infty}^t m(\alpha)d \alpha] = a(t) $
Therefore, $ s_{FM}(t) = A_c \cos [\omega_C t +k_fa(t)]$
Now, for NBFM, $k_f$ is very small such that $|k_fa(t) << 1|$
We can then approximate $ s_{FM}(t)$ by
$... |
I want to prove that erosion of a signal by a function $g$ followed by erosion with another function $h$ is equivalent to erosion of the signal by the dilation of the two functions (Erosion property):
$$\left ( f \ominus g \right ) \ominus h = f \ominus \left (g \oplus h \right ) $$
My approach:
By definition of eros... |
I want to create high pass filter from low pass filter in Python. My code:
h_lowpass = lp_design_window(fc, N, window)
dirac_delta = np.concatenate((np.ones(1), np.zeros(h_lowpass.shape[0] - 1)))
h_highpass = dirac_delta - h_lowpass
where lp_design_window is the function with arguments: cutoff frequency, number of ... |
Assume that we want to solve
$$AX=B$$
Where both $A, X, B$ are matrices.
I solved this by using ordinary least squares:
$$X = (A^TA)^{-1}A^TB$$
And I got this result for one column in $X$.
Here we can se two inpuls signals. One large and one small.
It's easy to split these two if they are indexing with the space 2 if ... |
Premise (since somebody may ask about the background): I am the author of the spectral modules for SynthEdit, a modular framework for realtime STFT audio processing, currently struggling since months to write a stable and robust spectral envelope estimator, for usage in voice modification, pitch shifting with formant... |
Was Studying a dsp design recently with many decimation and interpolation filters, and was wondering if there is a recommended book specifically on the subject of multi-rate dsp? Preferably a book with worked examples and exercises at the end of the chapter.
|
Below are the two different methods of generating time to create an audio sine wave. While framerate is being used as steps in one method, the inverse of sampling rate is being used as steps in the other method. Where is the difference?
Method 1
# Create a sound
framerate = 44100
time = np.linspace(0,5,framerate*5) ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.