필터 지우기
필터 지우기

How to print result in matlab?

조회 수: 2 (최근 30일)
VIJAY
VIJAY 2018년 10월 31일
답변: Stephen23 2018년 10월 31일
I have to print from date to To date with day.For example
from date:31.10.18;
To date:3.11.18;
my require output is
31.10.18 Wednesday;
1.11.18 Thrusday;
2.11.18 Friday;
3.11.18 Saturday

채택된 답변

Stephen23
Stephen23 2018년 10월 31일
>> D1 = datenum('31.10.18','dd.mm.yy');
>> D2 = datenum('3.11.18','dd.mm.yy');
>> V = D1:D2;
>> datestr(V(:),'dd.mm.yy dddd')
ans =
31.10.18 Wednesday
01.11.18 Thursday
02.11.18 Friday
03.11.18 Saturday

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Dates and Time에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by