Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.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ヘルプ >> Differential Equations, Integration > ode_discrete

ode_discrete

常微分方程式ソルバ, 離散時間シミュレーション

呼び出し手順

y=ode("discrete",y0,k0,kvect,f)

パラメータ

y0

実数のベクトルまたは行列 (初期条件).

t0

実数スカラー (初期時間).

f

外部 (関数または文字列またはリスト).

k0

整数 (初期時間).

kvect

整数ベクトル.

説明

(最初の引数を"discrete"とする ) この構文により,odeは 初期状態量 y(k0) から再帰的に y(k+1)=f(k,y(k))を計算し, kvectの中にあるkについて y(k)を返します. kvect(1)k0以上である 必要があります.

他の引数およびその他のオプションは odeと同じです. odeのヘルプを参照ください.

y1=[1;2;3]; deff("yp=a_function(k,y)","yp=A*y+B*u(k)")
A=diag([0.2,0.5,0.9]); B=[1;1;1];u=1:10;n=5;
y=ode("discrete",y1,1,1:n,a_function);
y(:,2)-(A*y1+B*u(1))

// ここで, [y3,y5,y7,y9] で y を評価します
y=ode("discrete",y1,1,3:2:9,a_function)

参照

  • ode — 常微分方程式ソルバ
Report an issue
<< ode Differential Equations, Integration ode_optional_output >>

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:
Fri Apr 11 14:18:54 CEST 2014