How to write a fucntion which we don't know how many "in" values will be needed?

1 vue (au cours des 30 derniers jours)
I want to know how to write first line of a function which we cant tell how many variables will be "inputed".
example :
for equation 1 :
function[] = in(c1,c2,c3)
for equation 2:
function[] = in(c1,c2,c3,c4)

Réponse acceptée

madhan ravi
madhan ravi le 7 Nov 2018
  4 commentaires

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by