writing matrix and vector in a script
Show older comments
Using the given vectors x=[3 2 5] and y=[1 4 8], let a(i,j)= x(i)*y(j)
Answers (1)
Matt J
on 30 Oct 2021
a=x*y.'
Categories
Find more on NaNs in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!