Using stack() without filling gaps

Hey guys!
I just found the very useful function stack(), that stacks variables in a table. Unfortunately it also fills up the gaps with the previous value. Is there a way to just fill the gaps with NaNs in order to prepare your data afterwards the way you like it?
Kind regards, Spacey

回答(0 个)

此问题已关闭。

产品

标签

提问:

2015-4-8

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by