MatlabClient.vector_from_list
-
static
MatlabClient.
vector_from_list
(a, dtype=<type 'float'>)[source] Make a Matlab-compatible vector from a list.
- Parameters
a (list) – The input list.
dtype (object) – The data type constructor function. Default is
float
.
- Returns
System.Array – The vector.
Examples
>>> MatlabClient.vector_from_list([1, 2, 3], dtype=float)