MATLAB: ~ in function definition

function definition statement

Looking at some previous code I found a function that is defined as function(x,y,z]=fun(~,~,~)
what are the ~ doing in the input list?

Best Answer

The function input will be ignored. It is described here: