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

3 Ansichten (letzte 30 Tage)
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)

Akzeptierte Antwort

madhan ravi
madhan ravi am 7 Nov. 2018
  4 Kommentare

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by