(adsbygoogle = window.adsbygoogle || []).push({}); Matlab: Converting a vector to syms??

Hi Guys,

I have a vector in the following form:

Z = [2 3]

I want it to be displayed as (Z-2)*(Z+3). Is there any function in Matlab to do this? I searched help files and don't see any way of achieving this other than a loop.

Thanks in advance for the help!

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Matlab: Converting a vector to syms?

**Physics Forums | Science Articles, Homework Help, Discussion**