MATLAB PARALLEL COMPUTING TOOLBOX - S Guide de l'utilisateur Page 357

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 656
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 356
bsxfun
11-13
size(R)
2 5 4 3
R1 = rand(2,2,0,4,'gpuArray');
R2 = rand(2,1,1,4,'gpuArray');
R = bsxfun(@plus,R1,R2);
size(R)
2 2 0 4
Examples
Subtract the mean of each column from all elements in that column:
A = rand(8,'gpuArray');
M = bsxfun(@minus,A,mean(A));
See Also
arrayfun | gather | gpuArray | pagefun
Vue de la page 356
1 2 ... 352 353 354 355 356 357 358 359 360 361 362 ... 655 656

Commentaires sur ces manuels

Pas de commentaire