Matrix reshaping and combination

1 次查看(过去 30 天)
cd(1:24:end,4)
Suppose the above where cd is a matrix variable. I want the fourth column to be extracted in such a way that I get not the first of every 24 values but the last of every 24 values. How can I do this?

采纳的回答

Ameer Hamza
Ameer Hamza 2020-5-19
cd(24:24:end,4)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by