How do I reference a previous cell in a table?

8 次查看(过去 30 天)
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?

回答(1 个)

Walter Roberson
Walter Roberson 2020-11-27
fillmissing(YourTable, 'previous')

类别

Help CenterFile Exchange 中查找有关 Tables 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by