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
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 Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!