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

3 views (last 30 days)
  4 Comments

Sign in to comment.

Accepted Answer

Mahmoud Ashraf
Mahmoud Ashraf on 12 Apr 2022
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

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!