Solved
I think this does what you want. Note the vectorization of y, and converting x1 to a vector.

Welcome to the PTC Community
No account yet? Create an account
Please use your PTC eSupport account.
LoginEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.

