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

 Akzeptierte Antwort

Ameer Hamza
Ameer Hamza am 14 Nov. 2020
Bearbeitet: Ameer Hamza am 14 Nov. 2020

0 Stimmen

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

Weitere Antworten (0)

Kategorien

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by