Invalid data type. First argument must be numeric or logical.
이전 댓글 표시
I use max max(I(:)), min(I(:)) from the official's matlab documentation https://uk.mathworks.com/help/images/create-new-dicom-series.html
And I get the error (see subject line)
Any help?
댓글 수: 3
Ameer Hamza
2018년 5월 10일
Have you correctly followed the example there? It appears that during processing you have changed I.
KSSV
2018년 5월 10일
Can you tell what is class of I?
per isakson
2018년 5월 10일
편집: per isakson
2018년 5월 10일
I cannot reproduce your problem on R2016a.
Could it be that min and/or max is shadowed on your system. Run
which min -all
which max -all
and show us the results
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Read and Write Image Data from Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!