Hi,,I am trying to generate a shift register in matlab .IS it possible?I am explaining the problem below.Thanks in Advance

2 次查看(过去 30 天)
I am trying to generate the matrix below:
A=[1 1 0 0; 0 1 1 0;0 0 1 1;1 0 0 1]; Which means the sift will go on for "number of row(here,it is 4 times)". Is there any way I can do that?

回答(1 个)

Joseph Cheng
Joseph Cheng 2016-6-8
look up the function circshift()

类别

Help CenterFile Exchange 中查找有关 Feature Detection and Extraction 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by