Using the data provided, create a stock specification (StockSpec), rate specification (RateSpec), and tree time layout specification (TimeSpec). Then use these specifications to create a CRR tree with crrtree.
Stock specification, specified by the StockSpec obtained
from stockspec. See stockspec for information on creating
a stock specification.
Data Types: struct
Interest-rate specification for initial risk-free rate curve,
specified by the RateSpec obtained from intenvset. For information on the interest-rate
specification, see intenvset.
Note
The standard CRR tree assumes a constant interest rate, but RateSpec allows
you to specify an interest-rate curve with varying rates. If you specify
variable interest rates, the resulting tree is not a standard CRR
tree.
Data Types: struct
Tree time layout specification, specified by the TimeSpec obtained
from crrtimespec. The TimeSpec defines
the observation dates of the CRR binomial tree. See crrtimespec for information on the tree
structure.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.