Converting from 1 x n x 3 to n x 3

189 ビュー (過去 30 日間)
C Smyth
C Smyth 2018 年 2 月 28 日
回答済み: KL 2018 年 2 月 28 日
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 Center および File ExchangeConvert Image Type についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by