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

9 ビュー (過去 30 日間)
kota itabashi
kota itabashi 2019 年 1 月 29 日
コメント済み: michio 2019 年 2 月 2 日
excelで選択した行のみのデータを出力する方法を教えてほしいです。
excelには奇数行にxの値
偶数行にyの値
が格納されています。
変数で指定したx,yのセットとなっている2行分のみのデータが欲しいです。
選択の方法をご存知でしたら教えていただきたいです。
よろしくお願いいたします。
  1 件のコメント
michio
michio 2019 年 2 月 2 日
質問の投稿、ありがとうございました。もし課題や疑問が解決されておりましたら、
ぜひ、該当する回答の「この回答を採用」ボタンのクリックをお願いいたします。

サインインしてコメントする。

採用された回答

madhan ravi
madhan ravi 2019 年 1 月 29 日
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 件)

カテゴリ

Help Center および File ExchangeMATLAB 入門 についてさらに検索

Community Treasure Hunt

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

Start Hunting!