i have a code which is written in 2006.the author's name is Xiang Bai .code dose not run. i cant find the problem. so i attached the code and the error message.can anyone help me? i really need help.
조회 수: 1 (최근 30일)
이전 댓글 표시
code is about finding the skeleton in shapes. of course it is about skeleton pruning in shapes. i sent mails to author .but he did't answer.i'm begging everyone who read this message help me.thanks a lot
댓글 수: 0
답변 (1개)
Jos (10584)
2016년 3월 25일
This errors arise when the classes of two variables differ.
a = uint32(4)
b = int8(4)
a-b
You can try to cast the variables into the same class:
q = uint32(q)
i = uint32(i)
j = uint32(j)
see doc class for more info
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!