instruction
stringlengths
31
27k
Say we have a noise power spectral density that has the following form (I think the question is the same for more general forms as well) $$ S(f) = Af^\alpha, $$ In experiments people usually discuss the magnitude of the noise at $1\,\text{Hz}$ and give a number for that, for example $$ S(1\,\text{Hz}) = C \,\, \frac{u^...
Assume we are given a noise power spectral density $S(f)$ for a stochastic process $x(t)$. What can be said about how long it takes for the underlying stochastic process to deviate by a given amount $\delta x$? As the process is stochastic, surely the answer must be in terms of an average first passage time, or someth...
I have read many online materials and journal paper where the equation for MMSE equalizer is given as: $G_{MMSE}$ = $H^H(HH^H+\nu^2I )$ where $H$ is the channel, $H^H$ is its hermitian. $\nu^2$ is noise variance (a statistical property) and $I$ is a identity matrix. I know how to compute the channel $H$, my question is...
I was wondering if anyone here has any idea on 2D delay-Doppler channel and how to generate the channel matrix? Even a hint or a resource would be helpful. I just want to understand and visualize the channel nicely so that I can write a program on my own to generate the 2D channel matrix.
I've got some pictures which i want to compress by using LZMA algorithm in Python. I'm using this implementation. I've tried to measure the entropy of an image by using skimage.measure.shannon_entropy entropy = skimage.measure.shannon_entropy(entropy_input) For a particular picture I obtain an entropy of 1.86758429903...
I want to design a filter to deal with periodic signals according to the actual collected data. In practice, I would like to use the SNR as the criterion to judge the performance of the filter. However, I meet a probelm about how to calculate the SNR according to a data set containing noise collected by the ADC. For ex...
I'm trying to do an FFT-based gaussian blur on a grayscale image, and it works, however it seems to introduce ringing artifacts to the result when compared to the expected direct filter. What can I do to mitigate this? In reality I'm using quite a wide gaussian kernel, so I'd rather not use direct convolution for the b...
I would like to design an FIR filter using the frequency sampling method with nonlinear phase specifications. For example, between $0$ and $\frac{f_s}{4}$ a phase of $180^\circ$ and between $\frac{f_s}{4}$ and $\frac{f_s}{2}$ a phase of $90^\circ$. The problem I face is that my impulse response in Matlab is complex aft...
This question is a part of a more general question the answer of which I don't know - How to apply a filter in the freq domain and then convert the filtered signal back to the time domain? Well, I partially googled the answer that I need to convert the signal in FFT multiply by the filter convert back to the time doma...
Can someone explain me how to obtain the angular frequency here?
Wavelet bicoherence was given by Van Milligen1995, which used to analyze turbulence. And the normalized squared wavelet bicoherence (usually called wavelet bicoherence) is shown below. $$ WBC(a_1,a_2)=\frac{|\int_TW_f(a_1,\tau)W_f(a_2,\tau)W_g^*(a,\tau)\mathrm{d}\tau|^2}{\int_T|W_f(a_1,\tau)W_f(a_2,\tau)|^2\mathrm{d}\t...
I am performing a fourier transformation in matlab for time signal data with monitoring points for pressure extracted from a simulation. What I get at the end is a spectrum as shown below: I am wondering why the spectrum consists of MANY spikes which have all a distance of 12.5 Hz. The data is measured with 15.152 kHz...
Essentially, I would like to find a way of detecting and correcting errors for block lengths of 4*k bits with a code rate of 3/4; that is, for every 4 bits, 3 of them will be data bits and the remaining bit will be a redundancy bit. A Hamming Code for example wouldn't be appropriate and I can't figure out a code that w...
I have an audio file that is 6 seconds long. The file has a message hidden into it in the ultra high frequency range. I plot the Mel Spectrogram with a sample rate of 44100 and use a high-pass filter to filter the base signal, here is the mel spectrogram I've plotted before filtering and after filtering To filter, I'...
Different universities around the globe offer DSP courses with different names Especially some name the course "Digital signal processing" and some name "Real Time Digital signal processing" I want to know,is there any difference between these two courses or they referring to exact same course? Forexample,please check ...
The following is a problem of "Digital image processing" book. Consider two points $p$ and $q$. State the condition(s) under which the $D_4$ distance between $p$ and $q$ is equal to the shortest 4-path between these points. And the following is the solution in "solution manual" This occurs whenever we can get fro...
I have a matrix of Channel State Information (CSI) that is obtained from a WiFi card (using Linux CSI tool with intel 5300). I try to use musicdoa() function in Matlab to estimate the direction of arrival of the paths of signals received by the receiver in a wireless link. However the result is completely random angle ...
We know fft(cos), and abs(cos) is just positive cos with halved period, so seems there should be an exact relationship between fft(cos) and fft(abs(cos)), and therefore between any fft(x) and fft(abs(x)). For example: I've not seen it anywhere, and some publications rely on approximations in case of continuous Fourier...
The DFT is given by $X_{\mathcal{F}}(k) = \sum_{n=0}^{N-1} x_n e^{-j 2 \pi k n / N}$ Knowing that complex numbers can also be represented using a polar form $A \angle\theta$, I was looking for a version of FFT that would output exactly that. So I found this Polar Fourier Transform. I am not sure yet if it is what I am...
I have a statement that leads to a paradox, but I'm incapable of finding the part where I'm wrong. The integrator system $$x(t) \mapsto y(t)=\int_{-\infty}^{t}{x(\tau) \, {\rm d} \tau}$$ is a linear time-invariant (LTI) system. Also, the differentiator $$x(t) \mapsto y(t)=\frac{dx(t)}{dt}$$ is a linear time-invariant (...
Hey there in the signal processing course I am studying there is an excercise that reads: The sequence $x(n)$ is given $x(n)=\{-1\quad2\quad \underline{-3}\quad 2\quad -1\}$ and the fouriertransform $X(\omega)$. Without explicitly performing the fouriertransform solve the following: Sekvensen x(n) är given av x(n) = a)...
In my work I need to use this signal of complex symmetric gaussian noise signal represented as $w$. But I don't know exactly how to represent it
The real transmitted signal $x(t)$ is convolved with channel $h$ in passband as : $y(t) = x(t)cos(j2πf_c t) * h(t)$ = $Re(x(t)e^{j2πf_c t})*h(t)$ where $f_c$ is the carrier frequency and $t$ is the time and $*$ is convolution operation. Based on my understanding, different from baseband system, if the modulated signa...
I'm filtering a raw PPG signal sampled at 100sps After applying a bandpass filter my signal looks like this As you can see, It has a trend (a low pass component which is not in the desired signal). I tried applying a high pass filter, it removes the trend but also changes wave shape significantly. Is there a way to de...
I am currently studying frequency and phase correction methods. Most probably my question very basic but i am having difficulties to understand it. Could you please explain what is a difference between coarse and fine correction algorithms ( method to correct them)? I read the post "Difference between Fine and Coarse F...
I know this is probably a very trivial question, but I am completely stuck. Let $C$ be a linear $[n,k,d]$ Code. Then the interleaving of depth $t$ is the Code $C(t)=\{(c_{11}, \dots, c_{t1}, \dots, c_{1n}, \dots, c_{tn}) \mid (c_{i1}, \dots, c_{in}) \in C \}$. Now I am trying to understand why the minimum distance of $...
I have been working in the acoustics field for a while, and recently I got myself into Matlab and Python for signal analysis and some signal processing. After making some test and analysis tools with programming, I got interested in microphone array beamforming. Simple time-domain delay and sum beamformer were intuitiv...
Is this the correct way to generate a set of Gold codes: Take a preferred pair of M sequence polynomials and load each one of them into a separate LFSR. The serial bit streams that are generated from this process are combined using an exclusive or gate; the result is a gold code bit stream. This is modulated with a dat...
DDS algorithm is really nice algorithm for creating sinus signal. It is really useful for signal resolution and use of LUT. CORDIC uses LUT and numerical methods. But I don't get high resolution signals. Taylor is fully numerical methods. However if you don't use 48 or 64 bits, you don't get high resolution signals. Ho...
I have a discrete implementation of a notch/bandstop filter that allows me to specify the stop band frequency, the width of the notch and the attenuation of the stop band frequency. I've been tasked with working backward to determine a $s$ domain representation. I've assumed that this discrete implementation was arri...
I'm doing some experimentation on performing end to end generative modeling in the frequency domain. I've got a working convolutional layer, but do not yet have a Conv2DTranspose equivalent. Please note this is not deconvolution! Unfortunately, my signal processing knowledge is pretty weak at the moment (I'm taking ...
I noticed that there are two types of wavelet functions, i.e. the real-valued, such as the Mexican hat wavelet, and the complex-valued, such as the Morlet wavelet. How was the complex-valued wavelet function proposed? What are their advantages?
I’m trying to build a very basic resampling pitch shifter which reads samples from disk. I only want to change -+6 semitones without keeping the original sample length. I already have all the classes for upsampling, downsampling, FIR and interpolation. What I don’t understand is the order in which I need to use any of ...
I'm making a Raspberry Pi bat detector using a USB-powered ultrasonic microphone. I want to be able to record bats while excluding insects and other non-bat noises. Recording needs to be sound-triggered to avoid filling the SD card too quickly and to aid with analysis. This website explains how to do this with SoX: rec...
I was modelling a complex damped exponential signal (discrete) with unique poles as below: \begin{equation} x = \sum_{k=1}^{K} (a_k e^{(j\phi_k)})(e^{\{(j2\pi f_k - \alpha_k)\Delta t\}t}), \quad t = 0,1,...,N-1 \end{equation} where $K \in \mathbb{N}$, $a_k$ amplitudes, $\phi_k$ phases, $\alpha_k$ damping factors, ...
The situation is that I have a signal with linearly increasing frequency, $$\text{sin}(2\pi\omega(t)t),$$ where $\omega(t)=a+bt$ for some $a$ and $b$, and we constantly sample at one point per second i.e. $t=0,1,2,...,T$. An image of this signal is shown below for $a=0.2$, $b=0.0005$ and $T=1000$. In this situation th...
I'm writing a VST plugin using the JUCE library, and the way it is set up is that you can write a block of code to process buffers as they are fed to the program, one by one, meaning the program has no knowledge of anything else when processing audio other than a single buffer. This doesn't work for me, because the pro...
I am a trying to implement the Receiver Signal Path of the ADRV9009 in Verilog, starting with the 2 half-band filters. These are the coefficient of the two filters: This is the result that I got. My clock is 10Mhz (10ns per cycle) and I have 2 sin wave as an input. The frequency of first one is 1.25MHz (800ns per cycl...
I collected spectrometric data which produced a graph with the intensity of each frequency of light. What more do I need to perform an inverse fourier transform of this data? Should I attempt an inverse discrete-fourier transform, or would it be easier to use a model so that I can do an inverse fast fourier transfor...
I am implementing an Extended Kalman-Filter and an Unscented Kalman-Filter for state and parameter estimation of a conveyer belt system. The problem is that I don't really know how to determine the process-covariance $\mathbf Q$, the measurement-covariance $\mathbf R$ and the error-covariance $\mathbf P$. I would like ...
Transmitting the signal $x$ over the channel $h$ and affected by noise $n$ can be expressed: $y = hx + n$ $h$ is the channel gain, that is known for me. I sometimes see phrases saying "when the channel gain is normalized, the performance will be different". What is the effect of normalizing the channel gain? does that ...
I have $N$ observations $\{y_i\}_{i=1..N}$ $$y_i = h_i x_i + w_i$$ where $\{x_i\}_i$ are the realizations of uniform distributed QPSK symbol $x$, i.e. $x_i \in \{\pm\frac{1}{\sqrt{2}} \pm j\frac{1}{\sqrt{2}}\}$, $\{w_i\}_i$ are the realizations of circular complex gaussian noise $w \sim \mathcal{CN}(0,\sigma^2)$, and $...
I am simulating some optical signals in Matlab as they pass through a waveguide, get amplified, mixed with noises, etc. For the record, I am a theoretical physicist, not an engineer nor an experimentalist, so I have no clue how these measurements are done in real life. My idea is to compare two types of information enc...
Following is the output of the peak detector: The amplitude is not important to me, however the time when the peak occurs is extremely important. So my microcontroller will have an algorithm like capture the digital values, and when 'n' digital values are same (this means the peak has arrived), store the time correspo...
I want to segment a signal in an unsupervised manner. The data is a 1D signal which has different segments which I want to be able to segment automatically for farther processing. I am looking for a fast and efficient algorithm. The motivation is get more information on the subject in order to evaluate approaches. So i...
I am working with the speech envelope, and I have been trying to make it act a little more like a bilevel signal by exaggerating the peaks and flattening out the floor. I detrended and smoothed my envelope using low pass filtering in MATLAB, but found that the best way to achieve want I want (visually) is to use this a...
If I calculate 1.) the average power of a signal, $P_s$, in terms of the average energy of the signal, $E_s$ and take it as a constant over a given period of time, $T_s$, as $P_s=E_s/T_s$ where $E_s$ has units Joules and $T_s$ has units of time; and then 2.) calculate noise power, $P_n$, as the the product of the avera...
The question is this: $$ y[n] = \cos\left(\frac{5\pi}{8}n + \frac{\pi}{4}\right)$$ This is what my teacher said when I asked him for help-: In any system, inputs are not given, then we have to assume input is impulse signal. Then the response is impulse response I really couldn't comprehend much of what he said, but ...
Question Is there an invertible low-pass filter built into scipy.signal (or other python package)? If so, what is it? If not, why not (is there something particularly difficult about inverting a low-pass filter)? Elaboration I need an invertible (digital, first-order, for concreteness) low-pass filter, such as a butter...
I am new to DSP. My current project entails using DSP to analyse some datasets derived from experimental data. This data can be split into three: Signal A, which measures response from input X. Signal B, which measures response from input Y. Signal C, which measures response from input X + Y. Signals A and C are esse...
Sampling theorem tells us how we can sample a continuous signal such that we can reconstruct it without any errors, or without losing information. Quantization, on the other hand always results in quantization errors. Why can't we formulate a theorem to enable quantization without errors? I don't see why amplitude and ...
I have designed an inverse IIR high pass filter by inverting its transfer function B(z)/A(z) to A(z)/B(z). However, the inverse filter has a pole at z=-1. Is this filter considered stable (marginally stable) or unstable since Matlab says it is not stable ? in that case, how can i design such a digital filter so that it...
I have a dataset that contains EEG (or MEG) recordings of brain signals during some cognitive tasks. Each row, shows the source estimates of neurons in a particular region. source estimate contains the time series of a activations at spatial locations defined by the source space. So basically, I have the "time series o...
I need to find the coefficients (impulse response) of a FIR Wiener filter with length equal to 2. I have a gaussian white noise signal that is generated using the Standard Normal Distribution (mean = 0, var = 1). I also have a seperate system that "colors" the white noise signal. It alters the PSD of the signal so that...
Where the CWT in the title refers to the continuous wavelet transform. Torrence1998 proposed a reconstruction formula as shown below Obviously, Eq.(11) is a single integral. However, Torrence1998 didn't say whether Eq.(11) holds true for the real-valued wavelet function.
Assume we are transmitting a real signal $x(t)$ through a channel $h$ in passband as : $y(t) = x(t)cos(2πf_c t + ∅) * h(t)$ = $Re(x(t)e^{j2πf_c t})*h(t)$ where $f_c$ is the carrier frequency and $t$ is the time and $*$ is convolution operation. Normally, in idealistic conditions, that received signal $y(t)$ is real,...
This is a statement I have read from a textbook: Whenever we have periodic signals continuous or discrete time the frequency domain is discrete and time domain is continuous. Whenever we have aperiodic signals continuous or discrete time the frequency domain is continuous and time domain is discrete. Are the above st...
I am trying to simulate traffic noise for doing some measurements in Acoustic Vehicle Alerting Systems (AVAS). I am trying to figure out whether this can be done in the form of additive or multiplicative noise?
I try to understand differencies between MSK and GMSK on transmitter side. Is GMSK the same than MSK except that a gaussian filter is applied on bits before modulating them? Is the half symbol delay on the Q path from MSK also done in GMSK? I was not able to find a reference document clearly describing the waveform.
I have a respiration signal sampled at frequency 125Hz, can I estimate respiration rate signal at a frequency 1HZ from the respiration signal? Is it possible to use FFT or FFT for this purpose in Python? Please let me know if you have any leads.
Im reading Will Pirkles Designing audio effect plugins book and I'm not sure if I'm understanding the z transform correctly. I got up to differential equations in college, but haven't done math in over half a decade, so hopefully learning DSP isn't way, way over my head. As I'm understanding the books explanation: the ...
Tikhonov regularization is used to regularize ill-posed inverse problems if the matrix $A \in \mathbb{R}^{n,m}$ to be inversed has a high condition number. For example $$ A=\begin{bmatrix}1&1\\ 1&1 \end{bmatrix} $$ As far as I understand it, one simply adds a multiple of the identity matrix $$ \lambda I=\lambda\begin{b...
I have a dataset that consists of source estimated data of MEG brain signals. I need to extract the different frequency band features (i.e., alpha, beta, gamma, etc) from them. What steps/procedure should I take? My data consists of 1D numpy array for each brain region. From a little search, it seems I have to take fou...
Actually standardized variable z of x(which has a normal distrbution) is (x - E(x))/squareroot(E(x-E(x)) ^ 2) In chi-square distribution we have that sum of squares of unit normal distribution variables follows a chi-square distribution. z1^2 + z2^2 + z3^2 + .... +zn^2 ~ chi-square distribution. So regarding the doubt ...
I know that with three steps: complex demodulation lowpass filtering decimation we are able to select frequency contents in a band with reduced sampling rate. But this method only allows frequency content that lies within half the decimated sampling frequency. In a paper (http://pubs.drdc.gc.ca/BASIS/pcandid/www/eng...
I am trying to derive famous Projection operator as a constrained minimization problem for the least square problem. The question is as follows: Find $x$ minimizing $ (y-x)^T(y-x)$ subject to $x = H\theta$ where $y$, $x$ and $\theta$ are vectors and $H$ are matrix. How can I solve this problem with Lagrange multiplier?...
I'm trying to implement the complex differentiation discriminator which is taken from Software-Defined Radio Using MATLAB, Simulink, and the RTL-SDR. The final result is $$s(t) = \frac{s_q'(t) s_i(t) - s_i'(t)s_q(t)}{s_i^2(t) + s_q^2(t)}$$ where $s_i(t)$ and $s_q(t)$ are in-phase and quadrature components. If we approx...
I am trying to create a synthethic speech dataset. A quick overview of the my process is: read wav apply stft do some stuff (ex. add noise, etc.) apply istft write wav Now, the .wav file that I am reading is 8kHz and its format is PCM-16. But when I apply stft and revert it back to its original form it is converted t...
I understand the code behind biquads, but I fail to understand how 5 coefficients in a biquadratic formula can isolate frequencies so precisely, especially considering it only takes the last two samples into consideration during the calculations. How do these biquad filters figure that stuff out? I am no mathematician ...
I'm having trouble in python with the scipy.signal method called welch (https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.welch.html), which estimates the frequency spectrum of a time signal, because it does not (at all) provide the same output as MATLAB's method called pwelch (https://www.mathworks.com...
I am trying to construct a time signal that needs to have a known magnitude response. The idea is to apply in Matlab/Octave an IFFT directly to the desired magnitude response: this corresponds to setting the real part equals to the magnitude response and the phase to zero. The resulting time signal will be non-causal (...
I would like to sparsely represent a linear function/ramp in the Fourier domain. In an attempt to improve the sparsity, I have zero padded it. With this padding, it is possible in the example I tried to represent the function with just one non-zero component in the Fourier domain. When I try to solve it as an inverse p...
I am new to this forum and I hope you guys can help me. I am sampling vibration signals when I pluck a string from an electric guitar using a max4466(https://www.adafruit.com/product/1063) mic glued to the headstock. I take 256 samples at 10kHz, but I expect that the vibration from the string to be less than 500Hz(http...
I tried everything including the Hough Transform with different inputs; Laplacian and Sobel and Canny edge detector were run on filtered image but cv2.HoughLinesP and cv2.HoughLines both give me wrong answers. For example, I am able to get the following image: However, I can't get the line from this image though Hough...
I am looking for some interesting and physically meaningful applications of different signal models. I am currently working with complex analytic signal model given below, but I couldn't come up with some applications of it, where it is meaningful to understand the model better. \begin{equation} x[n] = \sum_{k=1}^...
I have recently got my hands on a commercially available single channel EEG Sensor from Neurosky. This sensor acquire raw EEG signal at 512Hz from the frontal part of the human head and also process them on board level to various data such as - EEG Bands: high alpha, low alpha, high beta, low beta....and so on. Algori...
I have a signal that is a periodic concatenation of truncated Lorentzians ($\frac{1}{1+x^2}$), like so: The exact shape of the signal is unimportant I guess. I can approximate it with its first few Fourier components, so assume it is a single sine tone if it makes it any easier. Let us name this signal $x(t)$. The fre...
I am new to signal processing and I am reading about 1D phase unwrapping Here is the paper that I am reading. It refers to x as the signal but then it shows in the graph the axis are origina phase in radians againts sample index. So is x the signal or the phase function? Also it says that signal x whose amplitude excee...
I am using the colorless allpass-filter proposed by Schroeder Manfred R to create a reverberator. It consists of about 8 colorless allpass-filters connected in series, each with a different delay length. The gain ${g}$ of all the colorless allpass-filters is set to the desired reverberation time using the following equ...
hardware engineer here dipping his toes into software DSP and running into some issues. I'm attempting to demodulate in realtime a simple narrowband FM signal with samples from an RTL-SDR, and play the resulting audio through my speakers. My Sampling Approach The way my code is set up currently, I have a Python soundde...
I am trying to calculate the Hilbert transform using 3 different method: scipy.signal.hilbert function, time domain filter, and frequency domain filter. The test signal is $1/(1+t^{2})$, and its Hilbert transform is $t/(1+t^{2})$. In this result, the time domain filter is more accurate than scipy hilbert and frequency ...
By CWT, I mean the continuous wavelet transform. The usual padding schemes are zero padding, periodic padding, and decay padding. If I adopt the periodic padding, can I avoid the edge effects for the periodic signal?
I want to convert an audio file to a list of frequencies. We can apply an FFT on the audio to gain analysis of all the frequencies in a given audio sample, however, I want a list of frequencies as a whole from the audio such that if I play the frequencies in the time interval derived by the sampling rate, I would be ab...
If have an ofdm system with $N$ subcarriers, and sampling frequency $F_s$, that means that duration of each subcarrier is $T_s = \ {1/F_s}$ and the duration of whole symbol (which includes $N$ subcarriers) will be $T_{sym} = N/F_s$. I think till now, it's ok. Additionally, the $F_s$ is coming from $F_s = B*a$, where $B...
I have a program that can take a waveform, such as a sine wave or sawtooth wave and detune it with another waveform that is slightly sharper or flatter. It takes the frequency of said waveform and adds or subtracts the amount of hertz to detune from it depending on which threads are activated. If I have a sine wave at ...
The term pitch period appears in the book Speech and Language Processing by Daniel Jurafsy: As we just said, a pitch-synchronous algorithm is one in which we do something at each pitch period or epoch. For such algorithms it is important to have very accurate pitch markings: measurements of exactly where each pitch pu...
I have a couple of .wav sound files with very similar percussive signals of ~60ms duration. I can identify their onset times using libROSA's onset detection quite well. I would now like to extract the associated audio segments of ~60ms from the files using the onset times. Here is what I have done so far: import libros...
After the serial-to-parallel to break input bitstream into groupings we do the constellation mapping into values of phase/amplitude (or I, Q). For 64 sub-carriers this gives us 64 pairs of amplitude(n)/phase(n). an = amplitude(n) * cos(phase(n)) bn = amplitude(n) * sin(phase(n)) sub-carrier(n) = an * cos (n * delf * t)...
I'm currently in the process of porting a customer's algorithm for Matlab/Simulink to a DSP. In their algorithm, they perform a sliding DFT on a sinusoid and they use bin 1 to estimate the frequency. Their algorithm looks like this $y[n] = \sum_{k=0}^{N-1}{x[n-N+k+1]e^{\frac{-jk}{N}}}$ where x[n] is the input signal. T...
I am training a CNN to identify objects, and I believe the network will learn much faster if it can learn to focus on the pixels with the lowest value. One way to go about this would be to augment the images before training. What augmentations would work best in this case?
I am reading through an analysis of a system $$ Y(t) = \frac{d}{dt}X(t) + X(t) $$ and the frequency response $H(i\omega)$ is defined as $$ H(i\omega) = \frac{N(i\omega)}{Q(i\omega)} = \frac{1+i\omega}{1} $$ (In this case, $i$ is the imaginary number.) Is there a term for the functions $N$ and $Q$ used here? Additionall...
I am trying to plot cos(x) + isin(x) this is a 2 part question part 1 I am tryin to plot a signal cos(x) + i*sin(x) In python when i am trying to calculate np.sqrt(-1) for i,It is giving NaN Thats why i am not getting any plot of the data Sample_rate = 1000 Duration = 5 i = np.sqrt(-1) print(i) def generate_sine_and_c...
I am trying to understand the properties of chirp signals and their characteristics. I plotted the autocorrelation of a chirp signal in MATLAB. How can I compute the relation between the amplitude of the autocorrelated signal and the chirp parameters (time duration/bandwidth)? Thanks!
I have a question about magnitude of a spectrum. My task is to build the spectrum and make IFFT - the result waveform should have unity amplitude. For example: Create 2 arrays with Magnitudes and Phases; Fill the magnitudes array with noise (for example Perlin noise or white uniform noise); Fill the phases with noise ...
For an example, this is a figure I made from MATLAB, based on the poles and zeros, how can identify if it is a bandpass filter.
I am using the ARM CMSIS DSP library for a signal processing application. I find good filter performance when using tap counts that are in excess of 10% of the length of my data block. I understand that the tap count necessitates a delay in the output of the signal. Does that imply that the first TAP_COUNT values of th...
I have a set of 1-dimensional time-series, a subset of which contain either one or two peaks, and the remainder of which are pure noise. I've smoothed these data by taking a simple rolling average. My goal is to, for those series which contain a peak(s), obtain both the location and value of that peak(s). Ideally, I'd ...
I am wondering, can we use Radix 2 based computational-complexity calculation for any matrix multiplication whose size is $N$ x $N$ ?? where $N$ = $2^K$ and $K > 1$ is an integer ?? Or it can only used for FFT matrix? and if I have a unitary complex matrix whose size $2$x$2$ multiplied with a real vector $2$x$1$; in th...
I am implementing the Range Doppler Algorithm for a Synthetic Aperture Radar project and I am at the step where I must perform Range Cell Migration Correction. This step involves creating a sinc interpolator to correct the spread of the signals energy across range cells. See example image The interpolation is needed t...
I'm writing a script for sound-activated recording in Python using pyaudio. I want to trigger a 5s recording after a sound that is above a prespecified volume and frequency. I've managed to get the volume part working but don't know how to specify the minimum trigger frequency (I'd like it to trigger at frequencies abo...