what is the meaning of this instruction?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
y = -Inf*ones(size(x))
0 Commenti
Risposta accettata
Azzi Abdelmalek
il 22 Mar 2013
x=[1 2;3 4;5 6]
size(x)
ans =
3 2 % 3 lines and 2 columns
ones(size(x)) % create 3x2 array with 1
ans =
1 1
1 1
1 1
-inf*ones(size(x))
ans =
-Inf -Inf
-Inf -Inf
-Inf -Inf
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Assembly 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!