Different way of representation
Ältere Kommentare anzeigen
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 ?
Akzeptierte Antwort
Weitere Antworten (1)
madhan ravi
am 8 Jun. 2020
Opcon = cell2mat({'tc'}) % assuming they argument is a scalar
Kategorien
Mehr zu Matrices and Arrays finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!