Hello,
Is there a way to make this matrice or can you only type every number by yourself
-1 0
-1 0
-1 0
-1 0
-1 0
-1 0
-1 0
-1 0
-1 0
-1 0

 Respuesta aceptada

Ameer Hamza
Ameer Hamza el 14 de Nov. de 2020
Editada: Ameer Hamza el 14 de Nov. de 2020

0 votos

You can use repmat()
x = [1 0]; % or [-1 0]
y = repmat(x, 10, 1)

Más respuestas (0)

Categorías

Etiquetas

Preguntada:

el 14 de Nov. de 2020

Comentada:

el 14 de Nov. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by