Combine 2 matrices into 1

2 Ansichten (letzte 30 Tage)
Lanceric Tse
Lanceric Tse am 14 Aug. 2018
I have a matrix
a= 1 1 1
1 1 1
1 1 1
b= 2 2 2
2 2 2
2 2 2
How do I combine them into
1 2 1 2 1 2
1 2 1 2 1 2
1 2 1 2 1 2

Akzeptierte Antwort

Yuvaraj Venkataswamy
Yuvaraj Venkataswamy am 14 Aug. 2018
Bearbeitet: Yuvaraj Venkataswamy am 14 Aug. 2018
  5 Kommentare
KALYAN ACHARJYA
KALYAN ACHARJYA am 14 Aug. 2018
@Yuvaraj Great
Yuvaraj Venkataswamy
Yuvaraj Venkataswamy am 14 Aug. 2018
Thank you @Kalyan

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by