Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.2 - English

Change language to:
Français - 日本語 - Português

Please note that the recommended version of Scilab is 2024.1.0. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Optimization and Simulation > list2vec

list2vec

Catenates list entries in a matrix.

Calling Sequence

[bigVector,varsizes] = list2vec(li)

Arguments

li

a list with n entries. The list entries must be 2D matrices with comptible types.

bigVector

A column vector. Formed by the elements of the corresponding list entry.

varsizes

An n by 3 matrix. Each row contains the dimensions of the corresponding list entry.

Description

Catenates list entries in a column vector. The list entries are supposed to be matrices with compatible types with respect to catenation.

This function is a subsidiary for lmisolver

Examples

list2vec(list(1,2,3))
list2vec(list([1 2 3],[4;5],[%s %s+1]))

See Also

  • vec2list — list2vec reciprocal function

Authors

  • F.D. INRIA
<< leastsq Optimization and Simulation lmisolver >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu May 12 11:44:24 CEST 2011