MATLAB Answers

Converting from 1 x n x 3 to n x 3

5,459 views (last 30 days)
C Smyth
C Smyth on 28 Feb 2018
Answered: KL on 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)

  0 Comments

Sign in to comment.

Accepted Answer

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

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Tags