if I have the following matrix:

` syms x11 x21 x31 x41a = [ 1*x11 2*x21 3*x31 3*x41]b = [ 1*x11 2*x21 3*x41]`

I want to generate a array which is c:

`c = [1*x11 2*x21 0 3*x41]`

is easy to do this however does not touch time with sym then forgot.

Thanks in advance.

## Best Answer