find_bigd.m

来自「计量工具箱」· M 代码 · 共 28 行

M
28
字号
% PURPOSE: An example of using find_big()  %         to find rows in a matrix%          that meet a size criterion%                                  %---------------------------------------------------% USAGE: find_bigd%---------------------------------------------------tst = [1 2 3 4       5 6 7 8       9 10 11 12];index = find_big(tst,4);% should point to rows 2 and 3 where at% least 1 row-element is > 4indextst = [1 2 3 4       5 6 7 8       9 10 4 12];index = find_big(tst,9);% should point to row 3 where at% least 1 row-element is > 9index

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?