How i can call matrix c(a) and c(b) as in photo

2 次查看(过去 30 天)
  4 个评论
Mahmoud Ashraf
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
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 个)

类别

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