Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Error in changing symbolic variables into numerical variables with double functions in Matlab!
Error in changing symbolic variables into numerical variables with double functions in Matlab!
Changing a symbolic variable into a numerical variable with double function requires that the value of the symbolic variable can be converted, but in your example, X has no assignment. How to convert?

It's okay to use vpa function, but the result should still be X.