How to concatenate cell array with blank
显示 更早的评论
Hi, can anyone help me in concatenating below cell array
{'ob' '^b' [] '$b'}
so that output will be
{'ob' '^b' '$b'}
this is an dynamic output so i could not identify the exact position of blank. Is there any simple method available otherwise i have to use a loop to identify the blank.
采纳的回答
更多回答(2 个)
Karthik KJ
2012-5-26
0 个投票
1 个评论
Oleg Komarov
2012-5-26
~ is the negation operator.
try in your command window:
~index
index
Then it should be clear what to use to get 'mean'.
Karthik KJ
2012-5-27
0 个投票
1 个评论
Oleg Komarov
2012-5-27
Or you can simply remove the tilde and simple use index.
类别
在 帮助中心 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!