Borrar filtros
Borrar filtros

Preventing abbreviations in the live editor?

2 visualizaciones (últimos 30 días)
Alasdair McAndrew
Alasdair McAndrew el 20 de Oct. de 2016
Editada: Walter Roberson el 20 de Oct. de 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?

Respuestas (1)

Walter Roberson
Walter Roberson el 20 de Oct. de 2016
Editada: Walter Roberson el 20 de Oct. de 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