MATLAB: Matlab function send selected variables

bicgstabmatlab function

I am using bicgstab in Matlab. I would like to know how can I call the function without only preconditioner. As per the documentation, below is the order in which variables are to be sent:
bicgstab(A,b,tol,maxit,M1,M2,x0)
I do not want to use M1 and M2. However, I want to send x0. How can I do this?

Best Answer

I don't know what bicgstab() is. The documentation should say whether M1 and M2 are needed. However you didn't share it with us. Usually when some argument is optional, you can pass in [] for it. You might try that and see. If it doesn't work, show us the documentation.
bicgstab(A, b, tol, maxit, [], [], x0)