It's just an example but how can i change parameters i,j also inside the function fprintf, in the part 'let t_t[i,j]'? is there any other way to change this formulation to satisfy this request? thank you so much

the code is the following one :
for i=1:20
for j=1:20
dist_km (i,j) = distanza_km;
temp (i,j) = tempo/60;
fprintf('let t_t[i,j] = %f\n', temp(i,j));
end
end

This question is closed.

Tags

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!