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