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

1 visualización (últimos 30 días)
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)

Respuesta aceptada

madhan ravi
madhan ravi el 7 de Nov. de 2018
  4 comentarios

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by