Formal output argument

답변 (1개)

Walter Roberson
Walter Roberson 2011년 10월 12일

1 개 추천

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.

카테고리

도움말 센터File Exchange에서 Systems of Nonlinear Equations에 대해 자세히 알아보기

태그

질문:

2011년 10월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by