What is wrong in this code?

O=1; U=input('Enter number of retailers'); for u=1:U; Cuo=zeros(u:O); Cuo(u,O)=input('Enter traveling cost for retailer to collection center'); end SumCuo=Sum(Cuo(:)); disp(SumCuo);

Antworten (0)

Diese Frage ist geschlossen.

Gefragt:

am 22 Feb. 2017

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by