Vector

From iMath
Revision as of 16:01, 2 July 2017 by Jrheinlaender (talk | contribs) (Created page with "A vector can be defined by the following three methods: ** <code>expression : expression</code> The given expressions are the first and last element of the vector. In...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

A vector can be defined by the following three methods:

    • expression : expression The given expressions are the first and last element of the vector. In between more elements will be interpolated to make a total of 20, e.g. x = 1:20 will give a vector containing the integer numbers from 1 to 20.
    • expression : expression : expression This form gives the step value for interpolating the elements between start and end element in the third expression.
    • bracket expression &124; expression ... bracket This form lists all elements of the vector explicitly.