Function: @sym cell2sym (x)

Convert cell array to symbolic array.

Examples:

cell2sym({'x', 'y'})
  ⇒ ans = (sym) [x  y]  (1×2 matrix)
cell2sym({'x', 2; pi 'y'})
  ⇒ ans = (sym 2×2 matrix)
      ⎡x  2⎤
      ⎢    ⎥
      ⎣π  y⎦

See also: sym, syms.

Package: symbolic