Community Profile

photo

Shekoofeh Abdollahi


Last seen: 2 years ago Active since 2022

Statistics

Content Feed

View by

Question


How to multiply one array to all elements of a vector with a different size?
Take a=[1 2; 3 4] and b=[4 5 6] How can I creat a 3D vector, c(:,:,1)=a*b(1) c(:,:,2)=a*b(2) c(:,:,3)=a*b(3) if I don'...

2 years ago | 1 answer | 0

1

answer