Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
i have a datset name as dec_table (150,5) and a new_att(150,1) and i want to combine these two to make new_dec_table?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
new_dec_table = cat(2,new_att,dec_table);
error:
Error using cat
Dimensions of matrices being
concatenated are not consistent.
Error in iris_rough3 (line 41)
new_dec_table =
cat(2,new_att,dec_table);
0 comentarios
Respuestas (1)
Sai Bhargav Avula
el 29 de Oct. de 2019
Editada: Sai Bhargav Avula
el 29 de Oct. de 2019
Try
new_dec_table = horzcat(new_att,dec_table)
This would concatenate horizontally as your data has row consistency
0 comentarios
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!