Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
105 views

I would like to implement continuous wavelet transform (CWT) using JAX. According to ChatGPT, it is in practice computed by performing a discrete convolution with a sampled wavelet function at ...
W. Zhu's user avatar
  • 845
0 votes
0 answers
69 views

I am not sure why this is happening so I am coming here to look for any sort of help I can get. Basically when recording any jack device such as firefox in my app it comes out as distorted. But it ...
HoosierTransfer's user avatar
0 votes
0 answers
66 views

I'm trying to simulate a transmission chain in GNU radio and send an audiofile, my output file has very loud pure noise but the original audio can be heard underneath. Looking at the output wave shows ...
Dip's user avatar
  • 1
3 votes
0 answers
99 views

I'm trying to calculate the autocorrelation time for a time series generated from molecular-dynamics trajectory frames. I used several methods to estimate the autocorrelation time because I need it to ...
Dimuthu Kodituwakku's user avatar
2 votes
1 answer
64 views

I'm trying to make a digital audio synthesizer from scratch in C++ using a combination of resources. I'm using functions from raylib to play a raw audio stream. Here's the code: #include <iostream&...
mizzadnan's user avatar
0 votes
1 answer
66 views

I’m working on decoding the bidirectional DShot (bidir DShot) telemetry signal from an ESC. I’ve read the article DSHOT - the missing Handbook, which explains that the ESC sends back a 21-bit ...
Raul Alimbekov's user avatar
2 votes
1 answer
140 views

I am trying to detect the beginning of a quasi-steady regime in time series data representing drag (Fx) and lift (Fy) forces after an initial transient. Initially, I used a slope-based method, but it ...
SaleGauss's user avatar
1 vote
0 answers
87 views

Recently, I have been trying to take the raw output from the Infineon BGT60TR13C mmWave radar on the CY8KIT-062S2-AI board and process it into a Range Doppler Map using the onboard CPU. One issue that ...
Ben Bao's user avatar
  • 11
5 votes
0 answers
130 views

I’m building an open-source audio spectrum analyzer for loudspeaker manufacturing. The “killer feature” is using a logarithmic sweep as the excitation signal, and analyzing the response as the sweep ...
Max Boldyrev's user avatar
13 votes
2 answers
2k views

In this assignment I created the basic rect signal a[n] such that over the domain [-1000, 1000] it's 1 only at |n|<100, meaning it's an array (complex one with zero in the imaginary part) that ...
Nate3384's user avatar
  • 314
1 vote
2 answers
107 views

I am trying to create a function which receives the transversal profile of a beam and outputs the transversal profile propagated by some distance. To exemplify the task, here is the profile of a ...
Henrique Guerra's user avatar
1 vote
2 answers
125 views

I'm new to sympy and python, I should have used R but wanted to try some AI generated code. This seems to work ok for other test polynomials but this eventually generates some symbolic results but ...
mike marchywka's user avatar
9 votes
1 answer
324 views

