Matlab求解偏微分方程的代码-Finite-Difference:Heat和Black-Scholes偏微分方程的有限差分法的MATLAB

上传者: 38642349 | 上传时间: 2023-02-16 22:38:21 | 文件大小: 1.55MB | 文件类型: ZIP
Matlab 求解偏微分的代码Heat 和 Black-Scholes 偏微分方程的有限差分法的 MATLAB 和 Python 实现 这些代码实现了有限差分法的数值方法来求解 Heat PDE 和 Black-Scholes PDE。 具体而言,Black-Scholes PDE 的代码旨在为普通期权定价,例如欧洲和美国的看涨和看跌期权。 该算法在 Python 和 MATLAB 中实现,Python 代码属于面向对象学科,使用 Numpy 处理矩阵。 此外,Python 和 MATLAB 代码都允许用户编写自己的函数,将其放入代码中以设置有限差分网格的边界条件。 该代码提供了示例用户生成函数,用于为 Python 代码和 MATLAB 代码设置边界条件。 Python 对象还在 Python 类中实现了特殊方法,以使其可切片( __getitem__() )和可打印( __repr__() ) 请在 README.pdf 文件中找到详细的数学解释,因为 Github 不支持 Latex 公式。 作者:鲁瑞南 参考: [1]Brandimarte P. 金融经济学中的数值方法:基于M

文件下载

资源详情

[{"title":"( 22 个子文件 1.55MB ) Matlab求解偏微分方程的代码-Finite-Difference:Heat和Black-Scholes偏微分方程的有限差分法的MATLAB","children":[{"title":"Finite-Difference-master","children":[{"title":"README.pdf <span style='color:#111;'> 1.54MB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"README_OriginalMD.md <span style='color:#111;'> 9.89KB </span>","children":null,"spread":false},{"title":"Python code","children":[{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"HeatFDGrid.py <span style='color:#111;'> 7.92KB </span>","children":null,"spread":false},{"title":"BSPDE_FDGrid.py <span style='color:#111;'> 12.07KB </span>","children":null,"spread":false}],"spread":true},{"title":"MATLAB code","children":[{"title":"Script_testing_OptCrankNicolson.m <span style='color:#111;'> 876B </span>","children":null,"spread":false},{"title":"script_testing_EuOpt.m <span style='color:#111;'> 757B </span>","children":null,"spread":false},{"title":"script_testing_HeatExplict.m <span style='color:#111;'> 318B </span>","children":null,"spread":false},{"title":"AmOptCrankNicolson_optimizer_method.m <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"EuOptImplicit.m <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"script_testing_HeatImplict.m <span style='color:#111;'> 318B </span>","children":null,"spread":false},{"title":"EuOptExplicit.m <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"script_testing_Heat_CrankNicolson.m <span style='color:#111;'> 324B </span>","children":null,"spread":false},{"title":"AmOptCrankNicolson.m <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"Heat_equation_Implicit.m <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"demo_fun_explict.m <span style='color:#111;'> 653B </span>","children":null,"spread":false},{"title":"EuOptCrankNicolson.m <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"Heat_equation_Crank_Nicolson.m <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"Heat_equation_Explicit.m <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明