Effacer les filtres
Effacer les filtres

I want to convert matrix into vector

1 vue (au cours des 30 derniers jours)
shimji k
shimji k le 26 Nov 2020
Modifié(e) : shimji k le 26 Nov 2020
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.

Réponse acceptée

Andrei Bobrov
Andrei Bobrov le 26 Nov 2020
a - your array [512 x 512 x 434]
out = reshape(a,[],size(a,3))

Plus de réponses (0)

Catégories

En savoir plus sur Resizing and Reshaping Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by