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

조회 수: 1 (최근 30일)
ismail alakel
ismail alakel 2022년 4월 11일
답변: Mahmoud Ashraf 2022년 4월 12일
  댓글 수: 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.
ismail alakel
ismail alakel 2022년 4월 11일
Yes

댓글을 달려면 로그인하십시오.

채택된 답변

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에서 Matrices and Arrays에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by