AddDim

From VLECK
Jump to: navigation, search


adds a dimension to an existing matrix or vector

Syntax

return = AddDim(Values);

Return value

Parameters

Values matrix or structure with numerical values


Example

a = 1#5
1	2	3	4	5

Dim(a)
5

AddDim(a)
1
2
3
4
5


Dim(a)
5	1

AddDim(a)
1

2

3

4

5



Dim(a)
5	1	1