Questions tagged [delay]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
1 answer
73 views

How does function c2d in MATLAB manage fractional delay?

the function c2d allows to convert a continuous laplace transfer function to a discrete z-transform transfer function. The base method is the Zero Order Holder. In example: ...
The Newbie Toad's user avatar
1 vote
2 answers
52 views

How to determine Transmission Rate for Task Offloading in edge computing?

I am new to communication systems and am working on a model for task offloading on edge computing. One key parameter I'm aiming to determine is the data transmission rate. While I am familiar with ...
user4594525's user avatar
2 votes
1 answer
75 views

Programming a delay in Matlab

Let $x(t)$ a signal of duration $T$, the sampling frequency is $f_s$. I know the signal $x(t+\tau)$ orresponds to a signal delayed by a delay $\tau$. In Matlab, the signal $x(t+\tau)$ is given by: $[...
user68914's user avatar
2 votes
2 answers
126 views

Fourier transform of a delayed LFM chirp

I know that for a given signal $s(t)$ and a given delay $ \tau $, by the shift theorem: $$ \mathcal{F}\{s(t-\tau)(f) \} = e^{-j 2 \pi f \tau} \mathcal{F}\{s(t)(f) \} \tag{1} $$ However, when I try to ...
user68882's user avatar
1 vote
1 answer
110 views

STFT frequency domain processing destroys window shape, makes synthesis glitchy

I have a signal processing chain which goes: Every 256 samples, take 512 samples of input buffer Apply a Hann window to the samples Copy the windowed samples into the real components of a complex ...
poetix's user avatar
  • 111
0 votes
2 answers
57 views

Correlating signals in real-time when the time-delay is larger than frame-time

What are some possible approaches to address the challenge of correlating two signals when the time delay ($T_d$) from the source to the microphone is greater than the microphone's frame time ($T_f$)? ...
Viraj Gajjar's user avatar
1 vote
0 answers
68 views

Finding delay between signals

This should be a simple problem, yet I can seem to figure out what am I doing wrong. I have a bunch of 1-D signals which I expect to look the same up to: shifting, maybe some scaling, and noise. I ...
Yair M's user avatar
  • 281
1 vote
1 answer
600 views

Understanding Matched Filter, delay

I am trying to build a filter for the detection of signals with the known form in noisy and low-amplitude data. I used a simple example in Python provided here: https://www.youtube.com/watch?v=...
twistfire's user avatar
  • 133
0 votes
1 answer
164 views

Replicating scipy.signal.lfilter with initial condition using IPP

I am trying to rewrite some Python signal processing code in C++ and am stuck trying to figure out how to replicate behavior of lfilter with initial condition. The documentation for lfilter says that ...
yunyun333's user avatar
2 votes
1 answer
30 views

Why this second part of the integral given by the gradient of the log-likelihood is zero

I am reading the book "Detection of Signals in Noise" by Robert N McDonough, A D Whalen. In chapter 10, they compute the gradient of the log-likelihood for the time of arrival. See attached ...
user144410's user avatar
0 votes
1 answer
525 views

How to estimate the delay in time domain when knowing the phase shift in frequency domain

I am strugling with how to compute the exact value of delay in time-doamin when knowing phase shift in frequency domain. I have a analog circuit, I sweeped about 30 single tones frequency ranging from ...
user190055's user avatar
3 votes
2 answers
1k views

How do we determine the required sampling rate of a closed loop control system?

Consider the controlled dynamical system $\dot{x}_t = f(x_t, u(t-\tau_{sd}))$, where $0<\tau_{sd}$ denotes the time delay caused by sampling. It is intuitively clear that the time delay caused by ...
kbakshi314's user avatar
1 vote
4 answers
295 views

Fractional Delay in Matlab Scale Signals

I am trying to write a function which takes an input signal and delays it by a non-integer index. The function is based on the ideal bandlimited fractional delay filter technique, already available in ...
davideAlbertini's user avatar
-1 votes
1 answer
197 views

Real time signal processing in frequency domain

i'm doing realtime signal processing simulation. it could be simple question. if i multiply input L sample fft and M block filter in frequency domain and i do ifft the output come out when index is L+...
gg h's user avatar
  • 101
2 votes
0 answers
195 views

Introducing Feedback to Miller Puckette's Time-Domain Pitch Shifting Algorithm without Discontinuities

I've implemented Miller Puckette's time-domain pitch shifting algorithm (http://msp.ucsd.edu/techniques/v0.11/book-html/node125.html) in PureData's help files in C++ (my code here: https://github.com/...
panthyon's user avatar
  • 1,123
0 votes
2 answers
572 views

Issue Understanding Time Delay of a Digital Filter

I am new to the world of digital filters and am educating myself with the book Introduction to Digital Filters by J.O Smith III,. The author derives the frequency response of a very simplistic filter: ...
afp_2008's user avatar
  • 142
1 vote
2 answers
340 views

Audio compressor delay/lookahead

I am making a real-time audio compressor/limiter. I am in little doubt about the delay. What is typical delay times for a compressors or limiters delay/lookahead time? Most other compressors I see don'...
Invariant's user avatar
  • 149
0 votes
0 answers
47 views

Audio crackles with delay in series

I am learning to write audio plugins using VST3 sdk. I have an issue implementing 2 delays in serie, the audio starts crackling. Here is the processing code: ...
Abitbol's user avatar
  • 111
2 votes
0 answers
209 views

How do large tap counts effect FIR Filters for block data?

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 ...
FooAnon's user avatar
  • 266
0 votes
0 answers
75 views

Generating a 2D delay-Doppler channel matrix

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 ...
Amit Sravan's user avatar
0 votes
1 answer
282 views

Estimate the time delay of two signals

I am having 2 sets of data data1 and data2 .I wanted to find the delay between the two datasets. Assume data1=[1 2 3 4 5 6 7 8 9 10] and data2=[0 0 0 0 1 2 3 4 5 6].From the data I know that, data2 is ...
Deepa's user avatar
  • 293
1 vote
2 answers
186 views

Matlab Pade approximation influence on bode plot and step response

I would like to approximate a delay via the pade approximation. I set a normal delay via the exponential term and I set a delay via the pade approximation and I look the difference between the both ...
Jess's user avatar
  • 145
0 votes
0 answers
67 views

From Delay Spread to Coherence Bandwidth?

The phase difference of two sinusoids is given as: | TX --(r)--->RX <------- (Reflection)| d: whole path from sender to reflecting object $ \Delta \theta = 2 \pi \cdot \frac{(2d - r)-r}{c} f + \...
user674907's user avatar
1 vote
3 answers
192 views

Question about delayed sampled sinusoid math expression

I have been studying the digital audio processing by using the book <Designing Audio Effect Plugins in C++>. For analog Sinusoid: Complex Sinusoid = $e^{jωt}$ Delayed Sinusoid = $e^{jω(t−n)} = e^...
Hao Wu's user avatar
  • 21
2 votes
1 answer
577 views

What is the relationship between group delay and propagation delay for a filter? [duplicate]

I was trying to design a filter for a system and I was able to obtain the group delay plot in matlab using grpdelay. The group delay output is in samples. However, I was not able to relate that data ...
arun_kol's user avatar
6 votes
3 answers
1k views

Delay a signal in time vs in frequency

I have a signal h that I want to delay for a time t. I know that I could use two possible approaches: $h_{\text{delay}}[k] = \...
Mattia Surricchio's user avatar
0 votes
1 answer
669 views

How to solve a time delay from an FIR filter?

I have designed a FIR high-pass filter $\{h_n\}$ with length 257 to filter a signal $\{f_n\}$ with length 512. To convolve signal with filter in time, I performed an FFT with length 768, padding ...
Hu Zexi's user avatar
1 vote
2 answers
59 views

Why can the number of zeros be no more than the number of delay elements in a signal flow network?

Let $N$ be the signal graph representation network of the system function (in rationale form) of a discrete-time LTI system. For a network $N$ with no loops, the impulse response is no longer than ...
DSPinfinity's user avatar
0 votes
0 answers
186 views

How to use cross-correlation to verify speech data and determine delay

I have been experimenting with cross-correlation function to verify the presence of speech in a recorded file wrt a source file. I tried the following in Matlab: <...
skrowten_hermit's user avatar
3 votes
1 answer
789 views

GCC-PHAT always peaks at zero when estimating delay offset

My question is that when I used gcc-phat to estimate delay between two audio signals, it always returns zero offset. However normal cross correlation Xcorr gives a good result. I don't know the reason....
Qiang's user avatar
  • 33
0 votes
0 answers
37 views

How can I find the delay between two signals? [duplicate]

I am using NARX in Matlab. Is there any method to find the delay between input and output signals? My aim is to decrease memory length by finding the delay. TIA.
murat's user avatar
  • 1
3 votes
1 answer
271 views

Interpreting the cross correlation results

I am new to this forum. I am just trying to understand how to calculate delay (in terms of samples) between two signals using cross-correlation function. I wrote a small Matlab code in order to ...
Sampath 's user avatar
0 votes
1 answer
190 views

Is this the correct solution for finding the samples of phase delay at a given frequency of an IIR BiQuad filter?

I want to calculate the number of samples of phase delay at a given frequency of an IIR BiQuad Filter. I believe I have solved this, but I would like to confirm I have done it correctly. My work is as ...
mike's user avatar
  • 447
-1 votes
1 answer
106 views

Delays and alignment issues: how to compute the an equalizer delay?

For example, if an equalizer model experiences a delay due to its processing, the equalizer may misinterpret the boundaries between the equalized symbols it outputs and, therefore, return meaningless ...
user avatar
2 votes
1 answer
339 views

phase difference detection

For application of syncing sampling clock phase to carrier phase of received signal where the received signal is sampled with 10 times the carrier phase and modulated with the PSK shown in the figure (...
user49745's user avatar
0 votes
1 answer
144 views

Frequency-specific Delay?

So an equalizer manipulates the gain of certain frequencies by use of a variety of filters, as we all know. But is there a way to manipulate delay in a frequency-specific manner? A parametric ...
user48374's user avatar
8 votes
2 answers
3k views

How to Reduce Phase Lag Caused by Kalman Filter

Background I have been developing a system using a moving robot with a distance sensor against another robot. I want to control these robots by estimating relative velocity and acceleration derived ...
mhirano's user avatar
  • 93
0 votes
1 answer
54 views

Measurement delay versus control delay

For a typical conventional control loop (no delay, measurement transfer function is 1) the closed-loop transfer function is $$H(s) = \frac{G_{comp}G_{process}}{1+G_{comp}G_{process}}$$ With an ...
Ben's user avatar
  • 3,735
1 vote
0 answers
30 views

Quantifying the frequency shift of a delay with LP filtered feedback

I am working at a Karplus-Strong sound synthesis technique where an excitation impulse is subjected to a delay with feedback and a one pole LP filter in the feedback line. The process is simply y[0]=(...
elena's user avatar
  • 331
13 votes
6 answers
6k views

Is a notch filter for 50 Hz without delay possible?

I am processing an EEG signal (2 kHz sampling frequency) from hardware and the built-in filter doesn't work as intended. FIR gives a delay, and IIR is unstable. The signal of interest is from 4&...
Evil's user avatar
  • 273
0 votes
2 answers
344 views

What is effect of fractional sample delay effect on FIR Filters?

In the DSP lecture slides we have this slide: And So why this part of FIR Type 2 and Type 4 filter impulse response equation bolded in this slide? Thanks for your attention.
Soheil Paper's user avatar
0 votes
2 answers
221 views

How is time or sampling rate accounted for in this model?

A basic model of coupled strings (eg. piano) is provided here as: The principle is that it has two identical string simulations each formed by a delay line and LPF. The outputs of these are summed at ...
mike's user avatar
  • 447
2 votes
2 answers
976 views

GCC-PHAT for Multiple Sound Sources

Can GCC-PHAT be used to detect multiple time-delays (that is, having multiple acoustic sources simultaneously)? The documentation for the gccphat(sig,refsig) ...
user262213's user avatar
1 vote
1 answer
436 views

Compensate delay of non-symmetric (non-linear phase) filter

Lets assume I want to apply a matched filter h which is non-symmetric to my signal x and the output is ...
Irreducible's user avatar
-1 votes
1 answer
498 views

What factors affect the propagation delay at wireless communication?

Generally, the signal propagation delay is d/c. d is a distance between a transmitting antenna and a receiving antenna. c is light speed. However in NS-3, there is Random Propagation Delay Model ...
jack han's user avatar
5 votes
1 answer
1k views

Maximum cross-correlation coefficient value for time delay estimation

I am using cross-correlation for time delay estimation of two synchronized recordings ($x_1$ and $x_2$) of a fixed sound source from two different locations. I understand that the delay is associated ...
Reveille's user avatar
  • 153
1 vote
1 answer
50 views

Plotting phase delay from first principles giving different result from phasedelay() function. Why?

I have a length 10 Finite Impulse response as shown below, and I am trying to find the phase delay of this FIR. $$h[n]=\begin{cases}0.1,& 0\le n \lt 10\\ 0,&\textrm{otherwise}\end{cases}$$ I ...
rrz0's user avatar
  • 129
0 votes
0 answers
96 views

Mathematical expression for a system

I have a system that delays the input with k samples and concatenates the new input with delayed one so that y = [x(n) x(n-k)] so if the input comes with n samples the output should be k+n samples. ...
King's user avatar
  • 1
1 vote
0 answers
477 views

Implementing real-time variable fractional delay line in Matlab

I am attempting to implement a fractional delay line in Matlab which operates in real time, uses an object-oriented approach, and whose length can be modulated each time a sample is processed. I have ...
Big_Thin_Ker's user avatar
0 votes
2 answers
1k views

Delay in Savitzky-Golay filtering

I am applying a Savitzky-Golay filter to a signal, using the scipy function. I need to calculate the lag of the filtered signal, and how much is it behind the original signal. Could someone shed ...
San Riente's user avatar