Creating a square matrix from 5 vectors

1 visualización (últimos 30 días)
Berkay
Berkay el 29 de Ag. de 2022
Respondida: Torsten el 29 de Ag. de 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

Respuesta aceptada

Torsten
Torsten el 29 de Ag. de 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]

Más respuestas (0)

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by