I have a 3D array of size 1x1x240, where each cell consist of 3x1 matrix, I want to plot all the first element present in each cell for 240 cells .

2 views (last 30 days)
I have a 3D array of size 1x1x240, where each cell consist of 3x1 matrix, I want to plot all the first element present in each cell for 240 cells .

Accepted Answer

Stephen23
Stephen23 on 24 Mar 2017
Edited: Stephen23 on 24 Mar 2017
Where C is your cell array:
M = [C{:}];
plot(M(1,:))
  3 Comments

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!