release
説明
例
未評価の積分
評価しない積分 へのシンボリック呼び出しを定義します。関数int
を使用して積分を定義する際に 'Hold'
オプションを true に設定します。
syms x F = int(cos(x),'Hold',true)
F =
release
を使用して、'Hold'
オプションを無視して積分を評価します。
G = release(F)
G =
未評価積分と部分積分
の積分を求めます。
'Hold'
オプションを true
に設定することにより、評価せずに積分を定義します。
syms x g(y) F = int(x*exp(x),'Hold',true)
F =
関数 integrateByParts
を使用することで、F
に対して部分積分を適用できます。積分される微分として exp(x)
を使用します。
G = integrateByParts(F,exp(x))
G =
G
の積分を評価するには、関数 release
を使用して 'Hold'
オプションを無視します。
Gcalc = release(G)
Gcalc =
結果を、'Hold'
オプションを設定しない場合の int
から返される積分結果と比較します。
Fcalc = int(x*exp(x))
Fcalc =
置換積分
置換積分を使用して の積分を求めます。
'Hold'
オプションを true
に設定することにより、評価せずに積分を定義します。
syms x t F = int(cos(log(x)),'Hold',true)
F =
式 log(x)
に t
を代入します。
G = changeIntegrationVariable(F,log(x),t)
G =
G
の積分を評価するには、関数 release
を使用して 'Hold'
オプションを無視します。
H = release(G)
H =
t
の代わりに、log(x)
を復元します。
H = simplify(subs(H,t,log(x)))
H =
結果を、'Hold'
オプションを true
に設定しない int
によって返される積分結果と比較します。
Fcalc = int(cos(log(x)))
Fcalc =
入力引数
expr
— 積分を含む式
シンボリック式 | シンボリック関数 | シンボリック ベクトル | シンボリック行列
積分を含む式。シンボリック式、シンボリック関数、シンボリック ベクトルまたはシンボリック行列として指定します。
バージョン履歴
R2019b で導入
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)