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 >> Scilab > Scilab keywords > dollar

dollar

($) 最後の添字

説明

$記号は,配列の(行または列の)最後の添字を表します. このため,この記号は,行または列の数と等しくなります.

この$ 記号は, $を開始および終了タグで使用する LaTeXテキストでも使用されます. math_rendering_features_in_graphicも参照ください.

a=[1,2,3;4,5,6];
a($)

b = [1 2 3;4 5 6;7 8 9];
// 最初の行の最後の要素(3)にアクセス
b(1,$)
// 2番目の行の最後の要素(8)にアクセス
b($,2)
//bの最後の要素(9)にアクセス
b($,$)

// 行列bの最後に行を追加
b($+1,:) = [1 1 1]

// $記号をLaTeXデリミタとして使用
titlepage(['$\Huge\textrm{It is }\LaTeX:$';'$\Huge 2^2+1=\sqrt{25}$'])

参照

Report an issue
<< comparison Scilab keywords dot >>

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