I think my code has right, but still see warning
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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 Comments
John D'Errico
on 22 Mar 2020
All you have shown are some sfprint calls. (I can only assume that is sfprint from the stateflow toolbox.) But what warning do you get? How can we possibly guess what you think is a problem?
risky amalia
on 22 Mar 2020
Les Beckham
on 22 Mar 2020
Aghamarsh Varanasi
on 26 Mar 2020
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.
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!