How to return something in Matlab?

Posted by Ben Fossen on Stack Overflow See other posts from Stack Overflow or by Ben Fossen
Published on 2010-05-25T21:43:41Z Indexed on 2010/05/25 21:51 UTC
Read the original article Hit count: 223

Filed under:
|

I have a simple function

function increase(percent, number)

    low = number- number*percent;
end

I want to return low so I can use it as an argument for another function

mitoGen(asp, arg, increase(.2,234), glu)

Is there a way to do this?

© Stack Overflow or respective owner

Related posts about matlab

Related posts about arguments