Price = prdisc(Settle,Maturity,FaceDiscount)
returns the price of a security whose yield is quoted as a bank discount rate
(for example, U. S. Treasury bills).
Price = prdisc(___,Basis)
adds an optional argument for Basis.
This example shows how to use datetime inputs to return the price of a security whose yield is quoted as a bank discount rate (for example, U. S. Treasury bills).
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.