how to create table and export it to Excel?
이전 댓글 표시
I have few vectors at the same length that contains numbers. I want to export them to the Excel or Word. how i do it?
채택된 답변
추가 답변 (1개)
Peter Perkins
2015년 6월 8일
Alternatively,
>> v1 = [1 2 3 4 5]'; v2 = [6 7 8 9 10]'; v3 = [11 12 13 14 15]';
>> t = table(v1,v2,v3)
t =
v1 v2 v3
__ __ __
1 6 11
2 7 12
3 8 13
4 9 14
5 10 15
>> writetable(t,'somefile.xlsx');
댓글 수: 6
eran golden
2015년 6월 10일
Guillaume
2015년 6월 10일
Yes, it came with 2013b or 2014a
Ambati Sathvik
2020년 7월 2일
You saved my day
Sohrab Morshedi
2020년 12월 2일
Thanks
Christofer Longa
2021년 2월 3일
Thank you....very very much
Lukas Sokol
2021년 3월 18일
much love
카테고리
도움말 센터 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!