How to concatenate cell array with blank
Mostra commenti meno recenti
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.
Risposta accettata
Più risposte (2)
Karthik KJ
il 26 Mag 2012
0 voti
1 Commento
Oleg Komarov
il 26 Mag 2012
~ is the negation operator.
try in your command window:
~index
index
Then it should be clear what to use to get 'mean'.
Karthik KJ
il 27 Mag 2012
0 voti
1 Commento
Oleg Komarov
il 27 Mag 2012
Or you can simply remove the tilde and simple use index.
Categorie
Scopri di più su Logical in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!