Create a table from vectors with different rows and fill missing
1 visualización (últimos 30 días)
I have a number of vectors for several dates with different lenghts
- 01/06/2022: 478 rows
- 02/06/2022: 531 rows
- 03/06/2022: 502 rows
I would like to add them to one array in order to plot them afterwards.
For this, they need to be the same rows.
I was thinking to create an array with set rows A = 0:500 and for example add the first 500 values.
The vectors with less would be filled with 'Nan' and the vectors with more would be cut short.
How could I do this in a loop?