cell array output format

조회 수: 6 (최근 30일)
Alberto Menichetti
Alberto Menichetti 2016년 4월 19일
답변: Azzi Abdelmalek 2016년 4월 19일
>> 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에서 Tables에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by