Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.1 - Русский

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

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

Справка Scilab >> Data Structures > cells > makecell

makecell

Creates a cell array.

Syntax

s = makecell(dims,a1,a2,...an)

Arguments

dims

a vector with positive integer elements, the cell array dimension

a1,a2,...,an

Sequence of Scilab variables, n must be equal to prod(dims)

s

resulting cell array

Description

s= makecell(dims,a1,a2,...an) creates a cell array of dimensions given by dims with the given input arguments. The ai are stored along the last dimension first.

Examples

makecell([2,3],1,2,3,'x','y','z')

See also

  • cell — создаёт cell-массив пустых матриц
  • matrix — изменение вектора или матрицы в матрицу иных размеров
  • size — размер объекта
  • brackets [..] — Concatenation. Recipients of an assignment. Results of a function
  • cat — конкатенация нескольких массивов
Report an issue
<< iscellstr cells num2cell >>

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:
Mon Feb 12 20:08:39 CET 2018