Info
此问题已关闭。 请重新打开它进行编辑或回答。
Complex question: How to find a formula's unique values when plotted with other formulae?
1 次查看(过去 30 天)
显示 更早的评论
Hi everyone,
I'm neither a matlab expert nor a mathematician. I have more than 2 complex surface plots based on equations that resemble z = x + 2y.
Imagine I have three equations like so:
z = x + 2y; z = 2x + 2y; z = 3x + 2y;
Is there a way to find out [x,y,z] values or range of values where each formula deviates from others? I am trying to find out values or range of values which are unique to each formula and not 'had' by other formulas?
Does this make sense? I can clarify further if needed.
All I am trying to do is figure out x and y Values that are unique to each formula.
Thank you
0 个评论
回答(3 个)
David Sanchez
2014-3-7
You can see it graphically with this code:
x=-10:.1:10;
y=-10:.1:10;
[xx yy] = meshgrid(x,y);
z1 = xx + 2.*yy;
z2 = 2.*xx + 2.*yy;
z3 = 3.*xx + 2.*yy;
surf(xx,yy,z1)
hold on
surf(xx,yy,z2)
surf(xx,yy,z3)
hold off
xlabel('xx')
ylabel('yy')
zlabel('Zs')
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!