tailieunhanh - Financial Toolbox For Use with MATLAB Computation Visualization Programming phần 6

NCURVE3-by-1 vector của các giá trị tín dụng lan rộng tại các điểm cơ sở (tỷ lệ không thập phân). Sự thay đổi có hiệu quả với tỷ lệ không CreditRates/10000. (tùy chọn) Xác định các biện pháp trái phiếu nhạy cảm (có và không có tùy chọn) | datefind Purpose Indices of date numbers in matrix. Syntax ind datefind sub super tol ind datefind sub super Arguments sub Subset matrix of date numbers used to find matching date numbers in super. These date numbers must be a non-repeating subset of those in super. super Superset matrix of non-repeating date numbers whose elements are sought. tol Tolerance - for matching the date numbers in super. A positive integer. Default 0. Description ind datefind sub super tol returns a vector of indices to the date numbers in super that are present in sub plus or minus the tolerance tol. If no date numbers match ind . Although this function was designed for use with sequential date numbers you can use it with any non-repeating integers. Example super datenum 1997 7 1 31 sub datenum 1997 7 10 datenum 1997 7 20 ind datefind sub super 1 ind 9 10 11 19 20 21 See Also datenum 2-102 datemnth Purpose Date of day in future or past month. Syntax d datemnth d1 mm df basis eom d datemnth d1 mm df basis d datemnth d1 mm df d datemnth d1 mm Arguments di Start date. Enter as serial date number or date string. mm Number of months in future positive or past negative . An integer. df Day flag 0 day of month in d corresponds to the day of month in the start date or the last day of d as appropriate default 1 day of month in d is the first day of month 2 day of month in d is last day of month. This flag has no effect if eom applies and is set to 1. basis Day-count basis 0 actual actual default 1 30 360 2 actual 360 3 actual 365. eom End-of-month flag. This flag applies only when the start date d1 is an end-of-month date. 0 ignore flag default or 1 force d to the end-of-month. When eom applies and is set to 0 the setting of df controls the day of month in d. When eom applies and is set to 1 d is always the last day of the month. Description d datemnth d1 mm df basis eom returns the serial date number d for a date mm months in the future or past. Any input can contain multiple values but if so .