Info
此问题已关闭。 请重新打开它进行编辑或回答。
Creating a horizotal region
1 次查看(过去 30 天)
显示 更早的评论
I don't really understand how to create a horizontal region between two functions in a graph.
I did this to get the vertical region can you please help to get the horzontal region
f = @(x) x.^3;
g = @(x) x-x;
fplot(f, [-3, 3]), hold on
fplot(g, [-3, 3], 'LineWidth',2)
x1 = 0;
x3 = 1;
xcoord = linspace(x1, x3, 100);
ycoord = [f(xcoord); g(xcoord)];
plot([xcoord;xcoord], ycoord),
plot(xline(1))
hold off
It would be nice if you could use a function of y instead of x (f(x) x^3 = f(y) y^1/3)
I am trying to get the region bounded by y = and y- 1 and x = y^1/3 and x =1 in type 1 and type 2 region (calculus)
Thanks.
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!