replacing blank values in a single column cell array with the previous value
Ältere Kommentare anzeigen
basically i have a list of values in a cell array.
A =
'-2.0372681e-10'
'0'
'-1.1641532e-10'
'-2.910383e-11'
' '
' '
'-1.45579e-11'
'0'
' '
'2.9103759e-11'
' '
'1.455188e-11'
'-2.910383e-11'
'7.2759396e-11'
'-1.45579e-11'
'2.9103759e-11'
'-4.3655746e-11'
'8.7311276e-11'
I want all the blanks to be filled with whatever the previous cell value is
1 Kommentar
Sean de Wolski
am 19 Mai 2011
What do you want to do if the first entry is blank?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Characters and Strings finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!