Converting from 1 x n x 3 to n x 3

234 次查看(过去 30 天)
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)

采纳的回答

KL
KL 2018-2-28
squeeze(your_matrix)
eg: squeeze(1xnx3) gives you nx3 matrix

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by