Converting from 1 x n x 3 to n x 3

4 Ansichten (letzte 30 Tage)
C Smyth
C Smyth am 28 Feb. 2018
Beantwortet: KL am 28 Feb. 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)

Akzeptierte Antwort

KL
KL am 28 Feb. 2018
squeeze(your_matrix)
eg: squeeze(1xnx3) gives you nx3 matrix

Weitere Antworten (0)

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by