Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Using stack() without filling gaps

1 view (last 30 days)
Spacey
Spacey on 8 Apr 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
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.

Tags

Products

Community Treasure Hunt

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

Start Hunting!