필터 지우기
필터 지우기

Do a matrix,array

조회 수: 1 (최근 30일)
Giannakis Stoukas
Giannakis Stoukas 2015년 5월 4일
답변: Star Strider 2015년 5월 4일
I have a matrix A=[5 4 3; 1 8 2; 6 9 7] and i want to insert it into one array B=[5 4 3 1 8 2 6 9 7].How i will do it?

채택된 답변

Star Strider
Star Strider 2015년 5월 4일
This works:
B = reshape(A', 1, []);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by