Exercises
Use Matlab to answer each question.
-
What is the numeric value of this expression?
ans = 43.5000
. -
What is the minimum number of input parameters required to plot something using the
plot
command?Comment: You need at least one value, a y-coordinate. This would plot the point
(1,y)
in the center of a plot figure. -
What is difference between
help help
anddoc doc
?Comment: The
help
command displays information about the help command in the Command Window. Thedoc
command opens a new window with information about the doc command. -
What happens when you dock the Editor window?
Hint: Close the Editor window first. Then, open a new m-file and select
Desktop->Dock Editor
in the Editor window.Docking is when a floating window is given a place in Matlab's desktop configuration. It usually means that an existing window is made smaller to make room for the docked window.
Use the Desktop menu to see some of the other docking options available to you in Matlab.