Azzera filtri
Azzera filtri

i want to initialize a matrix of 3x3 to value -1 how this colud be done?

4 visualizzazioni (ultimi 30 giorni)
M=zeros(3,3); intialize M with zeros of 3x3 but what to do if i want to initialize it with -1
i.e
-1 -1 -1
-1 -1 -1
-1 -1 -1
can anybody help me

Risposta accettata

Yao Li
Yao Li il 11 Apr 2013

Più risposte (0)

Categorie

Scopri di più su Linear Algebra in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by