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

 採用された回答

KSSV
KSSV 2022 年 2 月 18 日

1 投票

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

6 件のコメント

Shubham Pathare
Shubham Pathare 2022 年 2 月 18 日
it is giving me below error
CELL2MAT does not support cell arrays containing cell arrays or objects
KSSV
KSSV 2022 年 2 月 18 日
What data cellarray has?
Shubham Pathare
Shubham Pathare 2022 年 2 月 18 日
if you see the attached image ex 1st cell has 28 rows in one columns and they contains double
Jan
Jan 2022 年 2 月 18 日
@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}))
Shubham Pathare
Shubham Pathare 2022 年 2 月 18 日
@Jan @KSSV thanks the solution you gave is working now
Jan
Jan 2022 年 2 月 18 日
Fine. If it is working, please accept the answer to show, that the problem is solved.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

製品

リリース

R2021a

質問済み:

2022 年 2 月 18 日

コメント済み:

Jan
2022 年 2 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by