Matlab Function Outputs
Handling functions with extraneous leading outputs. For example:
function [a,b] = dummy_function
a = 10;
b = 20;
endfunction
[a, b] = dummy_function
a =
10
b =
20
If a
is not required it can be replaced with a tilda ~
.
[~, b] = dummy_function
b =
20
Matlab
Programming
]