Function definitions are not permitted in this context.

1 view (last 30 days)
img = imread('robot_projisi.png');
disp(img);
function simg = greysmoot1(img, n)
grey = imono(img);
K = ones(n,n) / n^2;
simg = iconv(K, grey);
end
//
command window
Function definitions are not permitted in this context.

Answers (1)

Stephan
Stephan on 11 Dec 2022

Categories

Find more on Desktop in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!