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

1 vue (au cours des 30 derniers jours)
ismail alakel
ismail alakel le 11 Avr 2022
  4 commentaires
Mahmoud Ashraf
Mahmoud Ashraf le 11 Avr 2022
can you said what the is the index of the cell you need
c matrix with two rows and four columns.
ismail alakel
ismail alakel le 11 Avr 2022
Yes

Connectez-vous pour commenter.

Réponse acceptée

Mahmoud Ashraf
Mahmoud Ashraf le 12 Avr 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

Plus de réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by