~ in function definition

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?

 Accepted Answer

More Answers (0)

Categories

Find more on Language Fundamentals in Help Center and File Exchange

Asked:

on 15 Jun 2012

Commented:

on 12 Aug 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!