Can anyone help?
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens

Don't know how to generate the A matrix, can someone help and explain this?
Thank you!
2 commentaires
James Tursa
le 17 Mar 2021
What have you done so far? What specific problems are you having with your code? You might want to look at the .^ operator for this ... it will be easy to generate A in one simple expression.
Réponses (1)
James Tursa
le 17 Mar 2021
Hint: Look at the results of this operation, and I think you can figure it out from there:
x = [2;3;4]; % column vector
y = 0:5; % row vector
x .^ y
0 commentaires
Voir également
Catégories
En savoir plus sur Linear Algebra 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!