how to read excel file and create a row vector ?

2 ビュー (過去 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 Center および File ExchangeSpreadsheets についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by