Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Scilab-Branch-5.3-GIT
Change language to: English - Français - Português -

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

# repmat

### 呼び出し手順

`B = repmat(A,m,n,...)`
`B = repmat(A,siz)`
`B = repmat(A,m)`

### 引数

A

m, n, ...

siz

B

2次元配列`A`をタイル状に配置した 配列.

### 説明

`repmat(A,m,n)` または同様な `repmat(A,[m,n])` は,`A``m` x `n` のタイル状の コピーからなる大きな行列を返します. 結果の大きさは,`[size(A,1)*M, size(A,2)*N]`です.

`repmat(A,m)` は, `m` x `m`のタイル状コピーを作成します.

`repmat(A,[m n p ...])` は,配列Aをタイル状に コピーし,`A`のコピーからなる多次元配列を作成します. 結果の大きさは, `[size(A,1)*M, size(A,2)*N, size(A,3)*P, ...]`となります.

### 例

```repmat(1:3,2,2)
repmat(int8([1 0 1;0 1 0]),2,3,2)
repmat("Scilab",3,2)
t="Scilab";t(ones(3,2))
repmat([1/%s;2/(%s+1)],1,3)```

### 作者

Serge Steer, INRIA

### Comments

See comments in other languages: Français: 1 comment(s) - English: 1 comment(s)

Add a comment:
Please login to comment this page.

 << permute matrixmanipulation resize_matrix >>

 Scilab EnterprisesCopyright (c) 2011-2017 (Scilab Enterprises)Copyright (c) 1989-2012 (INRIA)Copyright (c) 1989-2007 (ENPC)with contributors Last updated:Thu May 12 11:45:48 CEST 2011