Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

STRINGS FROM EXCEL TO MATLAB

조회 수: 1 (최근 30일)
Christopher
Christopher 2013년 2월 20일
마감: MATLAB Answer Bot 2021년 8월 20일
IS IT POSSIBLE TO TAKE A STRING LIKE A DATE, JANUARY 2, 2011, AND ADD IT TO MATLAB? WHAT I AM TRYING TO DO IN A FOR LOOP, MY DATA CORRESPONDS TO DATES. SO MY FIRST FOR LOOP WOULD PLOT DATA FROM THE FIRST DATE FROM 0-23 HOURS AND WHEN I PLOT THIS IN THE FOR LOOP I WANT TO BE ABLE TO ADD THE DATE( FROM EXCEL) AS THE TITLE OF THAT PLOT. sO THE FIRST PLOT WOULD BE JANUARY 2 THEN NEXT JANUARY 3 AND SOO ON. SO FAR I HAVE
FOR i=1:364;
A=plot(a,X(:,i); % plots the first 24 data against the hour of day
xlabel('hour');ylabel(price); title('Date(1:i)')
hgsave(A,'plots')
end
i want to be able to come back to this figures later on without the use of matlab.
  댓글 수: 1
per isakson
per isakson 2013년 2월 21일
All upper case is difficult to read!

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by