Function definitions are not permitted in this context.

1 Ansicht (letzte 30 Tage)
mousa alsarhan
mousa alsarhan am 11 Dez. 2022
Bearbeitet: Jan am 11 Dez. 2022
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.

Antworten (1)

Stephan
Stephan am 11 Dez. 2022

Kategorien

Mehr zu Startup and Shutdown 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