How to select specific entries of a matrix?

1 次查看(过去 30 天)
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 中查找有关 NaNs 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by