matlabFunc​tion(f1,..​.,fn) which stacks the output

Hello,
If I have a symbolic function f(x,y) : R^2->R^n and a function handle g=@(x,y) ... such that g : R^2->R^m When I use matlabfunction(f,g,'file','myFunction') it gives me a function file [f,g]=myFunction(parameters). I would like matlab to give me a function v=myFunction(parameters) where v is the stacked output of f and g, i.e. [f(x,y);g(x,y)] Is there a way I can do this?

답변 (0개)

카테고리

도움말 센터File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품

질문:

2016년 12월 13일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by