CMPSC 200 Exam 2 Questions With Correct
Answers
find - CORRECT ANSWER✔✔-returns the index location of a non-zero element
| | | | | | | | | | |
(array)
traps - CORRECT ANSWER✔✔-performs numerical integration with vector inputs
| | | | | | | | |
(vector)
axis - CORRECT ANSWER✔✔-sets limits on values shown on a plot (xmin xmax
| | | | | | | | | | | | |
ymin ymax)
|
colormap - CORRECT ANSWER✔✔-set current color scheme of a plot (season or
| | | | | | | | | | | |
RGB)
double - CORRECT ANSWER✔✔-coverts input to 64-bit floating point (scalar,
| | | | | | | | | |
array,vector)
grid - CORRECT ANSWER✔✔-adds grid to a plot (on/off)
| | | | | | | |
subplot - CORRECT ANSWER✔✔-creates multiple charts on a figure (m,n,p)
| | | | | | | | |
xlabel - CORRECT ANSWER✔✔-labels x-axis ('label')
| | | | |
Answers
find - CORRECT ANSWER✔✔-returns the index location of a non-zero element
| | | | | | | | | | |
(array)
traps - CORRECT ANSWER✔✔-performs numerical integration with vector inputs
| | | | | | | | |
(vector)
axis - CORRECT ANSWER✔✔-sets limits on values shown on a plot (xmin xmax
| | | | | | | | | | | | |
ymin ymax)
|
colormap - CORRECT ANSWER✔✔-set current color scheme of a plot (season or
| | | | | | | | | | | |
RGB)
double - CORRECT ANSWER✔✔-coverts input to 64-bit floating point (scalar,
| | | | | | | | | |
array,vector)
grid - CORRECT ANSWER✔✔-adds grid to a plot (on/off)
| | | | | | | |
subplot - CORRECT ANSWER✔✔-creates multiple charts on a figure (m,n,p)
| | | | | | | | |
xlabel - CORRECT ANSWER✔✔-labels x-axis ('label')
| | | | |