How do i change indexing values

2 次查看(过去 30 天)
Blair Hall
Blair Hall 2017-10-2
回答: Rik 2017-10-2
How do i change indexing values
  2 个评论
KSSV
KSSV 2017-10-2
What is your question? Don't attach code snippets as images.
Jan
Jan 2017-10-2
@Blair: Your screenshot does not even contain the question.

请先登录,再进行评论。

回答(1 个)

Rik
Rik 2017-10-2
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.

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by