and PG level projects,mini projects and many more here ...

Implementation tool.

The implementation of Clustering Algorithm was done on MATLAB version (R12.1). MATLAB is a high-level matrix/array language with control flow statement, functions, data structures, input/output, and object oriented programming features.

It has a set of tools and facilities that makes the users more convinced to select MATALAB as an implementation. It includes facilities for managing the variables in your workspace and importing and exporting data. It also includes tools for developing, managing, debugging, profiling M-files and MATLAB’s applications.

The ease of use is its best features. It has more than 100 mathematical and engineering functions, rich and powerful toolboxes. MATLAB includes

powerful, interactive 2-D and 3-D plotting capabilities that allow one to create

revealing color graphics. Moreover, its demos are educating and make the subject easy and interesting. The major components of the MATLAB environment are follows:

Command Window: Whenever MATLAB is invoked, the main window called Command Window is activated. The Command Window displays the command prompt “>>” and a cursor where commands are entered and are executed instantaneously on pressing the “Enter” key of the keyboard.

For example, if one wants to evaluate the expression (20*3-5), it is entered at the command prompt as shown below”



The result obtained on pressing ‘Enter’ key is displayed in the command

Window as shown below:

ans =


The result of the expression had not been assigned to any variable. Therefore, MATLAB stores the result in a default variable, ‘ans’. The same
expression can be evaluated again by assigning the result to a variable ‘x’,

as given below:

= 20 ∗ 3 − 5

The result obtained in the command Windows is as shown below:



‘ ’
The output display indicates that the result is now stored in the variable .

If the output of a statement is not needed to be displayed, then “;” (semi colon) is added at the end of the statement. Command History Window: The Command History Window consists of a list of all the commands that are entered at the Command Window. It consists of commands of previous sessions also. These commands remain in the list until they are deleted. A program file containing the selected commands may be created by choosing the ‘Create M-file’ option from the menu. Similarly, commands may be deleted by selecting the commands and right clicking the mouse and selecting ‘Delete Selection’ from the pop-up menu. The command History window is as shown in figure 7.2

Current directory: In the current directory Window, all the files and folders present in the current directory are listed as shown in the Figure


Edit Window: An edit window is used to create a new program file,or to modify existing files. In this window, programs can be written, edited and saved. The programs written using the MATLAB editor are automatically assigned an extension (.m) by the editor and are known as



Help Browser: The help Bowser can be opened by selecting the Helpicon from the desktop toolbar, or by choosing Help menu on theMATLAB desktop or by typing doc or helpdesk or helpwin in the command Window. Once the Help Browser is opened, the details of any particular command function can be obtained. Figure 7.7 shows the Help Browser of MATLAB.