Calling multiple outputs of a function into new function
Show older comments
I have a function with multiple outputs, now i want to call them into a new function and apply some formulas to them.
Applying formulas on each output one by one seems impossible, so any simplest way to do this?
Thanks!
5 Comments
"Applying formulas on each output one by one seems impossible"
Why?
What have you tried so far?
It is not clear what the problem is. MATLAB functions can be written to return or accept multiple arguments, so what it stopping you from doing this? If you have many variables, then have you considered putting them all into one ND numeric array or a cell array?
Asim Ismail
on 14 May 2017
Edited: Asim Ismail
on 14 May 2017
It is not clear if "series of outputs from a function, which are matrices, lets say"
"out1, out2, ....., outn"
are multiple outputs from one function call, or multiple calls each returning one (or a few) outputs. Please clarify: are you calling the function once and getting multiple outputs, or calling the function multiple times? And also show us what you have tried so far.
Asim Ismail
on 14 May 2017
Jan
on 14 May 2017
@asim: I see a general problem here. Your explanations are most likely clear, if somebody knows, what you are doing already. But the readers do not have the faintest idea.
Please do not only describe in words, what you are doing, but post the code. This will help us to understand.
Accepted Answer
More Answers (0)
Categories
Find more on Performance and Memory 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!