cell array output format

1 次查看(过去 30 天)
>> 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?

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2016-4-19
v={'BUY'
'SELL'
'BUY'}
char(v)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import and Analysis 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by