MATLAB Answers

BOB
0

Convert cell array to two row vector

Asked by BOB
on 11 Sep 2018
Latest activity Edited by Stephen Cobeldick on 11 Sep 2018
Hi folks,
I have the following cell array:
hvix =
[2x1 double]
[2x8 double]
[2x15 double]
[2x1 double]
I want to concatenate them into a 2 x 25 matrix. Is this possible?
Thanks

  0 Comments

Sign in to comment.

2 Answers

Answer by Andrei Bobrov
on 11 Sep 2018
 Accepted Answer

cell2mat(hvix(:)')

  0 Comments

Sign in to comment.