upsampling and adding delay to a sequence
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi
I have a simple query.
Suppose i have a signal s = randn(1,10), if I want to add delay 100ms to this signal, what should i do?
I heard about upsampling the signal and then adding zeros, but can you help me with an example code
s = randn(1,8);
delay = 100ms;
s1 = upsample(s,?);
s_delay = [how many zeros, s1]?
Is that approach right?
0 Commenti
Risposta accettata
Walter Roberson
il 19 Gen 2012
It is not possible to add a delay to a signal unless you know what the sampling frequency is.
12 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Filter Analysis in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!