clear;  %clear variables in the workspace
clc;   %clear the plotting window

tum(10,10)=0  %initiate the tumor variable
tum(1,5)=1    %define a noise feature 
tum(8,5)=1    %define another noise featuer
tum(3,3)=1    %define a benign tumor
tum(3,4)=1    
tum(7,9)=1    %define a begin tumor
tum(8,9)=1
tum(6,2)=1   %define a malignant tumor (left bend)
tum(6,3)=1   
tum(7,2)=1
tum(4,7)=1   %define another malignant tumor (right bend)
tum(4,8)=1   
tum(5,8)=1

mycolormap=[1,1,1;0,0,0]   %define a color map
colormap(mycolormap)       %call my color map
imagesc(tum)               %show the image of the 2-D data
axis square                %square axis
grid on                    %show data grid
set(gca,'XTick',[1:10],'YTick',[1:10]) %set tick marks




