Clear Filters
Clear Filters

Creating a square matrix from 5 vectors

3 views (last 30 days)
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

Accepted Answer

Torsten
Torsten on 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]

More Answers (0)

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!