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

조회 수: 1 (최근 30일)
The column vector is as follows:
'Static' 'Static' 'Static'
'Dynamic' 'Dynamic' 'Dynamic' etc.
  댓글 수: 1
Cedric
Cedric 2014년 6월 30일
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.

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

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by