How to plot contour?
2 次查看(过去 30 天)
显示 更早的评论
Have 3 random variables, but need to plot in two dimensions.
Here is the function.
f=1+2*r1*cos(omega)+2*r2*cos(2*omega).
X axis: r1 [-1,1]
Y axis: r2 [-1,1]
Plot the contour which makes f>=0 for all omegas. In other words, plot the contour which makes the minimum value of f is 0.
Apparently, (-0.5,0), (0.5,0), (0,0.5), (0,-0.5) are four points on the contour.
Thanks in advance.
3 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Contour Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!