|Subject:||Re: Aux. functions with multiple outputs|
|Date:||Fri, 10 Sep 2010 12:35:42 +0200|
On 10 Sep 2010, at 12:22, Mike B. wrote:
Thanks for replying. How do I refer to each of the outputs (a and b in the example)?. Mike.
>> function [a, b] = f1(x) a = x.^2; b = x; endfunction >> y = @f1; >> [a, b] = y (3) a = 9 b = 3 >>
|[Prev in Thread]||Current Thread||[Next in Thread]|