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

1 visualizzazione (ultimi 30 giorni)
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 Commenti
James Tursa
James Tursa il 4 Mag 2017
Modificato: James Tursa il 4 Mag 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 il 4 Mag 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:

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Get Started with 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