怎样用matlab 进行符号积分

来源:百度知道 编辑:UC知道 时间:2024/05/30 14:12:37
131/1250*ST*(1/ST)^(3/2)*exp(-6277/100000*vol^2-1403797224009297/2305843009213693952/vol^2-log(1/100*ST)^2/vol^2)/(vol^2)^(1/2);
对ST积分,0到无穷,好多方法都用了都不可以啊。int 啊什么的。急死咯。龙贝格貌似只能做数值积分吧,这个是符号积分,结果是只含有vol 方程式。

下面是Matlab的运行
syms ST vol;
int(131/1250*ST*(1/ST)^(3/2)*exp(-6277/100000*vol^2-1403797224009297/2305843009213693952/vol^2-log(1/100*ST)^2/vol^2)/(vol^2)^(1/2),ST,0,inf)
Warning: Explicit integral could not be found.
> In sym.int at 58
In matlabsky at 2

ans =

int(131/1250*ST*(1/ST)^(3/2)*exp(-6277/100000*vol^2-1403797224009297/2305843009213693952/vol^2-log(1/100*ST)^2/vol^2)/(vol^2)^(1/2),ST = 0 .. Inf)

建议使用数值积分,不过此时需要给出vol的值,关于Matlab的数值积分的教程,参见http://www.matlabsky.com/thread-359-1-2.html

抱歉你的符号表达式太复杂了

得不到结果,下面是Matlab的运行
syms ST vol;
int(131/1250*ST*(1/ST)^(3/2)*exp(-6277/100000*vol^2-1403797224009297/2305843009213693952/vol^2-log(1/100*ST)^2/vol^2)/(vol^2)^(1/2),ST,0,inf)
Warning: Explicit integral could not be found.
> In sym.int at 58
In matlabsky at 2

ans =