MATLAB Answers

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 件)

Community Treasure Hunt

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

Start Hunting!

Translated by