How can I remove the blank spaces in a column vector that consists of string values.

The column vector is as follows:
'Static' 'Static' 'Static'
'Dynamic' 'Dynamic' 'Dynamic' etc.

1 comentario

Is it the content of a cell array? If so, you may not have spaces in your text elements at all, but be tricked by the fact that MATLAB separates elements of cell arrays with spaces when you display their content.

Iniciar sesión para comentar.

Respuestas (0)

Preguntada:

el 30 de Jun. de 2014

Comentada:

el 30 de Jun. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by