cell array output format

1 visualizzazione (ultimi 30 giorni)
Alberto Menichetti
Alberto Menichetti il 19 Apr 2016
Risposto: Azzi Abdelmalek il 19 Apr 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?

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 19 Apr 2016
v={'BUY'
'SELL'
'BUY'}
char(v)

Più risposte (0)

Categorie

Scopri di più su Data Import and Analysis in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by