How to convert (2x3)[each element in 2x3 contains 1x19 double]cell array ?

1 view (last 30 days)
2x3 cell Capture.jpg I want to convert to something like shown in 2nd jpg
  3 Comments

Sign in to comment.

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 12 Oct 2018
my guess, A is the original data, B is the desired result
A=repmat({1:5},2,3);
B=cell2mat(reshape(transpose(A),[],1))

More Answers (0)

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!