フィルターのクリア

Find a specific number in an imported excel sheet

2 ビュー (過去 30 日間)
Tim
Tim 2017 年 10 月 19 日
コメント済み: Tim 2017 年 10 月 19 日
Hey everyone, I have the matrix in the attached file and call it with
filename='Matrix.xlsx'
B=xlsread(filename)
Then I would give it a number for column A and a number which is in column B2 to I2. After that the result should be the Number in Row 1. For example: I give it 9 (A12) and 14.38 (B12) and the result should be 2 (B1). I thought about using the [row,col] function?
Thank you!

採用された回答

KL
KL 2017 年 10 月 19 日
[rowind,colind] = find(B(:,1)==9 & B(:,2:end)==14.38)
Do you mean this?
  1 件のコメント
Tim
Tim 2017 年 10 月 19 日
Thank you for your quick answer!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by