Different way of representation
Mostrar comentarios más antiguos
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 comentarios
madhan ravi
el 8 de Jun. de 2020
Are you using MATLAB?
Ganesh Kini
el 8 de Jun. de 2020
Respuesta aceptada
Más respuestas (1)
madhan ravi
el 8 de Jun. de 2020
Opcon = cell2mat({'tc'}) % assuming they argument is a scalar
Categorías
Más información sobre Matrices and Arrays en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!