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

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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

제품

릴리스

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