Examples
Type
help plot
in the command window and press Enter.Notice the information is displayed in the command window and you will likely have to scroll up to see the start of the help information. For the plot command, you should see that there are several different ways to use this command. Also, review the available plotting colors while you're here. However, plotting in Matlab is covered in a different lesson.
Type
doc sin
in the command window and press Enter.This opens the help browser window and displays the help information for the
sin
command. The syntax of this command shows that it requires one input argument that is calledx
and returns one value that isy=sin(x)
.Type
helpbrowser
in the command window and press Enter.Notice that the help window opens to the last command that you viewed in the help window.