Effacer les filtres
Effacer les filtres

my H.W question

2 vues (au cours des 30 derniers jours)
mohamed
mohamed le 4 Déc 2013
Commenté : Matt J le 5 Déc 2013
hi please i cant solve this problem
Generate a matrix that each element is a function of its number of row and number of column as follow A (i ,j) = i^3 + j^3 .
  1 commentaire
José-Luis
José-Luis le 4 Déc 2013
  • doc for
  • doc ind2sub

Connectez-vous pour commenter.

Réponse acceptée

Matt J
Matt J le 4 Déc 2013
doc ndgrid
doc bsxfun
  4 commentaires
mohamed
mohamed le 4 Déc 2013
is is a H.W question and so far i i dont understand it
Matt J
Matt J le 5 Déc 2013
Do you understand why the following produces the output that it does? If so, you should think about how modifying it could help you.
>> bsxfun(@plus,[20 30 40 50].',[1 2 3])
ans =
21 22 23
31 32 33
41 42 43
51 52 53

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by