Main Content
fortran
Fortran representation of symbolic expression
Description
fortran(
returns Fortran code for the
symbolic expression f
)f
.
fortran(
uses additional options specified by one or more f
,Name,Value
)Name,Value
pair arguments.
Examples
Input Arguments
Tips
MATLAB® is left-associative while Fortran is right-associative. If ambiguity exists in an expression, the
fortran
function must follow MATLAB to create an equivalent representation. For example,fortran
representsa^b^c
in MATLAB as(a**b)**c
in Fortran.
Version History
Introduced before R2006a
See Also
ccode
| latex
| matlabFunction