- •Features of the using MathLab package. Problems of linear algebra, working with functions in the MathLab.
- •Work with arrays
- •Work with vectors
- •Task of vectors
- •Application of data processing functions to the vectors
- •Memberwise operations with vectors
- •Input of matrices, simplest operations
- •Calculations with arrays
- •Three-dimensional graphic arts
- •Decision of the systems of linear equations
- •Change of colour palette of chart
- •Turn of chart, change of point of review
Change of colour palette of chart
Function colormap(n), where n - the palette of color sets the colour palette of chart. A palette is set for all window, for renewal of primary value of palette apply the command colormap('default').
Palette |
Discoloration |
autumn |
smooth change: red-orange-yellow |
gray |
tints of grey |
bone |
alike on gray, but with the easy tint of dark blue |
colorcube |
every color changes from dark to bright |
cool |
tints blue and purple colors |
copper |
tints of copper color |
flag |
cyclic change: red-white-dark blue-black |
hot |
smooth change: black-red-orange-yellow-white |
hsv |
smooth change (as rainbow colors) |
jet |
smooth change: dark blue-blue-green-yellow-red |
pink |
alike on gray, but with the easy tint of brown |
prism |
cyclic change: red-orange-yellow-green-dark blue-violet |
spring |
tints purple and yellow |
summer |
tints green and yellow |
vga |
palette of Windows from 16 colors |
white |
one white color |
winter |
tints dark blue and green |
Task 22.
Build the
chart of function
,
as it is shown on a picture. For the output of column, setting
accordance between a color and value of function, use the command
colorbar.
For denotation of the name of axis use the command xlabel('x').
Turn of chart, change of point of review
The change of position of observer in relation to a chart is carried out by the function of view, which has arguments is an azimuth and corner rises, read-out in degrees. An azimuth is counted off from an axis, opposite y (by default - 37.50), and corner of rise from the plane of xy (by default 300).
To see the hidden part of surface of chart, built in a task 20, it is needed to set >> view(135,45)
|
To open out the same chart along the axis of y from the side of plane of xz, it is needed to set >>view(0,0)
|
Task 23.
Observ by a chart surfaces from different points.
