Calling multiple outputs of a function into new function
Mostra commenti meno recenti
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 Commenti
"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
il 14 Mag 2017
Modificato: Asim Ismail
il 14 Mag 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
il 14 Mag 2017
Jan
il 14 Mag 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.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Performance and Memory in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!