How to add 'NaN' at the beginning of a table?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Pawel Kaszynski
am 20 Feb. 2022
Beantwortet: Voss
am 20 Feb. 2022
How to add 'NaN' at the beginning of a table (on top of 0.0094065)?
FO
__________
0.0094065
0.039276
0.019509
0.039404
0.058853
-0.064627
0.030579
-0.031437
0 Kommentare
Akzeptierte Antwort
Voss
am 20 Feb. 2022
Here's one way:
t = table(randn(8,1),'VariableNames',{'F0'})
t = [table(NaN,'VariableNames',{'F0'}); t]
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Tables finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!