Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.4.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 help >> Elementary Functions > searchandsort > 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')

参照

  • find — 論理値ベクトルまたは行列のtrue要素の添え字を見つける
  • gsort — クイックソートアルゴリズムによるソート
Report an issue
<< lex_sort searchandsort setoperations >>

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:
Tue Apr 02 17:37:31 CEST 2013