+ All Categories
Home > Documents > HISTOGRAMS The overall range of a given set of data points...

HISTOGRAMS The overall range of a given set of data points...

Date post: 05-Nov-2019
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
13
Islamic University of Gaza Faculty of Engineering Civil Engineering Department Computer Programming Lecture 14 Computer Programming Dr. Jawdat Abu Taha HISTOGRAMS Histograms are plots that show the distribution of data. The overall range of a given set of data points is divided into subranges (bins), and the histogram shows how many data points are in each bin. The histogram is a vertical bar plot in which the width of each bar is equal to the range of the corresponding bin and the height of the bar corresponds to the number of data points in the bin. Histograms are created in MATLAB with the hist command:
Transcript
Page 1: HISTOGRAMS The overall range of a given set of data points ...site.iugaza.edu.ps/jtaha/files/2019/09/Presentation12-HISTOGRAMS.pdfComputer ProgrammingComputer Programming Dr. Jawdat

Islamic University of GazaFaculty of EngineeringCivil Engineering Department

Computer Programming Lecture 14Computer Programming Dr. Jawdat Abu Taha

HISTOGRAMS

Histograms are plots that show the distribution of data.The overall range of a given set of data points is divided intosubranges (bins), and the histogram shows how many data pointsare in each bin.The histogram is a vertical bar plot in which the width of each bar is equal to the range of the corresponding bin and the height of the bar corresponds to the number of data points in the bin. Histograms are created in MATLAB with the hist command:

Page 2: HISTOGRAMS The overall range of a given set of data points ...site.iugaza.edu.ps/jtaha/files/2019/09/Presentation12-HISTOGRAMS.pdfComputer ProgrammingComputer Programming Dr. Jawdat

Islamic University of GazaFaculty of EngineeringCivil Engineering Department

Computer Programming Lecture 14Computer Programming Dr. Jawdat Abu Taha

Page 3: HISTOGRAMS The overall range of a given set of data points ...site.iugaza.edu.ps/jtaha/files/2019/09/Presentation12-HISTOGRAMS.pdfComputer ProgrammingComputer Programming Dr. Jawdat

Islamic University of GazaFaculty of EngineeringCivil Engineering Department

Computer Programming Lecture 14Computer Programming Dr. Jawdat Abu Taha

Page 4: HISTOGRAMS The overall range of a given set of data points ...site.iugaza.edu.ps/jtaha/files/2019/09/Presentation12-HISTOGRAMS.pdfComputer ProgrammingComputer Programming Dr. Jawdat

Islamic University of GazaFaculty of EngineeringCivil Engineering Department

Computer Programming Lecture 14Computer Programming Dr. Jawdat Abu Taha

Page 5: HISTOGRAMS The overall range of a given set of data points ...site.iugaza.edu.ps/jtaha/files/2019/09/Presentation12-HISTOGRAMS.pdfComputer ProgrammingComputer Programming Dr. Jawdat

Islamic University of GazaFaculty of EngineeringCivil Engineering Department

Computer Programming Lecture 14Computer Programming Dr. Jawdat Abu Taha

Page 6: HISTOGRAMS The overall range of a given set of data points ...site.iugaza.edu.ps/jtaha/files/2019/09/Presentation12-HISTOGRAMS.pdfComputer ProgrammingComputer Programming Dr. Jawdat

Islamic University of GazaFaculty of EngineeringCivil Engineering Department

Computer Programming Lecture 14Computer Programming Dr. Jawdat Abu Taha

Page 7: HISTOGRAMS The overall range of a given set of data points ...site.iugaza.edu.ps/jtaha/files/2019/09/Presentation12-HISTOGRAMS.pdfComputer ProgrammingComputer Programming Dr. Jawdat

Islamic University of GazaFaculty of EngineeringCivil Engineering Department

Computer Programming Lecture 14Computer Programming Dr. Jawdat Abu Taha

Page 8: HISTOGRAMS The overall range of a given set of data points ...site.iugaza.edu.ps/jtaha/files/2019/09/Presentation12-HISTOGRAMS.pdfComputer ProgrammingComputer Programming Dr. Jawdat

Islamic University of GazaFaculty of EngineeringCivil Engineering Department

Computer Programming Lecture 14Computer Programming Dr. Jawdat Abu Taha

Page 9: HISTOGRAMS The overall range of a given set of data points ...site.iugaza.edu.ps/jtaha/files/2019/09/Presentation12-HISTOGRAMS.pdfComputer ProgrammingComputer Programming Dr. Jawdat

Islamic University of GazaFaculty of EngineeringCivil Engineering Department

Computer Programming Lecture 14Computer Programming Dr. Jawdat Abu Taha

Page 10: HISTOGRAMS The overall range of a given set of data points ...site.iugaza.edu.ps/jtaha/files/2019/09/Presentation12-HISTOGRAMS.pdfComputer ProgrammingComputer Programming Dr. Jawdat

Islamic University of GazaFaculty of EngineeringCivil Engineering Department

Computer Programming Lecture 14Computer Programming Dr. Jawdat Abu Taha

Page 11: HISTOGRAMS The overall range of a given set of data points ...site.iugaza.edu.ps/jtaha/files/2019/09/Presentation12-HISTOGRAMS.pdfComputer ProgrammingComputer Programming Dr. Jawdat

Islamic University of GazaFaculty of EngineeringCivil Engineering Department

Computer Programming Lecture 14Computer Programming Dr. Jawdat Abu Taha

PUTTING MULTIPLE PLOTS ON THE SAME PAGE

Page 12: HISTOGRAMS The overall range of a given set of data points ...site.iugaza.edu.ps/jtaha/files/2019/09/Presentation12-HISTOGRAMS.pdfComputer ProgrammingComputer Programming Dr. Jawdat

Islamic University of GazaFaculty of EngineeringCivil Engineering Department

Computer Programming Lecture 14Computer Programming Dr. Jawdat Abu Taha

MULTIPLE FIGURE WINDOWS

Page 13: HISTOGRAMS The overall range of a given set of data points ...site.iugaza.edu.ps/jtaha/files/2019/09/Presentation12-HISTOGRAMS.pdfComputer ProgrammingComputer Programming Dr. Jawdat

Islamic University of GazaFaculty of EngineeringCivil Engineering Department

Computer Programming Lecture 14Computer Programming Dr. Jawdat Abu Taha

PLOTTING USING THE PLOTS TOOLSTRIP

In the lab


Recommended