How to split 2*2 matrix into individual elements

I want to know the command for splitting the 2*2 matrix into individual elements.

1 个评论

Where M is your matrix:
TL = M(1,1);
TR = M(1,2);
BL = M(2,1);
BR = M(2,2);
Note that splitting data up usually makes the data harder to work with and the code less generalized.

请先登录,再进行评论。

回答(1 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Biological Physics 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by