Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
how to increase the a column matrix of 780 elements in to 780X780 matrix withthe same elements..??
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
i have a column matrix of 780 elements, but i want to increase it in to 780X780 size,but its columns should be the repetition of the first column..
0 comentarios
Respuestas (1)
Azzi Abdelmalek
el 14 de Feb. de 2014
Editada: Azzi Abdelmalek
el 14 de Feb. de 2014
repmat(c1,1,780)
%Example
c1=[1;2;3;4] % Example
out=repmat(c1,1,numel(c1))
1 comentario
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!