Formal output argument

12 ビュー (過去 30 日間)
NUR KHAIRUNNISA rahimi
NUR KHAIRUNNISA rahimi 2011 年 10 月 12 日
what does it mean by formal output argument?

回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 10 月 12 日
If you have
function y = YourFunction(x)
then y is the "formal output argument" -- the name of the output argument as it is called inside the function. Likewise, x is the "formal input argument" -- the name of the input argument as it is called inside the function.
This contrasts with the use of this routine, which might look like
velocity = YourFunction(0:.01:15)
in which the 0:.01:15 would be the actual input argument, and "velocity" would be the actual output argument.

カテゴリ

Help Center および File ExchangeGraphics Objects についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by