Homework  3

 

Download the problems here

 

 

 

You would need the following files for your home work:

 

Sample

trgSine.dat

testSine.dat

trgIris.dat
lena_std.pgm

 

 

Description of the files:

 

trgSine.dat and testSine.dat both contains two columns, the first one being the input and the second one the output.

trgIris.dat is an ascii file containing data for a classification problem. The first four columns contains the 4 features and the remaining 3 columns are the class labels.

 

lena_std.pgm contains a 256 * 256 pixel image in the pgm format. You can read and display this image in matlab using the following commands:

 

>> a = imread('lena_std.pgm','pgm'); % reads the image in matrix a

>> imagesc(a); colormap gray; axis equal; % displays the image in a