Preventing abbreviations in the live editor?
5 次查看(过去 30 天)
显示 更早的评论
Here's what I mean:
syms x
i = 1:10;
T = (x.^i)./(2*i-1)
cumsum(T)
This produces an array of all the partial sums of T. But if I want to see them in a column:
cumsum(T')
then the display is filled with abbreviations sigma_i. How can I avoid these abbreviations and have the cumulative sums displayed in full?
0 个评论
回答(1 个)
Walter Roberson
2016-10-20
编辑:Walter Roberson
2016-10-20
cumsum(T.')
Remember, T' is conjugate transpose, T.' is plain transpose
The more general answer is:
sympref('TypesetOutput', 0)
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!