Examples
Basic Examples (2)
Applying SymbolToSubcript for one unprotected symbol:
Applying SymbolToSubcript to a list of unprotected symbols:
Scope (3)
Applying SymbolToSubscripts to a list of functions with protected heads:
Indexed for symbolic matrices:
Both the base and subscript in the output are symbols and inherit any existing definitions:
Applications (3)
Format a symbolic polynomial:
Format a symbolic matrix:
Using MultipleIndices option for symbolic matrices:
Using :
Using :
Define a function for making a Vandermonde matrix:
Format a Vandermonde matrix:
The SymbolToSubscript command allows to be used correctly when we have expressions with subscripts that are written as symbols:
Using :
Possible Issues (1)
Before getting the subscript format, SymbolToSubscript separates the expression x1y2 as {“x”,“1y2”}, and then passes each part to input form using ToExpression. Therefore, in the example x1y2 we get xy2 instead x1y2:
Related Links
Version History
-
3.0.0
– 09 August 2023
-
2.0.0
– 26 June 2023
-
1.1.0
– 22 August 2022
-
1.0.0
– 19 July 2022
Related Resources