generate delta delayed vector

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 日

0 投票

a=[1 0 0]
N=2;
b=circshift(a,[0 N])

カテゴリ

質問済み:

2014 年 4 月 17 日

回答済み:

2014 年 4 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by