cell array output format

1 visualización (últimos 30 días)
Alberto Menichetti
Alberto Menichetti el 19 de Abr. de 2016
Respondida: Azzi Abdelmalek el 19 de Abr. de 2016
>> sim_ret_table.L1Op
ans =
'BUY'
'SELL'
'BUY'
That is the output when I try to view the contents of column L1Op in table sim_ret_table; the original vector I used to make the table was a cell array. Would it be possibile to "hide" the apostrophes?

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 19 de Abr. de 2016
v={'BUY'
'SELL'
'BUY'}
char(v)

Más respuestas (0)

Categorías

Más información sobre Tables en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by