I have multiple array with 5 data in a column. Now i need to copy these to a matrix
For eg 5 array of 5x1 strcuture now I need to form 1 matrix of 5x5 but coping the array into matrix columns by column how do is do this????

댓글 수: 1

James Tursa
James Tursa 2020년 4월 12일
Please give a small example with inputs and desired output. What are the variable names? What do the structure fields look like?

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2020년 4월 12일

0 개 추천

Use commas and brackets:
matrix2d = [colVector1, colVector2, colVector3, colVector4, colVector5];

카테고리

도움말 센터File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

제품

릴리스

R2018a

질문:

2020년 4월 12일

답변:

2020년 4월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by