I am looking for a way to create a vector with variables [x(1) x(2)..] It is important to have them in the format including () since they will be passed to a function after they were multiplied by a vector of numbers.
MATLAB: Create x(1) x(2)… variable vector using sym
functionsymbolicvariable
Best Answer