Help
The help command returns information on MATLAB features:
>> help sin
>> help colon
>> help if
help without any arguments returns a list of MATLAB topics. You can also search for functions which are likely to perform a particular task by using lookfor:
>> lookfor gradient
The MATLAB hypertext reference documentation can be accessed by typing doc.