What is the script for below question?

2 次查看(过去 30 天)
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?

回答(1 个)

JESUS DAVID ARIZA ROYETH
G=blkdiag(A,B,C)

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by