How do I reference a previous cell in a table?

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 日

0 投票

fillmissing(YourTable, 'previous')

タグ

質問済み:

2020 年 11 月 27 日

回答済み:

2020 年 11 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by