Unrecognized function or variable

1 Ansicht (letzte 30 Tage)
Rd
Rd am 17 Jul. 2020
Beantwortet: madhan ravi am 17 Jul. 2020
code :
edge_img = zeros(size(img));
edge_img(edges(1,:) + size(img,1)*[0:size(img,2)-1]) = 1;
edge_img(edges(2,:) + size(img,1)*[0:size(img,2)-1]) = 1;
error shown:
Unrecognized function or variable 'edges'.
Error in linebyline (line 16)
edge_img(edges(1,:) + size(img,1)*[0:size(img,2)-1]) = 1;
kindly help me to remove this issue.

Akzeptierte Antwort

madhan ravi
madhan ravi am 17 Jul. 2020
edges not defined

Weitere Antworten (0)

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by