how to read excel file and create a row vector ?
조회 수: 2 (최근 30일)
이전 댓글 표시
how can we create a row vector from excel file containing zeros and some same digits like A=[ 0 0 0 0 4 4 4 4 4 4 0 0 0 0 0 ]; 5&10 stored in excel in different column and it shows that 4 start from 5 and end at 10 in 1*15 matrix ?
댓글 수: 2
Walter Roberson
2017년 7월 31일
This appears to be a duplicate of https://www.mathworks.com/matlabcentral/answers/350888-read-specific-data-from-excel-and-create-a-vector except that one was explained better.
답변 (1개)
KSSV
2017년 7월 31일
To read excel file use xlsread ..once data is read into work space, you can do what ever you want.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!