How do I reference a previous cell in a table?

3 vues (au cours des 30 derniers jours)
Robert A Easter
Robert A Easter le 27 Nov 2020
I have loaded an excel file into matlab and some of the cells are empty in the rows. How do I make the empty cells equal in value to cell prior to it without messing up the rest of my table?

Réponses (1)

Walter Roberson
Walter Roberson le 27 Nov 2020
fillmissing(YourTable, 'previous')

Catégories

En savoir plus sur Tables dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by