Function definitions are not permitted in this context.

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.

Asked:

on 11 Dec 2022

Edited:

Jan
on 11 Dec 2022

Community Treasure Hunt

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

Start Hunting!