functionの書き方について
Afficher commentaires plus anciens
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')
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur 関数 dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!