What is the script for below question?

1 view (last 30 days)
If A= 2 6 , B= 1 2 and C= -5 5
3 9 3 4 5 3
How can i code for
Untitled.png
I know the script for long way but is there any short script?

Answers (1)

JESUS DAVID ARIZA ROYETH
JESUS DAVID ARIZA ROYETH on 5 Feb 2020
G=blkdiag(A,B,C)

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!