Where can i find all of the functions of [x y] and it's linear functions?

1 visualización (últimos 30 días)
tban
tban el 4 de Mayo de 2017
Comentada: Stephen23 el 4 de Mayo de 2017
What is the name of function that enables Matlab to pull information such as [x y]. Basically, when I write a function such as,
[x y] = size(M)
I can use it in this instance, but I can also use it in many other instances. Where can i find it's dictionary? Can I also use it for three variables such as [x y z]
  2 comentarios
James Tursa
James Tursa el 4 de Mayo de 2017
Editada: James Tursa el 4 de Mayo de 2017
I am not really sure what you are asking. The number of output variables will be dependent on the particular function you are calling. It could also depend on the number and values of the inputs. The number of outputs could be anywhere from zero to dozens depending on the function. There is no comprehensive list of "all functions" that return two outputs or three outputs etc if that is what you are asking. If you want to know the supported calling syntax for a particular function, see the associated documentation. E.g.,
doc size
Stephen23
Stephen23 el 4 de Mayo de 2017
@Tudor Banari: the number of output arguments of any function depends on that function, and what syntax you are calling it with. So read the documentation for every function when you wish use it.
How to call functions, how to assign their output arguments, and many other basic MATLAB concepts are introduced in the Getting Started tutorials, which are highly recommended for all beginners:
You should also read this:

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Get Started with 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