how to increase the a column matrix of 780 elements in to 780X780 matrix withthe same elements..??
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
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..
Antworten (1)
Azzi Abdelmalek
am 14 Feb. 2014
Bearbeitet: Azzi Abdelmalek
am 14 Feb. 2014
repmat(c1,1,780)
%Example
c1=[1;2;3;4] % Example
out=repmat(c1,1,numel(c1))
1 Kommentar
prajith kc
am 14 Feb. 2014
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!