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

1 visualizzazione (ultimi 30 giorni)
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)

Risposta accettata

madhan ravi
madhan ravi il 7 Nov 2018
  4 Commenti

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by