Interactive Control Systems Tools
Help and Hints
System overview


A brief introduction to Matlab and the Interactive Control Systems Tools is presented here.


Importing data

The Interactive Control Systems Tools are created using MATLAB language and run in MATLAB environment. Because of this the data input is based on the data typing rules of the MATLAB. Since this screen is intended to show only the data typing needed for the Interactive Control Systems Tools, for detailed description about MATLAB, MATLAB environment, programming etc. please refer to the MATLAB documentation.

Typing numbers in MATLAB

For convenience entering numbers is described together with entering matrices.

Typing matrices

The following conventions explain a matrix input.

(Example 1)

If you enter A=[1 2 3;4 5 6;7 8 9] followed by Enter key, the MATLAB displays

A=

(Example 2)

Input like [123] presents an 1x1 matrix.

(Example 3)

Input of [ ] is for an empty matrix.

Operators

The operators and precedence rules are

+ Addition
- Substraction
* Multiplication
.* Element-by-element multiplication
./ Element-by-element division
\ Element-by-element right division

Additionally, calculations as shown in the table below are possible:

[matrix_name]^number Matrix power

Example: A^2

sqrtm(number or matrix) Matrix square root Example: sqrtm(A)
abs(number or matrix) Absolute value Example: abs(A)
log10(number or matrix) Decimal logarithm Example: log10(A)
log(number or matrix) Natural logarithm Example: log(A)
exp (number or matrix) Exponential Example: exp 10 or exp A
i or j Imaginary unit Example: 2+4j
pi The 'pi' (3.1415926...) Example: 2*pi
inf Infinite value Example: inf
inv (matrix) Matrix inverse Example: inv(A)
cos(number) Cosine function Example: cos (pi)
sin(number) Sine function Example: sin (pi)
tan(number) Tangent Example: tan (pi)

Additionally, there exist many other calculus functions, but because they are not applicable to the Interactive Control Systems Tools they are omitted here. Those interested in detailed description about MATLAB, MATLAB environment, programming etc. please refer to the MATLAB documentation.

(Example 1)

In put of 1*2*3 produces 6.

(Example 2)

It is possible to include calculus functions inside the input. For example, the input of

[-1.2 3+4;5*6 log(7)]

produces the following matrix:

Colon (:) operator

The colon operator is often used in MATLAB. It occurs in several different forms. It expresses a repeat action in the following meaning:

Definition:

[a:b] [a a+1 a+2 ... b] generates a vector with elements between numbers 'a' and 'b', where a>b and the difference between two neighboring elements is 1. (If a<b, then the generated vector is an empty vector.
[a:b:c]

[a a+b a+2b ... c] same as above, but the difference between two neighboring elements is b.

(Example 1)

Typing

[ 1 : 3 ; 2 : 4 ; 3 : 5 ]

produces a matrix like

(Example 2)

Input as

[ 1:0.5:3 ; 2.6:0.1:3 ]

produces the following matrix

A brief introduction of the Interactive Control Systems Tools

Running the tools

When the tools are started the following main menu appears inside the browser window: