how to read excel file and create a row vector ?

조회 수: 3 (최근 30일)
MUKESH KUMAR
MUKESH KUMAR 2017년 7월 31일
댓글: MUKESH KUMAR 2017년 7월 31일
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
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.
MUKESH KUMAR
MUKESH KUMAR 2017년 7월 31일
yes

댓글을 달려면 로그인하십시오.

답변 (1개)

KSSV
KSSV 2017년 7월 31일
To read excel file use xlsread ..once data is read into work space, you can do what ever you want.

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by