Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
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?

Réponses (1)

Joseph Cheng
Joseph Cheng le 8 Juin 2016
look up the function circshift()

Catégories

En savoir plus sur Feature Detection and Extraction dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by