writing matrix and vector in a script
Afficher commentaires plus anciens
Using the given vectors x=[3 2 5] and y=[1 4 8], let a(i,j)= x(i)*y(j)
Réponses (1)
Matt J
le 30 Oct 2021
a=x*y.'
Catégories
En savoir plus sur Resizing and Reshaping Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!