replacing "zero dates " so as to be empty
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
Più risposte (1)
Walter Roberson
il 29 Giu 2012
emptydate = ' '; %use appropriate number of blanks
YourCell( strcmp(YourCell, '00/00/00') ) = {emptydate};
Vedere anche
Categorie
Scopri di più su Get Started with MATLAB in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!