1 / 9

Al Imam Mohammad Bin Saud Islamic University College of Sciences Department of Mathematics

Al Imam Mohammad Bin Saud Islamic University College of Sciences Department of Mathematics. MATLAB 251 : MATH SOFTWARE Introduction to MATLAB. mrs. Asra Sultana. Introduction to MATLAB. 4. Graphics in MATLAB. 4.7 Color Maps

early
Download Presentation

Al Imam Mohammad Bin Saud Islamic University College of Sciences Department of Mathematics

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Al Imam Mohammad Bin Saud Islamic University College of SciencesDepartment of Mathematics MATLAB 251 : MATH SOFTWARE Introduction to MATLAB mrs.Asra Sultana

  2. Introduction to MATLAB 4. Graphics in MATLAB • 4.7 Color Maps • Matlab uses a matrix called colormapto color surfaces or images. • The colormap is a list of triplets corresponding To the intensities between 0 and 1 of the red, green and blue You can create your own colormaps or use any matlab predefined colormaps

  3. Introduction to Matlab hsv hot gray bone copper pink white flag lines colorcube jet prism cool autumn spring winter summer Carry out the following commands and observe >>peaks; >>colormap(gray(8)) >>m = gray(8); >>imagesc(colormap(m))

  4. Introduction to Matlab 4.8 Specialized graphs

  5. Introduction to Matlab >> t = [-2:2]’; >> y = [5 2 1; 8 7 3; 9 8 7; 5 5 5;4 3 2];

  6. Introduction to Matlab >> bar(t,y,’stack’) >> bar(t,y)

  7. Introduction to Matlab >> bar3(t,y) >> area(t,y)

  8. Introduction to Matlab >> pie([31 15 8]) >> hist(randn(1000,3))

  9. Introduction to Matlab

More Related