Aim I am trying to generate random signals with the following two properties: The values should be approximately log-normally distributed (any long-tailed distribution bounded form below with non-...
Paul Brodersen's user avatar
2 votes
1 answer
125 views

I'm writing a script for a certain signal processing application in MATLAB and have to multiply with the Hann window. Here's my code snippet: Fpoints = 1e9; d = 1e-7; t = 0:1/Fpoints:d; w1 = hann(...
Giridhar Nagamangala's user avatar
0 votes
0 answers
101 views

I'm testing the Costas Loop block in GnuRadio (version 3.8.x) using a simple sine wave signal. The Costas loop is expected to lock the phase to a known value (ideally 0 for a perfect signal), but the ...
James S's user avatar
  • 1,096
0 votes
0 answers
51 views

I calculated the transfer function of a system in Frequency Domain by division of Y and X. Since I only deal with exponential sweep sines (ESS) as excitation, I want to reproduce the transfer function ...
warleem's user avatar
1 vote
1 answer
64 views

Based on this paper Adjustable quadratic filters for image enhancement, Reinhard Bernstein, Michael Moore and Sanjit Mitra, 1997, I am trying to reproduce the image enhancement results. I followed the ...
Việt Hoàng's user avatar
2 votes
2 answers
115 views

I have written a python script to compute DFT of a simple sin wave having frequency 3. I have taken the following consideration for taking sample of the sin wave sin function for test = sin( 2 * pi * ...
AL-zami's user avatar
  • 9,214
1 vote
2 answers
151 views

I have wrote a general python code in Sage-math to find out the Fourier transform of the addition of two different frequency cosine wave in order to plot the frequency domain in a graph. The function :...
AL-zami's user avatar
  • 9,214
0 votes
0 answers
80 views

I'm currently trying to implement the following algorithm for image super resolution https://ieeexplore.ieee.org/document/56062 (doi:10.1109/29.56062) (there is a paywall but it's available on scihub) ...
Luc Masson's user avatar
0 votes
1 answer
78 views

I have to process the images I acquire with the microscope with a vertical binning, to obtain the distances between the dark/bright regions. Images are like this: I defined a threshold function that ...
alessandro's user avatar
  • 4,014
0 votes
1 answer
76 views

I'm converting a continuous-time dynamical system to discrete time using the function cont2discrete from Scipy's signal processing library. dt = 0.1 num, den, dt = scipy.signal.cont2discrete(([1], [5, ...
Bill's user avatar
  • 11.8k
2 votes
1 answer
172 views

I am adding bilinear filtering to my C++ rendering software. To validate that it works I am trying to downscale a test image. This is the 1024x1024 test image: When I perform point sampling resizing ...
TheChamp's user avatar
0 votes
0 answers
178 views

This is from an assignment in signal processing in Python. It's all done in Python (through Google Colab) with the libraries cmath, numpy, and matplotlib alone. Signal a is a window signal, and I ...
Nate3384's user avatar
  • 314
1 vote
1 answer
120 views

I'm trying to figure out how to window two different frequency sine waves in such a way that their convolution produces a 0 signal. I have code that works for sine waves with integer periods: T = 1000 ...
werft60's user avatar
  • 19
0 votes
1 answer
96 views

I'm trying to get sound from the microphone, process the sound with some function and then output the processed sound to the speakers. I need to be able to process buffers of 1024 samples. but for now ...
amitt1236's user avatar
0 votes
1 answer
298 views

The title says almost everything. Does (Cortex-M33) RP2350 rasberry-pi-pico 2 utilizes any SIMD-instructions (at all) via DSP during arm_dot_prod_f32 or does it simply loop-unrolls? I know for certain ...
Giorgos Xou's user avatar
  • 2,361
1 vote
2 answers
100 views

I am analyzing experimental data where resistance Rxx is measured as a function of an angle Phi, which ranges from 0 to 360 degrees in steps of 2 degrees. The dataset consists of two columns: Phi (...
kuba_pol's user avatar
0 votes
1 answer
84 views

I am working on a project where I need to perform Fourier Transform on synthetic periodic data using both NumPy and TensorFlow. However, I am encountering a discrepancy between the FFT outputs of ...
Atte Harrikari's user avatar
-1 votes
1 answer
89 views

Good afternoon. I want to write a code to output experimental frequency response for system identification. For verification I use the modeled sinusoid and the response of the modeled system. To ...
Ilmir Gogorev's user avatar
1 vote
1 answer
80 views

I am manually compute the inverse FFT using the NumPy FFT components by the below code, to compare the rebuild signal with the original signal (sin function). As shown in the results, the error (...
user22248229's user avatar
1 vote
0 answers
192 views

I’m trying to replicate Rekordbox’s 3-band waveform display (low, mid, high frequencies as solid, color-coded shapes) in JavaScript using canvas. I’ve already created a Python script that extracts ...
Gabriel's user avatar
  • 29
1 vote
1 answer
75 views

How can I get the same random results in IT++ and Matlab? For example, the default random generator algorithm in Matlab is "twister" which is "Mersenne Twister" with the keyword ...
Ali's user avatar
  • 21
0 votes
0 answers
83 views

I'm learning on signal process and I'm trying to simulate a First-order low-pass filter as the equation below: (1+ω)y[n]=x[n]+ωy[n-1] where y[n] denotes the output and x[n] denotes input. So I try to ...
Shepard Merose's user avatar
0 votes
2 answers
92 views

I'd like to use GNU Octave for signal processing; one channel would be the audio, the other would be a sync signal input. This is the default recorder object in Octave: BitsPerSample = 8 ...
szoftveres's user avatar
1 vote
0 answers
56 views

I have written a code that forms the image of an input image at some distance z. All the parameters I have used (pixel size, no. of pixels, z, etc.) are mentioned later in the question. The objective ...
Samyak Marathe's user avatar
0 votes
0 answers
52 views

I am trying to use stm32f411 and libopencm3 with CMSIS DSP lib to identify sine wave generated by a function signal generator but without sucess, I just cant compreend what I am doing wrong, i know ...
Rafael Chuede's user avatar
0 votes
0 answers
38 views

I tried to obtain the coefficients of B-spline matrix using the following code: function C_matrix = calculateBsplineCoefficientMatrix(s) % Number of input samples N = length(s); % Construct Alpha ...
Rohitashya Mitra's user avatar
0 votes
1 answer
59 views

I have implemented TDMA using a network of wireless nodes in OMNet++. I tried to change the channel Number in the .ini file. **.radio.typename = "Ieee80211UnitDiskRadio" *.node[0].wlan.radio....
Nishani Kasineshan's user avatar
1 vote
0 answers
53 views

I’m trying to implement an MP3-like compression algorithm for audio and have followed the general steps, but I’m encountering a few issues with the quantization step. Here's the overall process I'm ...
Muchacho's user avatar
4 votes
1 answer
270 views

I am writing some DSP code that performs wavefolding distortion on an input signal. This code applies amplitude gain (multiplies input by a gain value) then wave folds the input such that the final ...
Emmett Palaima's user avatar
1 vote
0 answers
121 views

Currently the SciPy's scipy.signal.correlate function supports computing the cross-correlation between two 1D arrays. However, there is no direct support for axis-wise cross-correlation between two 2D ...
Habtie27's user avatar
0 votes
1 answer
122 views

i'm trying to implement a block that process chunks of 512 bytes and return chunks of 480 bytes. At first i'm trying to work with 512 input/512 output instead to grasp the in/out mechanism of GNUradio....
KIEN CHI NGUYEN's user avatar
0 votes
2 answers
425 views

I want to get the phase shift of two signals via the correlation function. In general I set up a sine with frequency f0 and a 2nd sine (with noise) and a given phase phase_deg. I correlate both ...
Nikolaij's user avatar
  • 321
-1 votes
3 answers
282 views

Given an image such as below, I want to blur it such that none of the original black pixels change in value. The blur should have a nice S curve fade-off to white. If I apply a 15px gaussian blur to ...
mpen's user avatar
  • 285k
1 vote
0 answers
63 views

I'm using fir2 function (and then filter with basic settings filter(fir2,1,audio) ) to filter audio files to specific values in each spectrum band. I have two sets of dB values: the original spectrum ...
Wuchta7's user avatar
  • 11
0 votes
0 answers
54 views

I’m working on a Raspberry Pi project where I’ve transitioned from using an I2C-based HiFi DAC HAT (PCM5122) to an SPI-based DAC (Boost 8568). My goal is to output analog signals from processed EEG ...
user28464365's user avatar
0 votes
0 answers
75 views

I am trying to create an FIR and associated waveform for a transfer function that is the magnitude difference between the two impulses responses. I have recorded both IR's but am struggling with ...
lordinfamous's user avatar
0 votes
0 answers
133 views

I have some problems to read reftek130 files on python 3.13.0 & windows 11 with obspy. Although it has to work before reinstalling windows 11 & VS code & Python. I did not understand the ...
foued oueslati's user avatar
0 votes
0 answers
88 views

I would like to determine the choice of cutoff frequency for e.g., a second-order low-pass Butterworth filter using frequency spectrum analysis. For this purpose, I would like to implement Fast ...
Márton Horváth's user avatar

1
2 3 4 5
118