excelで選択した行のみ出力したい

excelで選択した行のみのデータを出力する方法を教えてほしいです。
excelには奇数行にxの値
偶数行にyの値
が格納されています。
変数で指定したx,yのセットとなっている2行分のみのデータが欲しいです。
選択の方法をご存知でしたら教えていただきたいです。
よろしくお願いいたします。

댓글 수: 1

michio
michio 2019년 2월 2일
質問の投稿、ありがとうございました。もし課題や疑問が解決されておりましたら、
ぜひ、該当する回答の「この回答を採用」ボタンのクリックをお願いいたします。

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

 채택된 답변

madhan ravi
madhan ravi 2019년 1월 29일

1 개 추천

Read the whole file and then split the essential datas like shown below:
datas=xlsread(...);
x=datas(1:2:end,:);
y=datas(2:2:end,:);

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB 入門에 대해 자세히 알아보기

질문:

2019년 1월 29일

댓글:

2019년 2월 2일

Community Treasure Hunt

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

Start Hunting!