How to correctly assign symbolic values to the selected elements of an Array?
syms a b c
x = [a;b];
c([1 2]) = x;
% it returns
c = [ a, b]
I Need
c = [a;b] % should be a column vector, not row vector like above.
c can be for example 11 dimentional column vector. I just want to assign values inx to the selected rows ofc. For ex. lets say 3rd and 7th row ofc must be equal to a and b respectively.
Something like this is needed, here is another ex.