Friday, 14 November 2014

Getting Started with MATLAB



MATLAB is Package of different toolboxes such as image processing toolbox, signal processing toolbox, communication system toolbox, computer vision toolbox, control system toolbox and many more. Apart from these installed toolboxes, Add-on toolboxes are also available separately for solving the particular problems which extends the MATLAB environment. MATLAB is basically used for computation of various problems and equation expressed in mathematical notations. Being simple to use another advantage of MATLAB is that it provides GUI development with predefined dialog box, user interface objects and GUI utilities.

  
MATLAB Window















The MATLAB window is broadly divided into five main windows.

1.  Current Folder: Here from the picture above you can see that the default folder that is the current folder is bin where your files or work will be stored. You can also save your files to the desired folder by providing a proper link or path to that folder in current folder. There are other MATLAB commands for checking the current directory pwd (present working directory) and changing the directory cd.


2. Command Window: As the name suggests this window is using for executing the inbuilt MATLAB commands, particular m files using the program name or functions or directly access or creating the variables. Also the output of the programs or commands is shown here if the commands are not terminated by semi colons (;).


3. Editor: Like all other editors the MATLAB editors is also used for editing m files, script or functions. Creating a new m files or script will land you here. Different colors are used here to improve the readability of codes like green color is used for comments.


4. Workspace: The workspace stores the various variables that were created or stored during the program execution or we can say that this window shows the memory content after the program execution. It also provides different options such as creating a variable with single click, import variable, delete variable, save variable and plot the variable values.


5. Command History: It displays the list of all the previously entered commands irrespective of whether the commands were successful or not. The commands are listed with the dated and time which makes it easier to scroll to the particular commands.
 


No comments:

Post a Comment