I have a function -
[x1 x2 x3] = somefunction(y1,y2);
now i want to multiply the [x1 x2 x3] by scalar value z.
[x1 x2 x3] = [x1 x2 x3] .*z;
instead of doing the multiplication individually i want to do the multiplication all at a time.
Is there any way to mulitiplication all at a time.