Wrap a long syms equations

wraps a long syms equation so that it becomes more readable.

Al momento, stai seguendo questo contributo

WRAP_string(string1) rewrites a long syms equation and wraps
it so that it becomes more readable. It automatically divides the expression into individual lines with three dots "..." at the end of each line. Moreover, it detects the existence of operators +,-,*,/ so that it doesn't cut a long name of a variable (such as Lamda_w).

Inputs:
string1: An expression written in syms
n_columns: users can change the maximum width of each line

Cita come

Mohannad Hakeem (2026). Wrap a long syms equations (https://it.mathworks.com/matlabcentral/fileexchange/24273-wrap-a-long-syms-equations), MATLAB Central File Exchange. Recuperato .

Categorie

Scopri di più su Symbolic Math Toolbox in Help Center e MATLAB Answers

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.1.0.0

this file was updated so that it ends each line on a mathematical operator (+,-,*,/). in the previous edition, the code might end a line while cutting the name of a long variable (such as Lamda_w)

1.0.0.0