Feeds
已回答
Function which returns the outer product of two vectors
You can use meshgrid and elementwise multiplication a=[8 21 1 9]; b=[11 13 2 7 5]; [aa,bb]=meshgrid(a,b); A=bb.*aa
Function which returns the outer product of two vectors
You can use meshgrid and elementwise multiplication a=[8 21 1 9]; b=[11 13 2 7 5]; [aa,bb]=meshgrid(a,b); A=bb.*aa
4 years 前 | 1
