我有Matlab代码试图解决16个变量的160个样方系统.这花了很长时间,我想知道是否有某种方式"看电脑工作"?如果只是为了比观看空白命令行更美观.
谢谢!
这取决于你如何解决系统.如果您正在使用fsolve,那么您可以这样做:
% Set options for the solver.
options = optimoptions('fsolve','Display','iter');
% Call the solver
[x,fval] = fsolve(@myfun,x0,options)
Run Code Online (Sandbox Code Playgroud)
尝试help fsolve更多显示选项.