how to read excel file and create a row vector ?

7 vues (au cours des 30 derniers jours)
MUKESH KUMAR
MUKESH KUMAR le 31 Juil 2017
Commenté : MUKESH KUMAR le 31 Juil 2017
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 commentaires
Walter Roberson
Walter Roberson le 31 Juil 2017
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 le 31 Juil 2017
yes

Connectez-vous pour commenter.

Réponses (1)

KSSV
KSSV le 31 Juil 2017
To read excel file use xlsread ..once data is read into work space, you can do what ever you want.

Community Treasure Hunt

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

Start Hunting!

Translated by