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

1 view (last 30 days)
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)

Accepted Answer

madhan ravi
madhan ravi on 7 Nov 2018
  4 Comments

Sign in to comment.

More Answers (0)

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!