Info

此问题已关闭。 请重新打开它进行编辑或回答。

NWC and LCM codes in Matlab

1 次查看(过去 30 天)
Rooter Boy
Rooter Boy 2020-11-18
关闭: John D'Errico 2020-11-18
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.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by