Calling Excel and Matching Data in Matlab

I would like to call an excel data like in the picture. I have to call only a few data but need to followed by the next data in the next right column. Just like this if I called AAI, I wish the next data like 3 41.22654 will automatically followed.

답변 (1개)

dpb
dpb 2018년 1월 27일

0 개 추천

Consider using readtable to bring the data in; making the ID column categorical data type will have advantages in writing lookup tests. Then there are any number of ways to find the given row(s) depending on just what it is you need, specifically. Look at the examples for table on how to address data therein for pointers...

댓글 수: 2

Geofisika 2014
Geofisika 2014 2018년 1월 27일
can you give me an example of it? I am a newbie in matlab, thank you
dpb
dpb 2018년 1월 27일
편집: dpb 2018년 1월 27일
Just dive in at the keyboard in command window and 'spearmint...fastest way there is to learn.
If'en then get stuck show us what you've gotten done and tried and folks'll be happy to show pointers.

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

카테고리

질문:

2018년 1월 27일

편집:

dpb
2018년 1월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by