Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - 日本語

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 manual >> Elementary Functions > vectorfind

vectorfind

ベクトルに一致する行列の行または列を見つける

呼び出し手順

ind = vectorfind(m,v,job)

パラメータ

m

任意の型の行列

v

任意の型のベクトル

job

文字列のフラグで, 値は一致する行をさがす "r" または一致する列を探す "c"

ind

一致した行または列の添字を含む行ベクトル

説明

ベクトルに一致する行列の行または列を見つけます.

alr=[1,2,2;
     1,2,1;
     1,1,2;
     1,1,1;
     1,2,1];

ind = vectorfind(alr,[1,2,1],'r')
ind = vectorfind(string(alr),string([1,2,1]),'r')

参照

作者

R. Nikoukhah, S. Steer INRIA

<< unique Elementary Functions zeros >>

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:
Wed Jan 26 16:25:04 CET 2011