How to concatenate cell array with blank
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (2)
Karthik KJ
el 26 de Mayo de 2012
0 votos
1 comentario
Oleg Komarov
el 26 de Mayo de 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
el 27 de Mayo de 2012
0 votos
1 comentario
Oleg Komarov
el 27 de Mayo de 2012
Or you can simply remove the tilde and simple use index.
Categorías
Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!