generate delta delayed vector

1 vue (au cours des 30 derniers jours)
Alon
Alon le 17 Avr 2014
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?

Réponses (1)

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

Community Treasure Hunt

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

Start Hunting!

Translated by