How i can call matrix c(a) and c(b) as in photo
2 ビュー (過去 30 日間)
古いコメントを表示
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/961190/16497165260985208244005474563305.jpg)
4 件のコメント
Mahmoud Ashraf
2022 年 4 月 11 日
can you said what the is the index of the cell you need
c matrix with two rows and four columns.
採用された回答
Mahmoud Ashraf
2022 年 4 月 12 日
syms a b c
a=zeros(a1,a2);
b=ones(b1,b2);
A=size(a);
B=size(b);
c=[a,b];
A2=c(1:a1,1:a2)
B2=c( 1: b1, a2+1 : a1+b2 )
if i understand you this will be the correct answer with defining the size of the a and b matrices
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Matrices and Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!