Comparing result with Excel file

1 view (last 30 days)
fikhri izwan
fikhri izwan on 1 Apr 2016
Commented: Image Analyst on 1 Apr 2016
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 Comments
Azzi Abdelmalek
Azzi Abdelmalek on 1 Apr 2016
Please edit your question and make it as clear as possible.
Image Analyst
Image Analyst on 1 Apr 2016
Please attach the workbook with the paperclip icon.

Sign in to comment.

Answers (0)

Categories

Find more on Data Import from MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!