Different way of representation

조회 수: 2 (최근 30일)
Ganesh Kini
Ganesh Kini 2020년 6월 8일
답변: madhan ravi 2020년 6월 8일
Hi,
This might be one of the basic doubts, but still going to ask it
When i run a code i get the output as
opcon =
1×1 cell array
{'tc'}
I want the output t o is be
opcon = tc
How do i change it ?
  댓글 수: 2
madhan ravi
madhan ravi 2020년 6월 8일
Are you using MATLAB?
Ganesh Kini
Ganesh Kini 2020년 6월 8일
Yes Madhan

댓글을 달려면 로그인하십시오.

채택된 답변

David Hill
David Hill 2020년 6월 8일

추가 답변 (1개)

madhan ravi
madhan ravi 2020년 6월 8일
Opcon = cell2mat({'tc'}) % assuming they argument is a scalar

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by