how to construct the 10x10 matrix

if I am using the comand of 1:1:10 is giving [1 2 3 4 5 6 7 8 9 10] this is 1x10 matrix but I want 10 rows in the matrix and the values in each rows must be same given above.please help me is there any comand for constructing the 10x10 matrix

 Respuesta aceptada

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh el 26 de Mzo. de 2014
Hi
for this specific case is very easy, for other cases a little adjustment might be needed.
x=meshgrid(1:10);
Good Luck!

1 comentario

asram eluru
asram eluru el 26 de Mzo. de 2014
thank you for your reply this is very helpful for my p.hd work in statistics.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 26 de Mzo. de 2014

Comentada:

el 26 de Mzo. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by