How do i change indexing values

3 vues (au cours des 30 derniers jours)
Blair Hall
Blair Hall le 2 Oct 2017
Réponse apportée : Rik le 2 Oct 2017
How do i change indexing values
  2 commentaires
KSSV
KSSV le 2 Oct 2017
What is your question? Don't attach code snippets as images.
Jan
Jan le 2 Oct 2017
@Blair: Your screenshot does not even contain the question.

Connectez-vous pour commenter.

Réponses (1)

Rik
Rik le 2 Oct 2017
Just a pure guess:
attendenceValues(1:3)=attendenceValues(2:4);
This will remove the first entry and replicate the last (by copying the last three to the first three positions).
You're making it really difficult to help you.

Catégories

En savoir plus sur Matrix Indexing 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