generate delta delayed vector

2 次查看(过去 30 天)
Alon
Alon 2014-4-17
hello this is delta vector: [1 0 0] this is delayed in 2:[0 0 1] how can I generate a vector that is delayed by N that is for example 2000?

回答(1 个)

Azzi Abdelmalek
Azzi Abdelmalek 2014-4-17
a=[1 0 0]
N=2;
b=circshift(a,[0 N])

类别

Help CenterFile Exchange 中查找有关 Multirate Signal Processing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by