Info

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

I think my code has right, but still see warning

1 次查看(过去 30 天)
sfprint('Initial Objective Function Value: %d\n\n',subs(f,[X,Y], [x(1),y(1)]));
if (norm(J) < e)
sfprint('Minimum succesfully obtained...\n\n');
end
sfprint('Number of Iterations for Convergence: %d\n\n', i);
sfprint('Point of Minima: [%d,%d]\n\n', x(i), y(i));
sfprint('Objective Function Minimum Value Post-Optimization: %d\n\n', subs(f,[X,Y], [x(i),y(i)]));
disp(T);
  4 个评论
Aghamarsh Varanasi
Aghamarsh Varanasi 2020-3-26
Could you please give more information regarding the script ans the use case of the sfprintf function. You could provide details like 'what is that you want to do using sfprintf function', 'executable simple version of your code', etc.

回答(0 个)

标签

产品


版本

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by