Calling multiple outputs of a function into new function
古いコメントを表示
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 件のコメント
"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
2017 年 5 月 14 日
編集済み: Asim Ismail
2017 年 5 月 14 日
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
2017 年 5 月 14 日
Jan
2017 年 5 月 14 日
@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.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Performance and Memory についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!