how to build histograms from a cell array

Hi,
I have a cell array with 20 cells of 1000*10 tables. I would like to build 20 histograms, each for each cell of the array (table of 1000 lines and 10 columns). However, doing a for cycle to do it return a error saying that scripts are not allowed. How can this problem be solved?
I thank you in advance,
Best regards

댓글 수: 2

Can you post a sample of your code?
Jan
Jan 2022년 2월 24일
"saying that scripts are not allowed" - post a copy of the original message instead of paraphrasing it. The details matter.
Usually this message means, that you create a script in a function file. Scripts must appear on top of functions in M-files. So please post your code such that a modification can be suggested. Your problem has no relation to histograms, but it concerns writing scripts and functions in general.

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

답변 (0개)

카테고리

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

제품

릴리스

R2021a

태그

질문:

2022년 2월 24일

댓글:

Jan
2022년 2월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by