Hi,,I am trying to generate a shift register in matlab .IS it possible?I am explaining the problem below.Thanks in Advance
Show older comments
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?
Answers (1)
Joseph Cheng
on 8 Jun 2016
0 votes
look up the function circshift()
Categories
Find more on Resizing and Reshaping Matrices 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!