Preventing abbreviations in the live editor?

4 ビュー (過去 30 日間)
Alasdair McAndrew
Alasdair McAndrew 2016 年 10 月 20 日
編集済み: Walter Roberson 2016 年 10 月 20 日
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?

回答 (1 件)

Walter Roberson
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)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by