Jumat, 31 Juli 2009

Matlab is Beautifull

Matlab (Matrix Laboratory) is one of a very powerful tool in order to develop research in various aspects, especially in the technique. This tool can be used as an effective simulation tool, because it is rich in features that support a variety of processes pensimulasian process. Beside that also, Matlab Source Code available abundant ruah, whether officially provided by the software itself (in the form of a demo), and deliberately developed by others for various purposes of a simulation and testing process.

Things that make this tool is visible and powerful data processing capability is based matriksnya. Every variable or data will be considered as a matrix. Begitupun the data manipulation processes, all based matrix. This is very helpful for researchers, because as we know, matrix processing in other programming languages require the functions of relative more complicated.

Okay to start learning matlab, let's start from the most simple things.

To define a variable, we simply mengetikan following syntax in the command window:

Syntaxnya: = [; ]

Note:

Use a semicolon (;) to the separator between the lines, and use the space for the separator between the columns in the matrix components.

To include a comment, use the percent sign (%)

Example:

>> A = 2% Press Enter

A =

2

>> B = [1 2 3 4 5 6]

B =

1 2 3

4 5 6

>> C = [2 3 4 5 6 7];% end if a semicolon, the data will not be displayed

>> D = B + C;

>> Press Enter D%

D =

3 5 7

9 11 13

For other matrix operations can be tried alone, for instance *, -, transpose ( '), and many more others,,,

Beautiful eh? Seindah love the flowers that bloom in the garden continue to Garden,
(I mean seribet a C + + or JAVA getoo)

Continued ....

1 komentar:

Jemiro mengatakan...

exactly :D really nice