Info

This question is closed. Reopen it to edit or answer.

NWC and LCM codes in Matlab

1 view (last 30 days)
Rooter Boy
Rooter Boy on 18 Nov 2020
Closed: John D'Errico on 18 Nov 2020
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:
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!