~ in function definition

15 visualizaciones (últimos 30 días)
Ed Davis
Ed Davis el 15 de Jun. de 2012
Comentada: 泽洲 el 12 de Ag. de 2023
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?

Respuesta aceptada

the cyclist
the cyclist el 15 de Jun. de 2012
The function input will be ignored. It is described here:

Más respuestas (0)

Categorías

Más información sobre Language Fundamentals en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by