~ in function definition

18 vues (au cours des 30 derniers jours)
Ed Davis
Ed Davis le 15 Juin 2012
Commenté : 泽洲 le 12 Août 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?

Réponse acceptée

the cyclist
the cyclist le 15 Juin 2012
The function input will be ignored. It is described here:
  1 commentaire
泽洲
泽洲 le 12 Août 2023
Thank you~

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Language Fundamentals dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by