Comparing result with Excel file

Hello, I am fikhri izwan. Currently I am undergo a project using Matlab 2015a. My progress currently is at comparing result from an operation I did with an Excel file.
For my problem is like below: *******************************
Ratio=1.6262;
Data=xlsread('BodyData.xlsx');
If isequal(Ratio,Data)
fprintf('Athlete Type')
****************************
Even the value of Ratio is equal with the Data, still it cannot display 'Athlete Type'.
Can you suggest to me solutions or any coding example for my problem.
Regards, Fikhri izwan.

4 件のコメント

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 4 月 1 日
@fikhri You want a coding for your problem, but you didn't tell anything about your problem
fikhri izwan
fikhri izwan 2016 年 4 月 1 日
編集済み: Azzi Abdelmalek 2016 年 4 月 1 日
For my problem, like this:
**************************
Ratio=1.6262;
Data=xlsread('BodyData.xlsx');
If ismember(Ratio,Data)
fprintf('Athlete Type')
****************************
Even the result from Ratio is equal with the database, still it cannot display the 'Athlete Type'. Is there any mistake in my coding or any miss syntax.
Regards,
Fikhri izwan
Azzi Abdelmalek
Azzi Abdelmalek 2016 年 4 月 1 日
Please edit your question and make it as clear as possible.
Image Analyst
Image Analyst 2016 年 4 月 1 日
Please attach the workbook with the paperclip icon.

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeData Import from MATLAB についてさらに検索

質問済み:

2016 年 4 月 1 日

コメント済み:

2016 年 4 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by