How to extract a matrix from a series matrix in matlab?
2 次查看(过去 30 天)
显示 更早的评论
How to extract a matrix from a series matrix in matlab? I mean
F_1,F_2,F_3 and F_4 are all 4*4 square matrix,now i want to extract F_2 from the F_K,what is the code should i write? F_K(2)?
F_K=[F_1 F_2 F_3 F_4];
0 个评论
采纳的回答
madhan ravi
2019-2-9
Store it as a cell array:
F_K={F_1 F_2 F_3 F_4};
% ^---------------^---- note the brackets
F_K{2}
1 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!