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
Ameer Hamza 2018 年 5 月 10 日
Have you correctly followed the example there? It appears that during processing you have changed I.
KSSV
KSSV 2018 年 5 月 10 日
Can you tell what is class of I?
per isakson
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 件)

質問済み:

2018 年 5 月 10 日

編集済み:

2018 年 5 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by