Function definitions are not permitted in this context.

1 visualizzazione (ultimi 30 giorni)
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.

Risposte (1)

Stephan
Stephan il 11 Dic 2022

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by