Code for best-worst method

15 views (last 30 days)
Ali Naeemah
Ali Naeemah on 15 Oct 2021
Edited: Ali Naeemah on 11 Nov 2021
Hello, ladies and gentlemen,
Please kindly,
I have the MATLAB code attached below for the best-worst method.
Can you highlight or identify the place that I have to insert my values, please? I am confused about where I have to insert my values exactly in the code. as shown in the attached file and link of the code.
Thank you so much

Accepted Answer

Abhishek Kolla
Abhishek Kolla on 11 Nov 2021
Hi,
In the above code it is clear that the input data is read from an excel file.
DATA = xlsread("Data.xlsx");
The values need to be inserted in the excel file before reading the file. However xlsread is not recommended in the latest versions. The other alternative functions can be referred here (Not recommended) Read Microsoft Excel spreadsheet file - MATLAB xlsread (mathworks.com)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by