How to add 'NaN' at the beginning of a table?
조회 수: 1 (최근 30일)
이전 댓글 표시
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
채택된 답변
Voss
2022년 2월 20일
Here's one way:
t = table(randn(8,1),'VariableNames',{'F0'})
t = [table(NaN,'VariableNames',{'F0'}); t]
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Tables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!