How to integral a composite function in yalmip?

1 view (last 30 days)
sdpvar x1 x2 x3 u1
% syms x1 x2 x3 u1
hello everyone...I have define a integration by yalmip, but there are some error..
If replace by syms, there are still errors.
Could you please help me find the mistakes? THANKS.

Accepted Answer

infinity on 13 Jul 2019
You define z as a function of x1, x2, and u1. But, you apply the integral function to compute the integral of z over the interval [0, y] and told the integral function that the variable of z is also y. It is not correct.
Let image that what you are doing like trying to compute
Tong Liu
Tong Liu on 15 Jul 2019
Get it. Thank you for your kindly help!

Sign in to comment.

More Answers (0)


Find more on Symbolic Math Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!