How to select specific entries of a matrix?

조회 수: 2 (최근 30일)
Ammy
Ammy 2021년 8월 31일
댓글: Ammy 2021년 8월 31일
How to select elements of matrix at the following rows and columns
1,4,7,10,13,16,...
In other words, select elements of matrix at first row and first column, fourth row and fourth column, seventh row and seventh column and so on...

채택된 답변

Matt J
Matt J 2021년 8월 31일
A(1:3:end,1:3:end)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by