Navigation : Top/MATLAB Practice 3

MATLAB Practice 3


#author("2022-06-06T12:38:27+09:00","default:mori","mori")
#author("2022-06-06T12:38:52+09:00","default:mori","mori")
*Contour and vector maps [#h4c7b171]

+ Create a contour using the data of `a=peaks'. Show the names of the coordinates as well. 
 # peaks, contour
 # xlabel, ylabel 
+ Find the gradient from the data of `a=peaks', compute the vector plot and plot it. 
 # peaks, gradient, quiver 
+ Draw a vector diagram overlapping the contour using the data from 1 and 2. 
Indicate the names of the x- and y-axis coordinates in 14-point font size. The lengths of the x- and y-axes should be the same. 
 # hold on, hold off xlabel, ylabel, set(gca,???) 
Create a filled contour with contours removed using the data in +`a=peaks'. The maximum and minimum values of the contour should be [-5,10] and a colorbar should be added to the side of the figure. 
+ Create a filled contour with contours removed using the data in +`a=peaks'. The maximum and minimum values of the contour should be [-5,10] and a colorbar should be added to the side of the figure. 
Find the second derivative of a and overlap the vector plot. 
 # peaks, contourf, pcolor
 # set(h,'LineStyle','none'), caxis, colorbar 
+ Save the figures 3 and 4 in bmp, jpeg and eps formats and compare the file sizes 
 # print