How do I reference a previous cell in a table?

15 views (last 30 days)
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?

Answers (1)

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

Categories

Find more on Tables in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!