hello everyone,
I have matrix with 6*36 elements I want to transform all the elements in vector with 108*1 (108=6*36)
example A=[1 2 3;8 9 7] will be B=[1;2;3;8;9;7 ]
and thank you very much

 채택된 답변

KSSV
KSSV 2020년 8월 22일

0 개 추천

A = [1 2 3 ; 8 9 7] ;
iwant = A(:)

추가 답변 (0개)

카테고리

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

태그

질문:

2020년 8월 22일

댓글:

2020년 8월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by