Creating a square matrix from 5 vectors

2 Ansichten (letzte 30 Tage)
Berkay am 29 Aug. 2022
Beantwortet: Torsten am 29 Aug. 2022
I have created 5 different vector and their name are R1,R2...
I want to use them to create the square matrix how can I do it

Akzeptierte Antwort

Torsten am 29 Aug. 2022
If the R's are row vectors:
A = [R1;R2;R3;R4;R5]
If they are column vectors:
A = [R1,R2,R3,R4,R5]

Weitere Antworten (0)


Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by