Using stack() without filling gaps
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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
Answers (0)
This question is closed.
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!