Preventing abbreviations in the live editor?

4 vues (au cours des 30 derniers jours)
Alasdair McAndrew
Alasdair McAndrew le 20 Oct 2016
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?

Réponses (1)

Walter Roberson
Walter Roberson le 20 Oct 2016
Modifié(e) : Walter Roberson le 20 Oct 2016
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