I am trying to learn and practice some Matlab, this is one of the test yourself questions and I am just not able to understand how exactly I can do this. If anyone is able to explain I will appreciate it. Thank you

 채택된 답변

KSSV
KSSV 2020년 9월 15일
편집: KSSV 2020년 9월 15일

0 개 추천

A = rand(3) ;
B = rand(4) ;
m = size(A,1) ;
n = size(B,1) ;
O1 = zeros(m,n) ;
O2 = zeros(n,m) ;
iwant = [A O1; O2 B] ;
OR
A = rand(3) ;
B = rand(4) ;
m = size(A,1) ;
n = size(B,1) ;
C = zeros(m+n) ;
C(1:m,1:m) = A ;
C(m+1:end,m+1:end) = B ;

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Contour Plots에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2020년 9월 15일

편집:

2020년 9월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by