Can anyone suggest how to change the display allignment in command prompt for seeing list of equations
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
These symbolic equations are right alligned, can we change to left allignment
3 commentaires
dpb
le 14 Jan 2021
What happens if you try to cast eqn to string() or cellstr()? If can do that, then you can display the text however you wanted.
Réponses (1)
Walter Roberson
le 14 Jan 2021
syms x
eq(1,1) = expand((x-1)^2);
eq(2,1) = expand((x-1)^10);
eq
char(eq)
arrayfun(@disp, eq)
0 commentaires
Voir également
Catégories
En savoir plus sur Conversion Between Symbolic and Numeric dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!