How to determine Empty matrix: 0-by-1 in a cell??
    2 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
I have a cell of size 24x1. It is of the form k1 =
    [        13]
    [        13]
    [        13]
    [        13]
    [        13]
    [        13]
    [         0]
    [        12]
    [        12]
    [0x1 double]
    [        12]
    [        12]
    [        12]
    [        11]
    [        11]
    [        11]
    [        11]
    [        11]
    [        11]
    [         9]
    [0x1 double]
    [        10]
    [        10]
    [        10]
I want to detect the Empty Matrix: 0-by-1 cells in k1. For example, at k1(10), the value is [0x1 double]. I want to convert k1 into matrix and replace these empty matrices([0x1 double]) with zero. How can i do this?
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
				Más información sobre Creating, Deleting, and Querying Graphics Objects en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!