matlab 输入参数为矩阵后,程序没有结果,为什么呢??

论坛 期权论坛 期权     
五23025089   2017-8-26 11:51   5176   1
matlab 输入参数为矩阵后,程序没有结果,为什么呢??
分享到 :
0 人收藏

1 个回复

倒序浏览
2#
我行我素850915  1级新秀 | 2017-8-27 22:33:35
运行提示:Output argument "implied_volstility" (and maybe others) not assigned during call to "solveForVolViaBisection".
从程序看,输出implied_volstility在程序结束时,没有赋值。程序中虽有
if(abs(delta) < tolerance)
        implied_volstility=mid;
        step=i;
        break;
        % method has converged sufficiently; we are done
    end
但条件没有满足,没执行。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:
帖子:
精华:
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP