excelで選択した行のみ出力したい
조회 수: 2 (최근 30일)
이전 댓글 표시
excelで選択した行のみのデータを出力する方法を教えてほしいです。
excelには奇数行にxの値
偶数行にyの値
が格納されています。
変数で指定したx,yのセットとなっている2行分のみのデータが欲しいです。
選択の方法をご存知でしたら教えていただきたいです。
よろしくお願いいたします。
댓글 수: 1
채택된 답변
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
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!