How can I store data from an excel file to a 1D vector
조회 수: 4 (최근 30일)
이전 댓글 표시
I have an excel spreadsheet with many values all in one column. How can I import these into matlab to be saved as a 1D vector?
댓글 수: 0
답변 (1개)
Star Strider
2020년 1월 12일
댓글 수: 2
Star Strider
2020년 1월 12일
Something like this:
Vector = readmatrix('YourExcelFile.xlsx');
or:
Vector = xlsread('YourExcelFile.xlsx');
depending on the function you use.
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!