markovTreePathCount
Version 1.0.0.0 (874 Bytes) by
Lionel Tailhardat
Compute the number of path at the Nth rank of a bivalent tree
This work has been done to study the behavior of a markov random walk in regard to its rank, and its connection to a normal distribution.
e.g. :
%% Tree calculus
N = 1000;
V = markovTreePathCount(N);
max_path = 2^N;
P = V / max_path
plot(P)
Cite As
Lionel Tailhardat (2026). markovTreePathCount (https://se.mathworks.com/matlabcentral/fileexchange/64139-markovtreepathcount), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2017a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Computational Finance > Financial Instruments Toolbox > Price Instruments Using Functions > Interest-Rate Instruments > Price Using Tree Models > Tree Manipulation for Interest-Rate Instruments >
Find more on Tree Manipulation for Interest-Rate Instruments in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
