replacing "zero dates " so as to be empty
조회 수: 5 (최근 30일)
이전 댓글 표시
Dear all I have the following cell vector
'00/00/00'
'00/00/00'
'00/00/00'
'00/00/00'
'00/00/00'
'00/00/00'
'00/00/00'
'01/11/09'
'29/11/09'
'27/12/09'
I want to replace the zero dates so as to be empty, that is
' ’
' '
' '
' '
' '
' '
' '
'01/11/09'
'29/11/09'
'27/12/09'
Is there any way to do that?
댓글 수: 0
채택된 답변
추가 답변 (1개)
Walter Roberson
2012년 6월 29일
emptydate = ' '; %use appropriate number of blanks
YourCell( strcmp(YourCell, '00/00/00') ) = {emptydate};
참고 항목
카테고리
Help Center 및 File Exchange에서 Dates and Time에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!