time
calendarDuration형의 시간을 duration형으로 변환
설명
예제
calendarDuration형의 시간을 duration형으로 변환하기
달력 기간으로 구성된 배열을 만듭니다.
d = caldays(8:10) + hours(1.2345)
d = 1x3 calendarDuration
8d 1h 14m 4.2s 9d 1h 14m 4.2s 10d 1h 14m 4.2s
배열의 시간 구성요소를 duration형으로 변환합니다.
t = time(d)
t = 1x3 duration
01:14:04 01:14:04 01:14:04
t
의 데이터형을 확인합니다.
whos t
Name Size Bytes Class Attributes t 1x3 40 duration
입력 인수
d
— 입력 calendarDuration형
스칼라 | 벡터 | 행렬 | 다차원 배열
입력 calendarDuration형으로, 스칼라, 벡터, 행렬 또는 다차원 calendarDuration
형 배열로 지정됩니다.
확장 기능
tall형 배열
메모리에 담을 수 없을 정도로 많은 행을 가진 배열을 계산할 수 있습니다.
이 함수는 tall형 배열을 완전히 지원합니다. 자세한 내용은 tall형 배열 항목을 참조하십시오.
분산 배열
Parallel Computing Toolbox™를 사용하여 대규모 배열을 클러스터의 결합된 메모리에 걸쳐 분할할 수 있습니다.
이 함수는 분산 배열을 완전히 지원합니다. 자세한 내용은 분산 배열을 사용하여 MATLAB 함수 실행 (Parallel Computing Toolbox) 항목을 참조하십시오.
버전 내역
R2014b에 개발됨
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)