Can anyone suggest how to change the display allignment in command prompt for seeing list of equations
2 次查看(过去 30 天)
显示 更早的评论
These symbolic equations are right alligned, can we change to left allignment
3 个评论
dpb
2021-1-14
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.
回答(1 个)
Walter Roberson
2021-1-14
syms x
eq(1,1) = expand((x-1)^2);
eq(2,1) = expand((x-1)^10);
eq
char(eq)
arrayfun(@disp, eq)
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!