Means of this numbers

조회 수: 2 (최근 30일)
hadj hassane
hadj hassane 2016년 4월 27일
댓글: Steven Lord 2016년 4월 27일
What does it means the number "735453" and "735362"and" 735271" in this code ?
(Obtain the cash dividend data for IBM for the last 300 days)
d = fetch(c,'IBM',now-300,now-1,'v')
%result
d = 735453.00 0.95
735362.00 0.95
735271.00 0.85
....

채택된 답변

Roger Wohlwend
Roger Wohlwend 2016년 4월 27일
The first column is the date. Use the function datestr zu convert the numbers into Dates.
>> datestr(735453)
ans =
07-Aug-2013
  댓글 수: 2
Jan
Jan 2016년 4월 27일
Isn't this a strange reply, when the command contained the values now-300,now-1 ?
Steven Lord
Steven Lord 2016년 4월 27일
My guess is that the code in the original question was copied from lecture notes or a webpage and that the output displayed for the copied comes from when the code was originally run back in 2013.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Financial Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by