You are on page 1of 2

NAMA : Nando Perdana Rosal

NIM : A1C615212

1. File Gambar

2. Source Code untuk menbuat histrogram


a = imread('kapal.tiff');
subplot(1,2,1)
imshow(a);
title('Kapal');

h = hist(a)
subplot(1,2,2);
plot(h)
title('Histrogram Kapal')
3. Histogram

You might also like