| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Financial Derivatives Toolbox |
| Contents | Index |
| Learn more about Financial Derivatives Toolbox |
Price = fixedbyzero(RateSpec, CouponRate,
Settle,
Maturity, Reset, Basis, Principal, EndMonthRule)
RateSpec | Structure containing the properties of an interest-rate structure. See intenvset for information on creating RateSpec. |
CouponRate | Decimal annual rate. |
Settle | Settlement date. Settle must be earlier than Maturity. |
Maturity | Maturity date. |
Reset | (Optional) Frequency of payments per year. Default = 1. |
Basis | (Optional) Day-count basis of the instrument. A vector of integers.
|
Principal | (Optional) The notional principal amount. Default = 100. |
EndMonthRule | (Optional) NINST-by-1 vector representing the End-of-month rule. Default = 1. |
All inputs are either scalars or NINST-by-1 vectors unless otherwise specified. Any date may be a serial date number or date string. An optional argument may be passed as an empty matrix [].
Price = fixedbyzero(RateSpec, CouponRate, Settle, Maturity, Reset, Basis, Principal, EndMonthRule) computes the price of a fixed-rate note from a set of zero curves.
Price is a number of instruments (NINST) by number of curves (NUMCURVES) matrix of fixed-rate note prices. Each column arises from one of the zero curves.
Price a 4% fixed-rate note using a set of zero curves.
Load the file deriv.mat, which provides ZeroRateSpec, the interest-rate term structure needed to price the note.
load deriv.mat
Set the required values. Other arguments will use defaults.
CouponRate = 0.04; Settle = '01-Jan-2000'; Maturity = '01-Jan-2003';
Use fixedbyzero to compute the price of the note.
Price = fixedbyzero(ZeroRateSpec, CouponRate, Settle, Maturity) Price = 98.7159
bondbyzero, cfbyzero, floatbyzero, swapbyzero
![]() | fixedbyhw | floatbybdt | ![]() |
View demos and recorded presentations led by industry experts.
Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |