What I'd like to happen is that the symbolic variable would be whatever I put in poly{1}. However, the eval() function for poly{2} only works when I declare syms x. If I changed the main variable in the second field, it does not work anymore. How can I fix this?
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.