Converting from 1 x n x 3 to n x 3

203 vues (au cours des 30 derniers jours)
C Smyth
C Smyth le 28 Fév 2018
Réponse apportée : KL le 28 Fév 2018
I have a file with the data as image one. But my code will only work if the data is in a n x 3 matrix (e.g. image 2)

Réponse acceptée

KL
KL le 28 Fév 2018
squeeze(your_matrix)
eg: squeeze(1xnx3) gives you nx3 matrix

Plus de réponses (0)

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by