what is the meaning of this instruction?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
y = -Inf*ones(size(x))
0 commentaires
Réponse acceptée
Azzi Abdelmalek
le 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
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Assembly dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!