i have an excel file in the form
Name Result
a 2
b 5
a 7
c 5
a 6
b 8
How do I load the data for the rows named 'a' into matlab?? ie create an array in MATLAB as follows
a 2
a 7
a 6

댓글 수: 2

Kuifeng
Kuifeng 2016년 4월 6일
consider import all data first, and then extract all rows with 'a'.
MBD4FUN
MBD4FUN 2016년 4월 6일
편집: MBD4FUN 2016년 4월 6일
Type "help xlsread" at your Matlab command window and hit enter. Matlab has a very rich built-in help system. Sometimes it's worthy to take a look at ;)
Have a nice day!
MBD4FUN

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

태그

질문:

2016년 4월 6일

편집:

2016년 4월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by