![](https://img.codepudding.com/202009/111739272143371.jpg)
![]( https://img.codepudding.com/202009/111739272143372.jpg )
![]( https://img.codepudding.com/202009/111739272143373.jpg )
![]( https://img.codepudding.com/202009/111739272143374.jpg )
Firstceshi is my function and constraints, secondceshi is the sample function and constraints, and an error on my side: try to access the x (2); Because numel (x)=1, index of scope, and found a don't know where is wrong, in the evening a great god, please help,