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})

 Akzeptierte Antwort

KSSV
KSSV am 18 Feb. 2022

1 Stimme

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

6 Kommentare

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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte

Version

R2021a

Gefragt:

am 18 Feb. 2022

Kommentiert:

Jan
am 18 Feb. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by