functionの書き方について
Mostrar comentarios más antiguos
matlab初心者です。 色々見ながら、以下のコードで実行できると思うのですが何が問題わからず困っております。 アドバイス頂けると幸いです。
以下function file
function down (img)
close all;
clear all;
I = imread(img);
figure, imshow(I);
img_64 = imresize(I, 0.25);
figure, imshow(img_64);
end
以下実行コマンド
img = 'name.jpg'
down ('img')
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre 関数 en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!