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 Ansicht (letzte 30 Tage)
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

Antworten (1)

Jos (10584)
Jos (10584) am 25 Mär. 2016
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

Community Treasure Hunt

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

Start Hunting!

Translated by