How to suppress `bicgstab` command output in MATLAB? -
this should trivial problem solve.... all want suppress output of bicgstab in matlab . reason, when use semicolon @ end, still prints out information?!?! try example documentation , , you'll see still prints though try suppress output: a = gallery('wilk',21); b = sum(a,2); tol = 1e-12; maxit = 15; m1 = diag([10:-1:1 1 1:10]); x = bicgstab(a,b,tol,maxit,m1); you need request 2nd output argument flag prevent information being printed (this mentioned in doc page link - it's not obvious though - below table describing different flag values) [x, flag] = bicgstab(a, b, tol, maxit, m1);