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); 

Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -