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

回答(3 个)

David Sanchez
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')

A
A 2014-3-7
Thank you for that. Can I see it non-graphically?

A
A 2014-3-7
Also, that is not quite what I wanted. That seems to be simply graphing the surface plots. What I want to see is the 'delta'. For example, I want the graph to show me only unique values for each formula.
When you have three equations, there are certain values which are 'shared' between all three equations. There are certain values which are not 'shared' or are unique values for each of the three equation. I want to see those unique values for each formula in surface form and in a form which simply lists all those unique values?
Thank you and I am sorry for having such a difficult request. I hope there is an answer for this.

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by