I did not find a solution in google, but I did it !!! What do you think ? Are there any others solutions for the spaces between columns in arrays ?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
César Hernández
el 5 de Mzo. de 2018
Respondida: César Hernández
el 5 de Mzo. de 2018
n=size(A); % size(A)=70 60
B=[];
C=reshape(blanks(n(1)*10),n(1),10);
d=[5 35 24 19 7];
for i=d
B=horzcat(B,num2str(A(:,i)),num2str(C));
end
disp(B)
6 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Matrix Indexing 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!