cell array output format

1 view (last 30 days)
Alberto Menichetti
Alberto Menichetti on 19 Apr 2016
Answered: Azzi Abdelmalek on 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?

Accepted Answer

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

More Answers (0)

Categories

Find more on Data Import and Analysis in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!