generate delta delayed vector

3 views (last 30 days)
Alon
Alon on 17 Apr 2014
Answered: Azzi Abdelmalek on 17 Apr 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?

Answers (1)

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

Categories

Find more on Quadratic Programming and Cone Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!