Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
error again in CAT arguments dimensions are not consistent.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have following code and i get an error ,
genedata=1:100;
IDX = kmeans(genedata',20);
genenum = cell(20,1);
for i = 1:20
genenum{i} = sum(IDX == i);
end
genes = cell(20,1);
for K = 1 : 20
genes{K} = genedata(IDX==K);
end
final=[num2cell((1:20)') genenum genes];
CAT arguments dimensions are not consistent.
Error in ==> v at 24
final=[num2cell((1:20)') genenum genes]
I have genes =[1x4 double]
[1x5 double]......
how to dispaly in matrix form
please help
4 comentarios
Titus Edelhofer
el 21 de Nov. de 2011
Hi FIR,
strange, I just copied your code and it works fine, I get
final =
[ 1] [4] [1x4 double]
[ 2] [7] [1x7 double]
...
Titus
Respuestas (0)
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!