NWC and LCM codes in Matlab
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I need North-West Corner and Least Cost Method.
My inputs are:
c=[10 2 20 11
12 7 9 20
4 14 16 18];
s=[15 25 10];
d=[5 15 15 15];
..........................................................................................................
I want my output like this:

I found North-West Corner and Least Cost Method: https://it.mathworks.com/matlabcentral/fileexchange/67001-solving-transportation-problem-with-north-west-corner-rule-stepping-stone-method
coded by Warut Boonphakdee
but there are 4 methods and 4 outputs with together. I could not parse and compile the codes.
I want just North-West Corner and Least Cost Method and output like above.
I would be glad if you help me.
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!