This submission contains the MATLAB live script for the technical article "Exploring Risk Contagion Using Graph Theory and Markov Chains". http://www.mathworks.com/company/newsletters/articles/exploring-risk-contagion-using-graph-theory-and-markov-chains.html
The live script contains all the code, output, equations, and images in the article. You can download the script, open it in MATLAB, and explore the steps in the analysis described in the article.
R2016a or above is required to use the MATLAB Live Editor. If you don’t have R2016a, you can
download a free trial. http://www.mathworks.com/programs/trials/trial_request.html
Learn more about the MATLAB Live Editor. http://www.mathworks.com/products/matlab/live-editor/
Ken Deeley (2021). Exploring Risk Contagion Using Graph Theory and Markov Chains (Live Editor Version) (https://www.mathworks.com/matlabcentral/fileexchange/57046-exploring-risk-contagion-using-graph-theory-and-markov-chains-live-editor-version), MATLAB Central File Exchange. Retrieved .
Inspired by: Exploring Risk Contagion using Graph Theory and Markov Chains
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
Hi Davide,
Many thanks for bringing this issue to my attention. Please open a parallel pool before running the main RiskContagion script:
>> parpool
It seems that if a pool is already running, then we don't encounter this issue. I will investigate the root cause of this error.
Many thanks,
Ken
No way. I have R2020b and still get the same issue
Error using tabular/numArgumentsFromSubscript (line 78)
Unrecognized table variable name 'internal'.
code is buggy