HomeWork1_Julian Jordan - Julian Jordan Homework 1 Data...

Info icon This preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Julian Jordan Homework 1 Data Mining CSCI 4380 Commands Used in Matlab %Importing the data from the excel document data = xlsread('sr.xlsx'); %Storing the different samples into their rspective variables sample1 = data(:,1); sample2= data(:,2); sample3= data(:,3); sample4= data(:,4); sample5= data(:,5); sample6= data(:,6); sample7= data(:,7); sample8= data(:,8); sample9= data(:,9); sample10= data(:,10); sample11= data(:,11); sample12= data(:,12); sample13= data(:,13); sample14= data(:,14); sample15= data(:,15); sample16= data(:,16); sample17= data(:,17); sample18=data(:,18); sample19=data(:,19); sample20=data(:,20); %Storing the mean of each sample into a respective variables
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Julian Jordan Homework 1 Data Mining CSCI 4380 s1m=mean(sample1); s2m=mean(sample2); s3m=mean(sample3); s4m=mean(sample4); s5m=mean(sample5); s6m=mean(sample6); s7m=mean(sample7); s8m=mean(sample8); s9m=mean(sample9); s10m=mean(sample10); s11m=mean(sample11); s12m=mean(sample12); s13m=mean(sample13); s14m=mean(sample14); s15m=mean(sample15); s16m=mean(sample16); s17m=mean(sample17); s18m=mean(sample18); s19m=mean(sample19); s20m=mean(sample20); %Storing the standard deviation of each sample into their respective %variables stds1=std(sample1); stds2=std(sample2); stds3=std(sample3); stds4=std(sample4);
Image of page 2
Julian Jordan Homework 1 Data Mining CSCI 4380 stds5=std(sample5); stds6=std(sample6); stds7=std(sample7); stds8=std(sample8); stds9=std(sample9); stds10=std(sample10); stds11=std(sample11); stds12=std(sample12); stds13=std(sample13); stds14=std(sample14); stds15=std(sample15); stds16=std(sample16); stds17=std(sample17); stds18=std(sample18); stds19=std(sample19); stds20=std(sample20); %Computing the 25th percentile for each data set p25s1=prctile(sample1,25); p25s2=prctile(sample2,25); p25s3=prctile(sample3,25); p25s4=prctile(sample4,25); p25s5=prctile(sample5,25); p25s6=prctile(sample6,25); p25s7=prctile(sample7,25); p25s8=prctile(sample8,25); p25s9=prctile(sample9,25);
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Julian Jordan Homework 1 Data Mining CSCI 4380 p25s10=prctile(sample10,25); p25s11=prctile(sample11,25);
Image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern