Where can i find all of the functions of [x y] and it's linear functions?
1 view (last 30 days)
Show older comments
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 Comments
James Tursa
on 4 May 2017
Edited: James Tursa
on 4 May 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
on 4 May 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:
Answers (0)
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!