How to Suppress Function Output
https://blogs.mathworks.com/loren/2019/05/21/how-to-suppress-function-output/
https://blogs.mathworks.com/loren/2019/05/21/how-to-suppress-function-output/
Loren on the Art of MATLAB
How to Suppress Function Output
You may have noticed that we have some functions that return no output if none is requested, and yet some functions always return something, even if not asked. What's a good way to achieve this in MATLAB?I do want to point out that while we used to use this…