Newbie: How to plot sum product constrain?
1 view (last 30 days)
Show older comments
v = [0.1; 0.03]
x1 = 0.1
x2 = 0.25
constrain1: ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/354926/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/354926/image.png)
constrain2: ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/354929/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/354929/image.png)
0 Comments
Answers (1)
Ayush Gupta
on 8 Sep 2020
Edited: Ayush Gupta
on 8 Sep 2020
The equation having constraints can be solved with the help of solve function in Symbolic Toolbox in MATLAB. Examples on how the function can be used can be accessed here. After having some sample values for which a plot can be generated, plot function can be leveraged for which the documentation can be accessed here.
0 Comments
See Also
Categories
Find more on Surface and Mesh Plots 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!