excelで選択した行のみ出力したい
2 views (last 30 days)
Show older comments
excelで選択した行のみのデータを出力する方法を教えてほしいです。
excelには奇数行にxの値
偶数行にyの値
が格納されています。
変数で指定したx,yのセットとなっている2行分のみのデータが欲しいです。
選択の方法をご存知でしたら教えていただきたいです。
よろしくお願いいたします。
1 Comment
Accepted Answer
madhan ravi
on 29 Jan 2019
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 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!