(A) When I am executing the following commands in MATLAB
[C,D,TF,CF,CFP]= cfamounts(0.06,'31-Dec-2011','31-Dec-2014','Period',1,'Basis',1); [cellstr(datestr(D)),num2cell(C')]
I received the following result:
'31-Dec-2011' [ 0]
'31-Dec-2012' [ 6]
'31-Dec-2013' [ 6]
'31-Dec-2014' [106]
(B) However when I execute the following command:
[C,D,TF,CF,CFP]=cfamounts(0.06,'1-Dec-2011', '31-Dec-2014','Period',1,'Basis',1); [cellstr (datestr(D)),num2cell(C')]
I receive the following result:
'01-Dec-2011' [-5.5167]
'31-Dec-2011' [ 6]
'31-Dec-2012' [ 6]
'31-Dec-2013' [ 6]
'31-Dec-2014' [ 106]
(C) And when I execute the following command:
[C,D,TF,CF,CFP]= cfamounts(0.06,'1-Jan-2012', '31-Dec-2014','Period',1,'Basis',1); [cellstr(datestr(D)),num2cell(C')]
I receive the following result:
'01-Jan-2012' [-0.0167]
'31-Dec-2012' [ 6]
'31-Dec-2013' [ 6]
'31-Dec-2014' [ 106]
Why I am receiving the above differences in the first cash flow values, and what do they signify?
Best Answer