Fortran representation of symbolic expression
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.
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
represents a^b^c
in
MATLAB as (a**b)**c
in Fortran.
ccode
| latex
| matlabFunction