cell array output format

1 Ansicht (letzte 30 Tage)
Alberto Menichetti
Alberto Menichetti am 19 Apr. 2016
Beantwortet: Azzi Abdelmalek am 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?

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Data Import and Analysis finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by