Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
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?

Antworten (1)

Joseph Cheng
Joseph Cheng am 8 Jun. 2016
look up the function circshift()

Community Treasure Hunt

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

Start Hunting!

Translated by