I want to convert matrix into vector

조회 수: 1 (최근 30일)
shimji k
shimji k 2020년 11월 26일
편집: shimji k 2020년 11월 26일
I want to convert matrix into vector.I have a matrix which contain noise of 434 images. The size of the noise is 512*512*434 i want to convert this into a vector that is 262144*434 .
How is this possible.Pls reply,Thanks in advance.

채택된 답변

Andrei Bobrov
Andrei Bobrov 2020년 11월 26일
a - your array [512 x 512 x 434]
out = reshape(a,[],size(a,3))

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by