how to plot cell array with contains another cell array

i am using below command but getting error of invalid data arguments
plot(meandataChloop{2,1}, meandataChloop{1,1})

 Accepted Answer

Convert the cell array into matrix using cell2mat and then plot.

6 Comments

it is giving me below error
CELL2MAT does not support cell arrays containing cell arrays or objects
What data cellarray has?
if you see the attached image ex 1st cell has 28 rows in one columns and they contains double
@Shubham Pathare: "It is giving me" does not reveal, which code you have used. This one?
plot(cell2mat(meandataChloop{2,1}), cell2mat(meandataChloop{1,1}))
@Jan @KSSV thanks the solution you gave is working now
Fine. If it is working, please accept the answer to show, that the problem is solved.

Sign in to comment.

More Answers (0)

Products

Release

R2021a

Asked:

on 18 Feb 2022

Commented:

Jan
on 18 Feb 2022

Community Treasure Hunt

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

Start Hunting!