Plotting an inequality of two related variable in a linear space
7 次查看(过去 30 天)
显示 更早的评论
I want to plot the inequality with two variables a and b such that a>b. Variables a and b have values between 0 and 1. Inequality I want to plot is - 8*a^6+3*(a^3)(b^2)+sqrt(2*(a^5)(b)+7*(a^2)(b^4))>=a^3/b^2. I want the shaded region where inequality is satisfied. How can I plot this in matlab? I am new to graphing and any sort of help will be really appreciated.
0 个评论
采纳的回答
Torsten
2022-3-27
Try
f = @(a,b)a^3/b^2-(- 8*a^6+3*(a^3)(b^2)+sqrt(2*(a^5)(b)+7*(a^2)(b^4)));
fimplicit(f,[0 1 0 1])
I didn't use it until now, but maybe
is also an option.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!