Azzera filtri
Azzera filtri

Going from 1 x n to n x n matrix

14 visualizzazioni (ultimi 30 giorni)
Gibliano
Gibliano il 25 Lug 2012
How doe I convert a matrix with 100 elements in a 1x100 matrix to a 100x100 matrix. Each row in the 1xn matrix will have the same values in rows 2, 3, 4, 5 etc to 100

Risposta accettata

Oleg Komarov
Oleg Komarov il 25 Lug 2012
repmat(A,100,1)
where A is your vector.

Più risposte (0)

Categorie

Scopri di più su Resizing and Reshaping Matrices in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by